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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-05-21T14:35:57.122Z

Updated: 2024-08-04T05:32:08.447Z

Reserved: 2024-05-21T14:28:16.986Z

Link: CVE-2021-47353

cve-icon Vulnrichment

Updated: 2024-05-23T19:03:32.344Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-05-21T15:15:21.693

Modified: 2024-05-21T16:54:26.047

Link: CVE-2021-47353

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-05-21T00:00:00Z

Links: CVE-2021-47353 - Bugzilla