CVE-2023-54130

CVE-2023-54130

High · published December 24, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
5.5
In the wild
Unconfirmed
What it is

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).

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00166 · 5.5th percentile
Published
2025-12-24T18:16Z
References (8)
EPSS history
Timeline
  • 24 DEC 13:06Z
    hfs/hfsplus: avoid WARN_ON() for sanity check, use proper error handling
    cvelistv5