CVE-2023-54130 - CVE House
Back to Database
Status published Unknown CVE-2023-54130

hfs/hfsplus: avoid WARN_ON() for sanity check, use proper error handling

Vulnerability Description

In the Linux kernel, the following vulnerability has been resolved: hfs/hfsplus: avoid WARN_ON() for sanity check, use proper error handling Commit 55d1cbbbb29e ("hfs/hfsplus: use WARN_ON for sanity check") fixed a build warning by turning a comment into a WARN_ON(), but it turns out that syzbot then complains because it can trigger said warning with a corrupted hfs image. The warning actually does warn about a bad situation, but we are much better off just handling it as the error it is. So rather than warn about us doing bad things, stop doing the bad things and return -EIO. While at it, also fix a memory leak that was introduced by an earlier fix for a similar syzbot warning situation, and add a check for one case that historically wasn't handled at all (ie neither comment nor subsequent WARN_ON).

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2023-54130

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

Linux
Vulnerable Versions:
c886c10a6eddb99923b315f42bf63f448883ef9a, 2344f17c0a89c181ab1a9fef57fd8c3bddfd6e30, 90103ccb6e60aa4efe48993d23d6a528472f2233, 4fd3a11804c8877ff11fec59c5c53f1635331e3e, 48d9e2e6de01ed35e965eb549758a837c07b601d, 55d1cbbbb29e6656c662ee8f73ba1fc4777532eb, 8c40f2dbae603ef0bd21e87c63f54ec59fd88256, 367296925c7625c3969d2a78d7a3e1dee161beb5, 4.9.337, 5.16, 0, 6.0.19, 6.1.5, 6.2

Timeline

Official Publish: December 24th, 2025
Last Modified: May 27th, 2026
Added to House: July 22nd, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.