# CVE-2021-47353: udf: Fix NULL pointer dereference in udf\_symlink function

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-21 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2021-47353, DEBIAN-CVE-2021-47353
- Record: https://cvemate.com/vulnerability/CVE-2021-47353 · JSON: https://cvemate.com/vulnerability/CVE-2021-47353/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.309%, percentile 25.579%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 91)

- debian linux (Debian): \< 5.14.6-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 4.4.0-269.303 \| \< 4.15.0-156.163 \| \< 5.4.0-84.94
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1144.150 \| \< 4.4.0-1182.197 \| \< 4.15.0-1111.118 \| \< 5.4.0-1056.59
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1056.59~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2053.55 \| All versions (No fix recorded) \| \< 5.4.0-1069.73+fips2
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1111.118~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1123.136~14.04.1 \| \< 4.15.0-1123.136~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1058.60
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1123.136
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/2f3d9ddd32a28803baa547e6274983b67d5e287c>
- <https://git.kernel.org/stable/c/371566f63cbd0bb6fbb25b8fe9d5798268d35af9>
- <https://git.kernel.org/stable/c/baea588a42d675e35daeaddd10fbc9700550bc4d>
- <https://git.kernel.org/stable/c/3638705ecd5ad2785e996f820121c0ad15ce64b5>
- <https://git.kernel.org/stable/c/80d505aee6398cf8beb72475c7edcf1733c1c68b>
- <https://git.kernel.org/stable/c/21bf1414580c36ffc8d8de043beb3508cf812238>
- <https://git.kernel.org/stable/c/aebed6b19e51a34003d998da5ebb1dfdd2cb1d02>
- <https://git.kernel.org/stable/c/5150877e4d99f85057a458daac7cd7c01005d5c6>
- <https://git.kernel.org/stable/c/fa236c2b2d4436d9f19ee4e5d5924e90ffd7bb43>
- <https://ubuntu.com/security/CVE-2021-47353>
- <https://www.cve.org/CVERecord?id=CVE-2021-47353>
- <https://git.kernel.org/linus/fa236c2b2d4436d9f19ee4e5d5924e90ffd7bb43>
- <https://ubuntu.com/security/notices/USN-7554-1>
- <https://ubuntu.com/security/notices/USN-7554-2>
- <https://ubuntu.com/security/notices/USN-7554-3>
- <https://security-tracker.debian.org/tracker/CVE-2021-47353>

---

Data as of 2026-12-05T07:20:56.365Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
