CVE-2026-64361·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: hfs/hfsplus: fix u32 overflow in check_and_correct_requested_length check_and_correct_requested_length() compares (off + len) against node_size using u32 arithmetic. When the caller passes a large len value (e.g. from an underflowed subtraction in hfs_brec_remove()), off + len can wrap past 2^32 and produce a small result, causing the bounds check to pass when it should fail. For example, with off=14 and len=0xFFFFFFF2 (underflowed from data_off - keyoffset - size in hfs_brec_remove), off + len wraps to 6, which is less than a typical node_size of 512, so the check passes and the subsequent memmove reads ~4GB past the node buffer. Fix this by widening the addition to u64 before comparing against node_size. This prevents the u32 wrap while keeping the logic straightforward.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.1.4
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.13% — higher than 3% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-64361 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.13%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.1.4
Fixed in: 7.1.4
How to fix this CVE
Update your Linux kernel to version 7.1.4 or later to resolve a critical integer overflow vulnerability in the HFS/HFS+ filesystem handler. This vulnerability allows local attackers with basic privileges to trigger out-of-bounds memory access through specially crafted filesystem operations. Prioritize this update for systems using HFS or HFS+ filesystems.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check kernel version: uname -r — confirm it is below 7.1.4 or in the vulnerable range 6.19 to 7.1.3
- Verify HFS/HFS+ support: grep -i hfs /boot/config-$(uname -r) — look for CONFIG_HFS_FS=y or CONFIG_HFSPLUS_FS=y
- Search kernel logs for memmove/buffer errors: dmesg | grep -i 'hfs\|buffer\|overflow' to detect exploitation attempts
- Validate patch application: grep -r 'check_and_correct_requested_length' /usr/src/linux-headers-$(uname -r)/ — the fixed version should use u64 arithmetic in the bounds check
FAQ
What is CVE-2026-64361?
CVE-2026-64361 is an integer overflow vulnerability in the Linux kernel's HFS/HFS+ filesystem implementation where 32-bit arithmetic used in length validation can wrap around, allowing local attackers to bypass bounds checks and read/write memory outside allocated buffers.
Is CVE-2026-64361 being actively exploited?
No, there is no evidence of active exploitation in the wild, and no public exploits are currently available. However, the vulnerability is easily triggered by local users with filesystem access.
What versions of Kernel are affected by CVE-2026-64361?
Linux kernel versions 6.19 through 7.1.3 are affected. The vulnerability is patched in version 7.1.4 and later.
How do I check if my server is vulnerable to CVE-2026-64361?
Run 'uname -r' to get your kernel version and compare against the vulnerable range (6.19-7.1.3). Then verify HFS support with 'grep CONFIG_HFS /boot/config-$(uname -r)' — if either HFS_FS or HFSPLUS_FS is enabled, your system is vulnerable.
Does Defensia detect CVE-2026-64361?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server and its version falls within the vulnerable range, CVE-2026-64361 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/607217f7ad419b53926f71e3f75001813bbc08ad
- https://git.kernel.org/stable/c/671c3fcc2ad31c1311ea6414382a2d95104ae1b9
- https://git.kernel.org/stable/c/7399c3baee7bb622a92f0b895cd4d3009a693f2b
- https://git.kernel.org/stable/c/966cb76fb2857a4242cab6ea2ea17acf818a3da7
- https://git.kernel.org/stable/c/b6a481642ea1977be2f84dc08c5affd742c177e7
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-64361. Free for 1 server.
Get started free