Linux Kernel ksmbd Component Use-After-Free Vulnerability in Lease Management

Vulnerability

A use-after-free vulnerability has been identified in the Linux kernel's ksmbd component, specifically within the function responsible for managing parent lease breaks. This issue arises because the operation information pointer, accessed through a read-copy-update (RCU) mechanism, is being dereferenced after the RCU read lock has been released. This creates a race condition, allowing concurrent write operations to free the memory before it is accessed, leading to a use-after-free scenario. The vulnerability affects several versions of the Linux kernel.

Impact

Exploitation of this vulnerability leads to a use-after-free condition, which can commonly result in arbitrary code execution or memory corruption.

Reproduction

To reproduce this vulnerability, trigger a scenario where the 'smb_lazy_parent_lease_break_close' function is called while another thread concurrently modifies the lease information. This can be achieved by manipulating file operations in a way that causes a race condition between reading the lease data and releasing the lock, allowing the memory to be freed before it is accessed.

Remediation

Users can upgrade to the latest stable version of the Linux kernel, where this vulnerability has been addressed.

Added: May 8, 2026, 9:19 PM
Updated: May 8, 2026, 9:19 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
5.3
remediation
7.7
relevance
7.8
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.