CVE-2026-64257 smb: client: reject overlapping data areas in SMB2 responses
A flaw in the Linux kernel SMB client allows attackers to trigger memory corruption via overlapping data areas in SMB2 responses, potentially leading to code execution or privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-64257?
CVE-2026-64257 is a critical memory corruption vulnerability in Linux kernel, published on 25 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2026-64257?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-64257?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-64257 being exploited?
There is no known exploitation of CVE-2026-64257 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as GHSA-cfrm-7rjv-hj84, ROOT-OS-UBUNTU-2204-CVE-2026-64257, UBUNTU-CVE-2026-64257.