In the Linux kernel, the following vulnerability has been resolved: hfs/hfsplus: fix u32 overflow in check_and_correct_requested_length… (CVE-2026-64361)
A vulnerability in the Linux kernel's HFS/HFS+ filesystem code was resolved by fixing a 32-bit unsigned integer overflow in the function check_and_correct_requested_length. The overflow occurs when adding offset and length values, causing an incorrect bounds check that can lead to out-of-bounds memory access. The fix involves using 64-bit arithmetic to prevent the wraparound. No CVSS score is available for this issue.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel affects the HFS/HFS+ filesystem code, specifically in the check_and_correct_requested_length() function. This function performs a bounds check by adding two 32-bit unsigned integers (offset and length) and comparing the result against node_size. If the length value is large due to an underflow (e.g., from a subtraction in hfs_brec_remove()), the addition can overflow and wrap around, causing the bounds check to incorrectly pass. This allows a subsequent memmove operation to read memory approximately 4GB past the intended buffer boundary. The issue was fixed by widening the addition to 64-bit arithmetic before the comparison, preventing the overflow and maintaining correct bounds checking.
Potential Impact
The vulnerability can cause out-of-bounds memory reads in the kernel's HFS/HFS+ filesystem code, potentially leading to memory corruption or information disclosure. The exact impact is limited to the affected function and does not specify privilege escalation or remote exploitation. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel by changing the arithmetic in check_and_correct_requested_length() from 32-bit to 64-bit to prevent overflow. Since no patch links or vendor advisories are provided, check the official Linux kernel repositories or vendor advisories for the fixed version and apply the update accordingly. Patch status is not yet confirmed in this data — verify with the vendor advisory for current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: hfs/hfsplus: fix u32 overflow in check_and_correct_requested_length… (CVE-2026-64361)
Description
A vulnerability in the Linux kernel's HFS/HFS+ filesystem code was resolved by fixing a 32-bit unsigned integer overflow in the function check_and_correct_requested_length. The overflow occurs when adding offset and length values, causing an incorrect bounds check that can lead to out-of-bounds memory access. The fix involves using 64-bit arithmetic to prevent the wraparound. No CVSS score is available for this issue.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel affects the HFS/HFS+ filesystem code, specifically in the check_and_correct_requested_length() function. This function performs a bounds check by adding two 32-bit unsigned integers (offset and length) and comparing the result against node_size. If the length value is large due to an underflow (e.g., from a subtraction in hfs_brec_remove()), the addition can overflow and wrap around, causing the bounds check to incorrectly pass. This allows a subsequent memmove operation to read memory approximately 4GB past the intended buffer boundary. The issue was fixed by widening the addition to 64-bit arithmetic before the comparison, preventing the overflow and maintaining correct bounds checking.
Potential Impact
The vulnerability can cause out-of-bounds memory reads in the kernel's HFS/HFS+ filesystem code, potentially leading to memory corruption or information disclosure. The exact impact is limited to the affected function and does not specify privilege escalation or remote exploitation. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel by changing the arithmetic in check_and_correct_requested_length() from 32-bit to 64-bit to prevent overflow. Since no patch links or vendor advisories are provided, check the official Linux kernel repositories or vendor advisories for the fixed version and apply the update accordingly. Patch status is not yet confirmed in this data — verify with the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-qpqg-q3fj-94c5
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64361"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a65420b9c2644c7f8084d57
Added to database: 07/25/2026, 23:08:59 UTC
Last enriched: 07/25/2026, 23:31:12 UTC
Last updated: 07/26/2026, 03:43:05 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.