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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.27% (percentile 11, 2026-11-26)
- **Published:** 2026-01-13T15:28:46.382Z
- **Modified:** 2026-06-17T09:59:33.223Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6f768724aabd5b321c5b8f15acdca11e4781cf32; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d92333c7a35856e419500e7eed72dac1afa404a5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 001f44982587ad462b3002ee40c75e8df67d597d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 05ec9af3cc430683c97f76027e1c55ac6fd25c59; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< edfb2e602b5ba5ca6bf31cbac20b366efb72b156; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 91f114bffa36ce56d0e1f60a0a44fc09baaefc79; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 005d4b0d33f6b4a23d382b7930f7a96b95b01f39
- Anyone running 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.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6f768724aabd5b321c5b8f15acdca11e4781cf32; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d92333c7a35856e419500e7eed72dac1afa404a5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 001f44982587ad462b3002ee40c75e8df67d597d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 05ec9af3cc430683c97f76027e1c55ac6fd25c59; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< edfb2e602b5ba5ca6bf31cbac20b366efb72b156; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 91f114bffa36ce56d0e1f60a0a44fc09baaefc79; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 005d4b0d33f6b4a23d382b7930f7a96b95b01f39 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- Upgrade Linux to 005d4b0d33f6b4a23d382b7930f7a96b95b01f39 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68767. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68767.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6f768724aabd5b321c5b8f15acdca11e4781cf32; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d92333c7a35856e419500e7eed72dac1afa404a5; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 001f44982587ad462b3002ee40c75e8df67d597d; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 6f768724aabd5b321c5b8f15acdca11e4781cf32, Linux 001f44982587ad462b3002ee40c75e8df67d597d, Linux 05ec9af3cc430683c97f76027e1c55ac6fd25c59, Linux 91f114bffa36ce56d0e1f60a0a44fc09baaefc79, Linux 005d4b0d33f6b4a23d382b7930f7a96b95b01f39

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68767 being exploited?

There is no confirmed exploitation: CVE-2025-68767 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68767?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68767?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6f768724aabd5b321c5b8f15acdca11e4781cf32; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d92333c7a35856e419500e7eed72dac1afa404a5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 001f44982587ad462b3002ee40c75e8df67d597d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 05ec9af3cc430683c97f76027e1c55ac6fd25c59; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< edfb2e602b5ba5ca6bf31cbac20b366efb72b156; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 91f114bffa36ce56d0e1f60a0a44fc09baaefc79; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 005d4b0d33f6b4a23d382b7930f7a96b95b01f39; Linux 2.6.12.

### Is there a fix for CVE-2025-68767?

Yes. Fixed in Linux 6f768724aabd5b321c5b8f15acdca11e4781cf32, Linux 001f44982587ad462b3002ee40c75e8df67d597d, Linux 05ec9af3cc430683c97f76027e1c55ac6fd25c59, Linux 91f114bffa36ce56d0e1f60a0a44fc09baaefc79, Linux 005d4b0d33f6b4a23d382b7930f7a96b95b01f39. Upgrade Linux to 005d4b0d33f6b4a23d382b7930f7a96b95b01f39 or later.

### How do I check if I'm affected by CVE-2025-68767?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/6f768724aabd5b321c5b8f15acdca11e4781cf32>
- other: <https://git.kernel.org/stable/c/d92333c7a35856e419500e7eed72dac1afa404a5>
- other: <https://git.kernel.org/stable/c/001f44982587ad462b3002ee40c75e8df67d597d>
- other: <https://git.kernel.org/stable/c/05ec9af3cc430683c97f76027e1c55ac6fd25c59>
- other: <https://git.kernel.org/stable/c/edfb2e602b5ba5ca6bf31cbac20b366efb72b156>
- other: <https://git.kernel.org/stable/c/91f114bffa36ce56d0e1f60a0a44fc09baaefc79>
- other: <https://git.kernel.org/stable/c/005d4b0d33f6b4a23d382b7930f7a96b95b01f39>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68767>

HTML: <https://flawdb.com/CVE-2025-68767> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68767>
