Linux Kernel ksmbd Memory Exhaustion Denial-of-Service Vulnerability
The Linux kernel's ksmbd SMB server fails to release memory after handling SMB2_NEGOTIATE commands, leading to memory exhaustion. A remote unauthenticated attacker can repeatedly send such commands to cause a denial-of-service condition.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to create a denial-of-service condition on affected installations of 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
Impact
A remote, unauthenticated attacker could exhaust kernel memory and cause a denial-of-service condition on the affected system.
What the attacker needed
Network access to the SMB service; No authentication required
The fix
Linux has issued an update to correct this 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.
The Linux kernel includes a file-sharing service called ksmbd that speaks the SMB protocol. When a client sends a negotiation request, the server allocates memory but never frees it. By sending many such requests, an attacker can use up all available memory and crash or hang the system, denying service to 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.