CVE-2023-54130 json
hfs/hfsplus: avoid WARN_ON() for sanity check, use proper error handling
published 2025-12-24 10 mo ago modified 2026-08-05 3 mo ago also EUVD-2023-60315
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 5%
- public exploits
- 0
- none known
Summary
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).
Patch / fix
- Linux Linux 4.10, 6.0.19, 6.1.5, 6.2
- linux Debian 14, Debian 13, Debian 12 6.1.7-1
debian advisories DEBIAN-CVE-2023-54130
- kernel-64kb SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS, SLE High Performance Computing 15 SP4-ESPOS 5.14.21-150400.24.194.1
- kernel-syms SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +1 more 5.14.21-150400.24.194.1
- kernel-source SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +1 more 5.14.21-150400.24.194.1
- kernel-default SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +5 more 5.14.21-150400.24.194.1
- kernel-obs-build SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +1 more 5.14.21-150400.24.194.1
- kernel-default-base SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +3 more 5.14.21-150400.24.194.1.150400.24.98.3
- kernel-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.142.1
- kernel-source-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.142.1
suse advisories SUSE-SU-2026:0617-1SUSE-SU-2026:0411-1SUSE-SU-2026:0317-1SUSE-SU-2026:0316-1SUSE-SU-2026:0263-1
- git.kernel.org/stable/c/cc2164ada548addfa8ee215196661c3afe0c5154 commit
- git.kernel.org/stable/c/82725be426bce0a425cc5e26fbad61ffd29cff03 commit
- git.kernel.org/stable/c/da23752d9660ba7a8ca6c5768fd8776f67f59ee7 commit
- git.kernel.org/stable/c/be01f35efa876eb81cebab2cb0add068b7280ef4 commit
- git.kernel.org/stable/c/f10defb0be6ac42fb6a97b45920d32da6bd6fde8 commit
- git.kernel.org/stable/c/90e019006644dad35862cb4aa270f561b0732066 commit
- git.kernel.org/stable/c/45917be9f0af339a45b4619f31c902d37b8aed59 commit
- git.kernel.org/stable/c/cb7a95af78d29442b8294683eca4897544b8ef46 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-54130 updated cvss 7.8
kernel: Linux kernel: HFS/HFS+ filesystem vulnerability leading to denial of service and information disclosure.
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 5% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/cc2164ada548addfa8ee215196661c3afe0c5154
- git.kernel.org /stable/c/82725be426bce0a425cc5e26fbad61ffd29cff03
- git.kernel.org /stable/c/da23752d9660ba7a8ca6c5768fd8776f67f59ee7
- git.kernel.org /stable/c/be01f35efa876eb81cebab2cb0add068b7280ef4
- git.kernel.org /stable/c/f10defb0be6ac42fb6a97b45920d32da6bd6fde8
- git.kernel.org /stable/c/90e019006644dad35862cb4aa270f561b0732066
- git.kernel.org /stable/c/45917be9f0af339a45b4619f31c902d37b8aed59
- git.kernel.org /stable/c/cb7a95af78d29442b8294683eca4897544b8ef46
Sources
- CVE List CVE-2023-54130
- NVD CVE-2023-54130
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.