← Database

CVE-2021-47353

MEDIUM CVSS: 5.5 Published: 2024-05-21 Modified: 2026-06-17

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 Platforms

Linux Linux Kernel

Weakness Type

CWE-476

References