CVE-2025-38712

published 4 Sep 2025 · updated 12 May 2026

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

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 03cd1db1494cf930e2fa042c9c13e32bffdb4eba, Kernel 1bb8da27ff15e346d4bc9e248e819c9a88ebf9d6, Kernel 9046566fa692f88954dac8c510f37ee17a15fdb7 and 6 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.13, >=95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd <03cd1db1494cf930e2fa042c9c13e32bffdb4eba, >=95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd <1bb8da27ff15e346d4bc9e248e819c9a88ebf9d6, >=95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd <9046566fa692f88954dac8c510f37ee17a15fdb7, >=95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd <b3359392b75395a31af739a761f48f4041148226, >=95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd <bb0eea8e375677f586ad11c12e2525ed3fc698c2, >=95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd <c7c6363ca186747ebc2df10c8a1a51e66e0e32d9, >=95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd <ce5e387f396cbb5c061d9837abcac731e9e06f4d, >=95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd <d768e3ed430e89a699bf89d3214dcbbf4648c939, >=95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd <dee5c668ad71ddbcb4b48d95e8a4f371314ad41d03cd1db1494cf930e2fa042c9c13e32bffdb4eba, 1bb8da27ff15e346d4bc9e248e819c9a88ebf9d6, 9046566fa692f88954dac8c510f37ee17a15fdb7, b3359392b75395a31af739a761f48f4041148226, bb0eea8e375677f586ad11c12e2525ed3fc698c2, c7c6363ca186747ebc2df10c8a1a51e66e0e32d9, ce5e387f396cbb5c061d9837abcac731e9e06f4d, d768e3ed430e89a699bf89d3214dcbbf4648c939, dee5c668ad71ddbcb4b48d95e8a4f371314ad41d

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38712 severity on Zeptric[![CVE-2025-38712](https://zeptric.io/badge/cve/CVE-2025-38712.svg)](https://zeptric.io/cve/CVE-2025-38712)