CVE-2021-47353

udf: Fix NULL pointer dereference in udf_symlink function

No CVSS score yet EPSS 0.31%

Published 21 May 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2021-47353

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-47353 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.31%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 25.6% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 23 May 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 2f3d9ddd32a28803baa547e6274983b67d5e287c
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 371566f63cbd0bb6fbb25b8fe9d5798268d35af9
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before baea588a42d675e35daeaddd10fbc9700550bc4d
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 3638705ecd5ad2785e996f820121c0ad15ce64b5
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 80d505aee6398cf8beb72475c7edcf1733c1c68b
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 21bf1414580c36ffc8d8de043beb3508cf812238
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before aebed6b19e51a34003d998da5ebb1dfdd2cb1d02
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 5150877e4d99f85057a458daac7cd7c01005d5c6
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before fa236c2b2d4436d9f19ee4e5d5924e90ffd7bb43
Other versions: unaffected
Linux
affected 2.6.12
unaffected before 2.6.12
unaffected from 4.4.276 up to and including 4.4.*
unaffected from 4.9.276 up to and including 4.9.*
unaffected from 4.14.240 up to and including 4.14.*
unaffected from 4.19.198 up to and including 4.19.*
unaffected from 5.4.133 up to and including 5.4.*
unaffected from 5.10.51 up to and including 5.10.*
unaffected from 5.12.18 up to and including 5.12.*
unaffected from 5.13.3 up to and including 5.13.*
unaffected 5.14 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2021-47353 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47353

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2021-47353
trivy image --scanners vuln IMAGE | grep CVE-2021-47353

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2021-47353 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.