Menu

Star on GitHub · 3.2k

CVE-2026-64396

8.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix UAF of struct file_lock in SMB2_LOCK deferred-lock cancellation When a blocking byte-range lock request is deferred…

Published Jul 25, 2026EPSS 0.43%

Overview

CVE-2026-64396 is a high-severity vulnerability. It was published on July 25, 2026 and has a CVSS 3.1 base score of 8.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix UAF of struct file_lock in SMB2_LOCK deferred-lock cancellation

When a blocking byte-range lock request is deferred in the

FILE_LOCK_DEFERRED path, ksmbd registers the asynchronous work into

the connection's async_requests list via setup_async_work(). The cancel

callback smb2_remove_blocked_lock() holds a reference to the flock.

If the lock waiter is subsequently woken up but the work state is no

longer KSMBD_WORK_ACTIVE (e.g., due to a concurrent cancellation), the

cleanup path calls locks_free_lock(flock) without dequeuing the work from

the async_requests list. Concurrently, smb2_cancel() walks the list

under conn->request_lock and invokes the cancel callback, which then

dereferences the already freed 'flock'. This leads to a slab-use-after-free

inside __wake_up_common.

Fix this by restructuring the cleanup logic after the worker returns

from ksmbd_vfs_posix_lock_wait(). Move list_del(&smb_lock->llist)

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2026-64396?

CVE-2026-64396 is a high-severity vulnerability. It was published on July 25, 2026 and has a CVSS 3.1 base score of 8.8 (HIGH).

How severe is CVE-2026-64396?

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2026-64396?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-64396?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2026-64396 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2026

View all