Technical impact
The ksmbd_session_unregister() routine in the Linux kernel clears a session from its global and per‑connection tables before releasing the table reference count. While these tables are cleared, another part of the kernel may still hold a reference to the session. Because every channel only stores a raw connection pointer, the connection object can be freed while an active session still references it. This ordering issue results in a use‑after‑free bug that can corrupt memory or crash the kernel. If an attacker can trigger the concurrent unregister timing, she may be able to execute code with elevated privileges or cause a denial of service. The direct impact is thus memory corruption or system instability arising from freed memory being accessed again.
Affected Systems
All Linux kernels that ship the ksmbd SMB server component and have not incorporated the reference‑holding change are affected. The commit that introduces the fix is not tied to a specific distribution version in the data, so any distribution using a ksmbd‑enabled kernel prior to that change is potentially vulnerable. Users should verify that the patch is present in their kernel releases.
Risk and Exploitability
The CVSS score of 7.5 indicates high severity. The EPSS score of < 1% suggests that exploitation likelihood is low, and the vulnerability is not listed in the CISA KEV catalog, meaning public exploitation is not currently documented. The inferred attack vector is remote, via an SMB client that can trigger a session unregister while another session still holds a reference. By achieving timing that causes the use‑after‑free, an attacker could crash the kernel or, in some circumstances, execute arbitrary code. The overall risk depends on the exposure of the SMB service and the ability of an adversary to interact with it from outside the local system.