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

 

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

Published: July 20, 2026


Vulnerability identifier: #VU138479
CSH Severity: Medium
CVSS v4.0: 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/E:U/U:Green
CVE-ID: CVE-2026-64142
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel

Detailed vulnerability description

The vulnerability allows a remote user to cause a denial of service and potentially execute arbitrary code.

The vulnerability exists due to use-after-free in ksmbd durable handle management and m_fp_list walkers when processing concurrent durable-handle expiration and file lookup operations. A remote user can trigger concurrent durable handle expiration and lookup activity to cause a denial of service and potentially execute arbitrary code.

The issue involves a race between the durable scavenger and walkers such as ksmbd_lookup_fd_inode() and share-mode checks, and exploitation requires access to SMB operations that exercise durable handles.


How to mitigate CVE-2026-64142

Install security update from vendor's repository.

Sources