CVE-2025-38712

hfsplus: don't use BUG_ON() in hfsplus_create_attributes_file()

MEDIUM
5.5
CVSS Score
Published: September 4, 2025 at 03:33 PM UTC
Updated: October 19, 2026 at 09:10 PM UTC
3 products affected across 3 vendorsLinux KernelDebian LinuxSIMATIC CN 4100

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: hfsplus: don't use BUG_ON() in hfsplus_create_attributes_file() When the volume header contains erroneous values that do not reflect the actual state of the filesystem, hfsplus_fill_super() assumes that the attributes file is not yet created, which later results in hitting BUG_ON() when hfsplus_create_attributes_file() is called. Replace this BUG_ON() with -EIO error with a message to suggest running fsck tool.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.13 ≤ v < 5.4.2975.11 ≤ v < 5.15.1905.16 ≤ v < 6.1.1495.5 ≤ v < 5.10.2416.13 ≤ v < 6.15.116.16 ≤ v < 6.16.26.2 ≤ v < 6.6.1036.7 ≤ v < 6.12.433.1395e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd
Vendor states this is fixed in 03cd1db1494cf930e2fa042c9c13e32bffdb4eba (fixed)
Vendor states this is fixed in 1bb8da27ff15e346d4bc9e248e819c9a88ebf9d6 (fixed)
Vendor states this is fixed in 9046566fa692f88954dac8c510f37ee17a15fdb7 (fixed)
Vendor states this is fixed in b3359392b75395a31af739a761f48f4041148226 (fixed)
Vendor states this is fixed in bb0eea8e375677f586ad11c12e2525ed3fc698c2 (fixed)
Vendor states this is fixed in c7c6363ca186747ebc2df10c8a1a51e66e0e32d9 (fixed)
Vendor states this is fixed in ce5e387f396cbb5c061d9837abcac731e9e06f4d (fixed)
Vendor states this is fixed in d768e3ed430e89a699bf89d3214dcbbf4648c939 (fixed)
Vendor states this is fixed in dee5c668ad71ddbcb4b48d95e8a4f371314ad41d (fixed)
Vendor states this is fixed in 3.13 (unaffected)
Vendor states this is fixed in 5.10.241 (unaffected)
Vendor states this is fixed in 5.15.190 (unaffected)
Vendor states this is fixed in 5.4.297 (unaffected)
Vendor states this is fixed in 6.1.149 (unaffected)
Vendor states this is fixed in 6.12.43 (unaffected)
Vendor states this is fixed in 6.15.11 (unaffected)
Vendor states this is fixed in 6.16.2 (unaffected)
Vendor states this is fixed in 6.17 (unaffected)
Vendor states this is fixed in 6.6.103 (unaffected)
v < V5.0
Affected range stops below V5.0, so it looks safe — our inference, not a vendor statement

References (12)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/03cd1db1494cf930e2fa042c9c13e32bffdb4eba
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1bb8da27ff15e346d4bc9e248e819c9a88ebf9d6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9046566fa692f88954dac8c510f37ee17a15fdb7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b3359392b75395a31af739a761f48f4041148226
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bb0eea8e375677f586ad11c12e2525ed3fc698c2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c7c6363ca186747ebc2df10c8a1a51e66e0e32d9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ce5e387f396cbb5c061d9837abcac731e9e06f4d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d768e3ed430e89a699bf89d3214dcbbf4648c939

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-617

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card