CVE-2021-47353

udf: Fix NULL pointer dereference in udf_symlink function

State
Published
Severity
Not scored
Published
May 21, 2024
Updated
May 11, 2026
Reserved
May 21, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 2f3d9ddd32a28803baa547e6274983b67d5e287cAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 371566f63cbd0bb6fbb25b8fe9d5798268d35af9Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before baea588a42d675e35daeaddd10fbc9700550bc4dAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 3638705ecd5ad2785e996f820121c0ad15ce64b5Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 80d505aee6398cf8beb72475c7edcf1733c1c68bAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 21bf1414580c36ffc8d8de043beb3508cf812238Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before aebed6b19e51a34003d998da5ebb1dfdd2cb1d02Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 5150877e4d99f85057a458daac7cd7c01005d5c6Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before fa236c2b2d4436d9f19ee4e5d5924e90ffd7bb43Affected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 4.4.276 through 4.4.*Not affected
  • 4.9.276 through 4.9.*Not affected
  • 4.14.240 through 4.14.*Not affected
  • 4.19.198 through 4.19.*Not affected
  • 5.4.133 through 5.4.*Not affected
  • 5.10.51 through 5.10.*Not affected
  • 5.12.18 through 5.12.*Not affected
  • 5.13.3 through 5.13.*Not affected
  • 5.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.