Impact
The Linux kernel’s SMB server (ksmbd) had a use‑after‑free bug in the smb2_tree_connect routine. A concurrent session logoff could free the tree‑connection object while the handler continued to use it, leading to an invalid memory reference. This flaw is a classic kernel memory corruption scenario, allowing an attacker to crash the kernel or, in the worst case, execute arbitrary code with kernel privileges.
Affected Systems
Any system running the Linux kernel with the ksmbd SMB server enabled is vulnerable. Specific version information is not supplied, so all kernels that had the unpatched ksmbd implementation should be considered affected.
Risk and Exploitability
The vulnerability is a high‑severity use‑after‑free (CWE‑416) that affects kernel integrity. No EPSS score is available and the issue is not listed in CISA’s KEV catalog, but the absence of these metrics does not diminish the potential impact. An attacker who can trigger the vulnerable SMB tree connection sequence could cause a kernel crash or achieve code execution if the freed memory is subsequently reused. The attack requires network access to the SMB service (port 445) and the ability to initiate a session that logs off while a connection is being established.
OpenCVE Enrichment