Linux Kernel ksmbd TCP Connection Memory Exhaustion Denial-of-Service Vulnerability
The ksmbd component of the Linux kernel did not release memory allocated while handling new TCP connections, so memory use grew with each connection. An unauthenticated remote attacker could exhaust memory and cause a denial-of-service condition on systems with ksmbd enabled.
This vulnerability allows remote attackers to create a denial-of-service condition on affected installations of the Linux Kernel. Authentication is not required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a memory leak: memory allocated for each new TCP connection in ksmbd was not freed once the connection's lifetime ended.
Impact
An unauthenticated remote attacker could exhaust memory and create a denial-of-service condition, but only on systems where ksmbd is enabled.
What the attacker needed
Ksmbd enabled on the target; network access to the target
The fix
Linux issued an update to correct the vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
ksmbd is a file-sharing server built into the Linux kernel. Every time a client opens a network connection, the server reserves a little memory for it; here that memory was never given back after the connection ended. By opening many connections, an attacker could use up all the memory and make the machine stop working properly for legitimate users.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.