CVE-2026-64361 Details
Description
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.
A vulnerability in the Linux kernel's handling of HFS and HFSPlus file systems can lead to a memory overread. The issue arises in the 'check_and_correct_requested_length' function, where it compares offsets using 32-bit unsigned integer arithmetic. When a large length value is passed—such as one resulting from an underflowed subtraction—the sum of the offset and length can wrap around, creating a small value that incorrectly passes a bounds check. This flaw allows a 'memmove' operation to read approximately 4GB beyond the intended buffer, potentially leading to data corruption or exposure.
Users can upgrade to the latest stable version of the Linux kernel, where this vulnerability has been addressed. Instructions for downloading the patched version are available on the official Linux kernel website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/607217f7ad419b53926f71e3f75001813bbc08ad | kernel.org | Patch |
| https://git.kernel.org/stable/c/671c3fcc2ad31c1311ea6414382a2d95104ae1b9 | kernel.org | Patch |
| https://git.kernel.org/stable/c/7399c3baee7bb622a92f0b895cd4d3009a693f2b | kernel.org | Patch |
| https://git.kernel.org/stable/c/966cb76fb2857a4242cab6ea2ea17acf818a3da7 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b6a481642ea1977be2f84dc08c5affd742c177e7 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c25d3c931a63e762fcaa9cb125b901c53b62403f | kernel.org | Patch |
| https://git.kernel.org/stable/c/c8dd112173c02adf539fe2ad34a45f5e0068780d | kernel.org | Patch |
| https://git.kernel.org/stable/c/fc9d1447ca3cdc78d2e4ace1ce1f3a7c77ca08b1 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-191 | Integer Underflow (Wrap or Wraparound) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.4.297, < 5.5 >= 5.10.241, < 5.10.261 >= 5.15.190, < 5.15.212 >= 6.1.149, < 6.1.178 >= 6.6.103, < 6.6.145 >= 6.12.43, < 6.12.97 >= 6.15.11, < 6.16 >= 6.16.2, < 6.18.40 >= 6.19, < 7.1.4 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 4, 2026 | Initial Analysis | [email protected] |
| Aug 17, 2026 | CVE Modified | kernel.org |
| Jul 27, 2026 | CVE Modified | kernel.org |
| Jul 25, 2026 | New CVE Received | kernel.org |