CVE-2025-38712

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

State
Published
Severity
Not scored
Published
Sep 4, 2025
Updated
May 12, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd to before bb0eea8e375677f586ad11c12e2525ed3fc698c2Affected
  • 95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd to before 9046566fa692f88954dac8c510f37ee17a15fdb7Affected
  • 95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd to before 03cd1db1494cf930e2fa042c9c13e32bffdb4ebaAffected
  • 95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd to before dee5c668ad71ddbcb4b48d95e8a4f371314ad41dAffected
  • 95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd to before b3359392b75395a31af739a761f48f4041148226Affected
  • 95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd to before 1bb8da27ff15e346d4bc9e248e819c9a88ebf9d6Affected
  • 95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd to before d768e3ed430e89a699bf89d3214dcbbf4648c939Affected
  • 95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd to before ce5e387f396cbb5c061d9837abcac731e9e06f4dAffected
  • 95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd to before c7c6363ca186747ebc2df10c8a1a51e66e0e32d9Affected
LinuxLinux
  • 3.13Affected
  • before 3.13Not affected
  • 5.4.297 through 5.4.*Not affected
  • 5.10.241 through 5.10.*Not affected
  • 5.15.190 through 5.15.*Not affected
  • 6.1.149 through 6.1.*Not affected
  • 6.6.103 through 6.6.*Not affected
  • 6.12.43 through 6.12.*Not affected
  • 6.15.11 through 6.15.*Not affected
  • 6.16.2 through 6.16.*Not affected
  • 6.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.