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

Published Dec 24, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

Commit 55d1cbbbb29e ("hfs/hfsplus: use WARNON for sanity check") fixed a build warning by turning a comment into a WARNON(), 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 WARNON).

Affected Software

1 affected component
linux_kernel

Event History

Dec 24, 2025
CVE Published
via MITRE·01:06 PM
Data Sourced
via MITRE·01:06 PM
DescriptionSeverity
Data Sourced
via NVD·01:16 PM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-54130?

CVE-2023-54130 has a moderate severity level based on its potential impact in the Linux kernel.

2

How do I fix CVE-2023-54130?

To address CVE-2023-54130, ensure you update to the latest patched version of the Linux kernel.

3

What systems are affected by CVE-2023-54130?

CVE-2023-54130 affects various versions of the Linux kernel that utilize the hfs/hfsplus file systems.

4

What is the nature of the flaw in CVE-2023-54130?

The flaw in CVE-2023-54130 involves a misuse of the WARN_ON() function, which could lead to improper error handling.

5

Is CVE-2023-54130 a remote code execution vulnerability?

No, CVE-2023-54130 is not classified as a remote code execution vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203