CVEvulnerability
CVE-2021-47353
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-05-21
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
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 configurations
• linux linux kernel (< 4.4.276)
• linux linux kernel (>= 4.5 < 4.9.276)
• linux linux kernel (>= 4.10 < 4.14.240)
• linux linux kernel (>= 4.15 < 4.19.198)
• linux linux kernel (>= 4.20 < 5.4.133)
• linux linux kernel (>= 5.5 < 5.10.51)
• linux linux kernel (>= 5.11 < 5.12.18)
• linux linux kernel (>= 5.13 < 5.13.3)
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/21bf1414580c36ffc8d8de043beb3508cf812238 Patch
- https://git.kernel.org/stable/c/2f3d9ddd32a28803baa547e6274983b67d5e287c Patch
- https://git.kernel.org/stable/c/3638705ecd5ad2785e996f820121c0ad15ce64b5 Patch
- https://git.kernel.org/stable/c/371566f63cbd0bb6fbb25b8fe9d5798268d35af9 Patch
- https://git.kernel.org/stable/c/5150877e4d99f85057a458daac7cd7c01005d5c6 Patch
- https://git.kernel.org/stable/c/80d505aee6398cf8beb72475c7edcf1733c1c68b Patch
- https://git.kernel.org/stable/c/aebed6b19e51a34003d998da5ebb1dfdd2cb1d02 Patch
- https://git.kernel.org/stable/c/baea588a42d675e35daeaddd10fbc9700550bc4d Patch
- https://git.kernel.org/stable/c/fa236c2b2d4436d9f19ee4e5d5924e90ffd7bb43 Patch
- https://git.kernel.org/stable/c/21bf1414580c36ffc8d8de043beb3508cf812238 Patch
- https://git.kernel.org/stable/c/2f3d9ddd32a28803baa547e6274983b67d5e287c Patch
- https://git.kernel.org/stable/c/3638705ecd5ad2785e996f820121c0ad15ce64b5 Patch
- https://git.kernel.org/stable/c/371566f63cbd0bb6fbb25b8fe9d5798268d35af9 Patch
- https://git.kernel.org/stable/c/5150877e4d99f85057a458daac7cd7c01005d5c6 Patch
- https://git.kernel.org/stable/c/80d505aee6398cf8beb72475c7edcf1733c1c68b Patch
- https://git.kernel.org/stable/c/aebed6b19e51a34003d998da5ebb1dfdd2cb1d02 Patch
- https://git.kernel.org/stable/c/baea588a42d675e35daeaddd10fbc9700550bc4d Patch
- https://git.kernel.org/stable/c/fa236c2b2d4436d9f19ee4e5d5924e90ffd7bb43 Patch