In the Linux kernel, the following vulnerability has been resolved: smb/client: Fix error code in smb2_aead_req_alloc() The "num_sgs" variable is a… (CVE-2026-64598)
A vulnerability in the Linux kernel's SMB client code related to incorrect error code handling in the smb2_aead_req_alloc() function has been resolved. The issue involves improper use of the ERR_PTR macro with a u32 variable, which can lead to a crash due to dereferencing an invalid error pointer.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel affects the SMB client implementation, specifically in the smb2_aead_req_alloc() function. The problem arises because the 'num_sgs' variable is a u32 type, and using ERR_PTR(*num_sgs) is invalid. This improper handling of error codes can cause the kernel to dereference an invalid error pointer, resulting in a crash. The fix involves changing the error handling logic to store the return value in an int variable instead of directly using ERR_PTR on a u32 value.
Potential Impact
This vulnerability can cause the Linux kernel to crash when the SMB client code dereferences an invalid error pointer. Such a crash could lead to denial of service conditions on affected systems.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel. Since no specific patch links or affected versions are provided, users should update their Linux kernel to the latest stable release that includes this fix. Patch status is not yet confirmed in detail; check the official Linux kernel advisories or vendor updates for the exact fixed versions and apply updates accordingly.
In the Linux kernel, the following vulnerability has been resolved: smb/client: Fix error code in smb2_aead_req_alloc() The "num_sgs" variable is a… (CVE-2026-64598)
Description
A vulnerability in the Linux kernel's SMB client code related to incorrect error code handling in the smb2_aead_req_alloc() function has been resolved. The issue involves improper use of the ERR_PTR macro with a u32 variable, which can lead to a crash due to dereferencing an invalid error pointer.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel affects the SMB client implementation, specifically in the smb2_aead_req_alloc() function. The problem arises because the 'num_sgs' variable is a u32 type, and using ERR_PTR(*num_sgs) is invalid. This improper handling of error codes can cause the kernel to dereference an invalid error pointer, resulting in a crash. The fix involves changing the error handling logic to store the return value in an int variable instead of directly using ERR_PTR on a u32 value.
Potential Impact
This vulnerability can cause the Linux kernel to crash when the SMB client code dereferences an invalid error pointer. Such a crash could lead to denial of service conditions on affected systems.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel. Since no specific patch links or affected versions are provided, users should update their Linux kernel to the latest stable release that includes this fix. Patch status is not yet confirmed in detail; check the official Linux kernel advisories or vendor updates for the exact fixed versions and apply updates accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-3qwv-9mh7-f8fm
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64598"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a74cfa0bf8831d5391b0798
Added to database: 08/06/2026, 18:17:04 UTC
Last enriched: 08/06/2026, 19:12:28 UTC
Last updated: 08/07/2026, 00:41:15 UTC
Views: 2
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.