Technical impact
A use‑after‑free bug in the Linux ksmbd module causes a kernel memory corruption when a durable SMB session reconnect fails. The flaw allows the freeing of a handle while other requests still hold references, leading to writes into freed memory during session teardown. If exploited, an attacker could induce a kernel panic or potentially execute arbitrary code with kernel privileges.
Affected Systems
All Linux kernel builds that contain the ksmbd component and the durable reconnect logic are vulnerable. The patch is applied across kernel releases, so systems running current kernels without the update are affected.
Risk and Exploitability
The vulnerability is a classic use‑after‑free in kernel space, a high‑severity weakness that can lead to privilege escalation. The EPSS score is not available and the issue is not listed in CISA KEV, but the nature of the flaw indicates a high likelihood of exploitation in a capable environment. The likely attack vector involves provoking a durable SMB session reconnect failure, which could be achieved by manipulating SMB session handling (for example by sending specially crafted reconnection requests) or by using post‑compromise steps to trigger the failure. This inference is drawn from the description of the flaw. The lack of publicly available exploits means the risk remains potential until a proof‑of‑concept is released.