CVE-2023-54130 Details
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).
A vulnerability in the Linux kernel's handling of HFS and HFS+ filesystems has been addressed. The issue arose from a previous commit that introduced a warning mechanism for sanity checks. This change inadvertently created a build warning that could be triggered by a corrupted HFS image, leading to a memory leak and improper error handling. The vulnerability is present in the Linux kernel stable tree.
Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 24, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/45917be9f0af339a45b4619f31c902d37b8aed59 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/82725be426bce0a425cc5e26fbad61ffd29cff03 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/90e019006644dad35862cb4aa270f561b0732066 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/be01f35efa876eb81cebab2cb0add068b7280ef4 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/cb7a95af78d29442b8294683eca4897544b8ef46 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/cc2164ada548addfa8ee215196661c3afe0c5154 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/da23752d9660ba7a8ca6c5768fd8776f67f59ee7 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/f10defb0be6ac42fb6a97b45920d32da6bd6fde8 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 24, 2025 | New CVE Received | kernel.org |
Volerion