Vulnerability · Published May 21, 2024 · Assigned by Linux

CVE-2021-47353udf: Fix NULL pointer dereference in udf_symlink function

Medium 5.5

In plain English

A medium-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.3%top 76.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

In the Linux kernel, the following vulnerability has been resolved: udf: Fix NULL pointer dereference in udf_symlink function In function udf_symlink, epos.bh is assigned with the value returned by udf_tgetblk. The function udf_tgetblk is defined in udf/misc.c and returns the value of sb_getblk function that could be NULL. Then, epos.bh is used without any check, causing a possible NULL pointer dereference when sb_getblk fails. This fix adds a check to validate the value of epos.bh.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8bpftool4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-abi-stablelists4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-core4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-cross-headers4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-debug4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-debug-core4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-debug-devel4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-debug-modules4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-debug-modules-extra4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-devel4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-doc4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-headers4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-modules4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-modules-extra4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-rt4.18.0-553.8.1.rt7.349.el8_10ALSA-2024:4352
AlmaLinux:8kernel-rt-core4.18.0-553.8.1.rt7.349.el8_10ALSA-2024:4352
AlmaLinux:8kernel-rt-debug4.18.0-553.8.1.rt7.349.el8_10ALSA-2024:4352
AlmaLinux:8kernel-rt-debug-core4.18.0-553.8.1.rt7.349.el8_10ALSA-2024:4352
AlmaLinux:8kernel-rt-debug-devel4.18.0-553.8.1.rt7.349.el8_10ALSA-2024:4352
AlmaLinux:8kernel-rt-debug-kvm4.18.0-553.8.1.rt7.349.el8_10ALSA-2024:4352
AlmaLinux:8kernel-rt-debug-modules4.18.0-553.8.1.rt7.349.el8_10ALSA-2024:4352
AlmaLinux:8kernel-rt-debug-modules-extra4.18.0-553.8.1.rt7.349.el8_10ALSA-2024:4352
AlmaLinux:8kernel-rt-devel4.18.0-553.8.1.rt7.349.el8_10ALSA-2024:4352
AlmaLinux:8kernel-rt-kvm4.18.0-553.8.1.rt7.349.el8_10ALSA-2024:4352
AlmaLinux:8kernel-rt-modules4.18.0-553.8.1.rt7.349.el8_10ALSA-2024:4352
AlmaLinux:8kernel-rt-modules-extra4.18.0-553.8.1.rt7.349.el8_10ALSA-2024:4352
AlmaLinux:8kernel-tools4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-tools-libs4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-tools-libs-devel4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-zfcpdump4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-zfcpdump-core4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-zfcpdump-devel4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-zfcpdump-modules4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8kernel-zfcpdump-modules-extra4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8perf4.18.0-553.8.1.el8_10ALSA-2024:4211
AlmaLinux:8python3-perf4.18.0-553.8.1.el8_10ALSA-2024:4211
Debian:12linux5.14.6-1DEBIAN-CVE-2021-47353
Debian:13linux5.14.6-1DEBIAN-CVE-2021-47353
Debian:14linux5.14.6-1DEBIAN-CVE-2021-47353
Rocky Linux:8kernel0:4.18.0-553.8.1.el8_10RLSA-2024:4211
Rocky Linux:8kernel-rt0:4.18.0-553.8.1.rt7.349.el8_10RLSA-2024:4352
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2021-47353
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2021-47353
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2021-47353
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2021-47353
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2021-47353
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2021-47353
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2021-47353
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2021-47353
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2021-47353
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2021-47353
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2021-47353
Ubuntu:22.04:LTSlinux-intel-iot-realtimeno fix listedUBUNTU-CVE-2021-47353
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2021-47353
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2021-47353
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2021-47353
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2021-47353
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2021-47353
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2021-47353
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2021-47353
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2021-47353
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2021-47353
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2021-47353
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2021-47353
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2021-47353

Affected products (as reported)

VendorProductVersions
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before 2f3d9ddd32a28803baa547e6274983b67d5e287c1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before 371566f63cbd0bb6fbb25b8fe9d5798268d35af91da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before baea588a42d675e35daeaddd10fbc9700550bc4d1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before 3638705ecd5ad2785e996f820121c0ad15ce64b51da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before 80d505aee6398cf8beb72475c7edcf1733c1c68b1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before 21bf1414580c36ffc8d8de043beb3508cf8122381da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before aebed6b19e51a34003d998da5ebb1dfdd2cb1d021da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before 5150877e4d99f85057a458daac7cd7c01005d5c6
Linux Linux 2.6.12

References