Impact
This kernel vulnerability allows an untrusted client to trigger a memory leak in the ksmbd SMB server when SPNEGO negotiation fails after a mechToken allocation. The leak occurs because the allocated mechToken is not freed if the decoder encounters a malformed subsequent element. As the code path is reachable before authentication, an attacker can repeatedly send crafted requests to increase kernel memory usage, potentially exhausting system resources and leading to denial of service.
Affected Systems
Any system running a Linux kernel version that includes the ksmbd SMB3 implementation prior to the fix. The exact versions impacted are not listed, but the vulnerability was addressed in a kernel patch that modifies the SPNEGO handling routines.
Risk and Exploitability
The risk is a denial‑of‑service that can degrade server availability over time. The CVSS v3.1 base score is 5.5, indicating medium severity. The EPSS score is less than 1 %, indicating a very low probability of current exploitation, and the issue is not listed in the CISA KEV catalog. Attackers can exploit the flaw by sending malformed SPNEGO negotiation packets to a ksmbd service before authentication, causing repeated allocations that are never freed.
OpenCVE Enrichment
Debian DSA