CVE-2026-64257
Critical · 9.1CVSS
9.1
EPSS
0.7%
Published
Jul 25, 2026
CISA due date
—
Cloudanix analysis
A bug in how Linux handles file-server replies can let a bad server crash the computer or steal data when the system tries to read shared files.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- OS kernel
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw allows SMB2 server responses containing overlapping data areas to bypass length validation in __smb2_calc_size() by clearing data_length, incorrectly qualifying the response for the bcc[0] exemption and permitting malformed packets to be processed.
Why it matters to the business
Linux systems acting as SMB clients face remote denial-of-service crashes or information disclosure when connecting to untrusted servers, potentially disrupting file access and requiring emergency kernel updates across fleets.
How an attack unfolds
An attacker positions a malicious SMB server that returns crafted SMB2 responses with overlapping data regions; the client’s size calculation clears the data length indicator, triggering the no-data-area exception and allowing the invalid response to be accepted, leading to memory corruption or leakage.
How to fix it
Apply the upstream kernel commit 53b7c271f06b ("smb: client: restrict implied bcc[0] exemption...") or any later stable release that includes the overlap-tracking fix; rebuild and reboot affected systems.
How to confirm the fix worked
Confirm the patch is present by checking for the new overlap-tracking logic in fs/smb/client/smb2ops.c; re-test with crafted overlapping responses to verify rejection before exemption logic runs.
Typical attack path
- Attacker sets up a rogue SMB2 server reachable by the victim client
- Client initiates connection and sends request
- Server replies with overlapping data-area SMB2 response
- Client __smb2_calc_size() clears data_length due to overlap handling
- Response is incorrectly exempted and processed, resulting in crash or data exposure
How to detect it
Review kernel logs for SMB client crashes or warnings around smb2_calc_size; correlate with unexpected SMB2 traffic from untrusted servers; no public exploit artifacts are known.
What your security team should do
- Prioritize kernel updates on all Linux SMB clients within 30 days given the 9.1 CVSS
- Monitor for new stable releases containing the referenced commit
- Temporarily restrict SMB client connections to trusted servers only until patched
The record
In the Linux kernel, the following vulnerability has been resolved: smb: client: reject overlapping data areas in SMB2 responses Commit 53b7c271f06b ("smb: client: restrict implied bcc[0] exemption to responses without data area") restricted the implied bcc[0] length exception to responses without a data area. However, the overlap handling in __smb2_calc_size() clears data_length, which can make an invalid response appear to have no data area and so qualify for the exception. Track data area overlap separately and reject such responses before applying the length compatibility exceptions.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|