CVE-2021-47353

published 21 May 2024 · updated 11 May 2026

udf: Fix NULL pointer dereference in udf_symlink function

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 21bf1414580c36ffc8d8de043beb3508cf812238, Kernel 2f3d9ddd32a28803baa547e6274983b67d5e287c, Kernel 3638705ecd5ad2785e996f820121c0ad15ce64b5 and 6 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.12, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <21bf1414580c36ffc8d8de043beb3508cf812238, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2f3d9ddd32a28803baa547e6274983b67d5e287c, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <3638705ecd5ad2785e996f820121c0ad15ce64b5, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <371566f63cbd0bb6fbb25b8fe9d5798268d35af9, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <5150877e4d99f85057a458daac7cd7c01005d5c6, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <80d505aee6398cf8beb72475c7edcf1733c1c68b, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <aebed6b19e51a34003d998da5ebb1dfdd2cb1d02, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <baea588a42d675e35daeaddd10fbc9700550bc4d, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <fa236c2b2d4436d9f19ee4e5d5924e90ffd7bb4321bf1414580c36ffc8d8de043beb3508cf812238, 2f3d9ddd32a28803baa547e6274983b67d5e287c, 3638705ecd5ad2785e996f820121c0ad15ce64b5, 371566f63cbd0bb6fbb25b8fe9d5798268d35af9, 5150877e4d99f85057a458daac7cd7c01005d5c6, 80d505aee6398cf8beb72475c7edcf1733c1c68b, aebed6b19e51a34003d998da5ebb1dfdd2cb1d02, baea588a42d675e35daeaddd10fbc9700550bc4d, fa236c2b2d4436d9f19ee4e5d5924e90ffd7bb43

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47353 severity on Zeptric[![CVE-2021-47353](https://zeptric.io/badge/cve/CVE-2021-47353.svg)](https://zeptric.io/cve/CVE-2021-47353)