CVE-2023-54130
Unknown Unknown - Not Provided
Improper Error Handling and Memory Leak in Linux HFSplus Kernel Module

Publication date: 2025-12-24

Last updated on: 2025-12-24

Assigner: kernel.org

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).
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-24
Last Modified
2025-12-24
Generated
2026-05-07
AI Q&A
2025-12-24
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability involves the Linux kernel's hfs/hfsplus filesystem code where a sanity check was implemented using WARN_ON(), which caused warnings when encountering corrupted hfs images. Instead of just warning, the fix changes the code to properly handle the error by returning an error code (-EIO) and stops performing the bad operations. Additionally, a memory leak introduced by a previous fix was corrected, and a previously unhandled case was added to the checks.


How can this vulnerability impact me? :

The vulnerability could cause the Linux kernel to emit warnings and potentially perform improper operations when handling corrupted hfs filesystem images, which might lead to instability or unexpected behavior. The fix improves error handling and prevents memory leaks, thereby enhancing system stability and reliability when dealing with corrupted hfs images.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart