Use-after-free in Linux kernel - CVE-2026-64396

 

Use-after-free in Linux kernel - CVE-2026-64396

Published: July 27, 2026


Vulnerability identifier: #VU139566
CSH Severity: Medium
CVSS v4: 6 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-64396
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to cause a denial of service.

The vulnerability exists due to use-after-free in the SMB2 lock handling logic in fs/smb/server/smb2pdu.c when canceling a deferred SMB2_LOCK request. A remote user can send crafted SMB lock and cancellation requests to cause a denial of service.

The issue is triggered by a race between deferred-lock cleanup and asynchronous cancellation while processing blocking byte-range locks.


Affected software

Linux kernel

How to mitigate CVE-2026-64396

Install security update from vendor's repository.

Linux kernel - update to 7.0 rc3

External References

Related Security Bulletins