CVE-2025-68767

published 13 Jan 2026 · updated 11 May 2026

hfsplus: Verify inode mode when loading from disk

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 001f44982587ad462b3002ee40c75e8df67d597d, Kernel 005d4b0d33f6b4a23d382b7930f7a96b95b01f39, Kernel 05ec9af3cc430683c97f76027e1c55ac6fd25c59 and 4 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.12, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <001f44982587ad462b3002ee40c75e8df67d597d, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <005d4b0d33f6b4a23d382b7930f7a96b95b01f39, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <05ec9af3cc430683c97f76027e1c55ac6fd25c59, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <6f768724aabd5b321c5b8f15acdca11e4781cf32, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <91f114bffa36ce56d0e1f60a0a44fc09baaefc79, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d92333c7a35856e419500e7eed72dac1afa404a5, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <edfb2e602b5ba5ca6bf31cbac20b366efb72b156001f44982587ad462b3002ee40c75e8df67d597d, 005d4b0d33f6b4a23d382b7930f7a96b95b01f39, 05ec9af3cc430683c97f76027e1c55ac6fd25c59, 6f768724aabd5b321c5b8f15acdca11e4781cf32, 91f114bffa36ce56d0e1f60a0a44fc09baaefc79, d92333c7a35856e419500e7eed72dac1afa404a5, edfb2e602b5ba5ca6bf31cbac20b366efb72b156

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-68767 severity on Zeptric[![CVE-2025-68767](https://zeptric.io/badge/cve/CVE-2025-68767.svg)](https://zeptric.io/cve/CVE-2025-68767)