CVE-2025-68767

hfsplus: Verify inode mode when loading from disk

No CVSS score yet EPSS 0.21%

Published 13 Jan 2026 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2025-68767

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-68767 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.2% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 6f768724aabd5b321c5b8f15acdca11e4781cf32
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before d92333c7a35856e419500e7eed72dac1afa404a5
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 001f44982587ad462b3002ee40c75e8df67d597d
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 05ec9af3cc430683c97f76027e1c55ac6fd25c59
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before edfb2e602b5ba5ca6bf31cbac20b366efb72b156
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 91f114bffa36ce56d0e1f60a0a44fc09baaefc79
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 005d4b0d33f6b4a23d382b7930f7a96b95b01f39
Other versions: unaffected
Linux
affected 2.6.12
unaffected before 2.6.12
unaffected from 5.10.248 up to and including 5.10.*
unaffected from 5.15.198 up to and including 5.15.*
unaffected from 6.1.160 up to and including 6.1.*
unaffected from 6.6.120 up to and including 6.6.*
unaffected from 6.12.64 up to and including 6.12.*
unaffected from 6.18.3 up to and including 6.18.*
unaffected 6.19 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-68767 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-68767

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-68767
trivy image --scanners vuln IMAGE | grep CVE-2025-68767

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-68767 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.