Linux Kernel ksmbd Session Setup Memory Leak Denial-of-Service Vulnerability
A memory leak in the Linux kernel's ksmbd handling of SMB2_SESSION_SETUP commands allows remote unauthenticated attackers to cause a denial-of-service condition. The flaw is due to missing memory release after its effective lifetime.
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, but only systems with ksmbd enabled are vulnerable.
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
An unauthenticated remote attacker could cause a denial-of-service condition on systems with ksmbd enabled.
What the attacker needed
Ksmbd enabled on the target; network access to the SMB service
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 has a built-in file-sharing service called ksmbd that speaks the SMB protocol. When it handles a particular type of login request, it forgets to free up memory afterwards. An attacker can send many such requests to exhaust memory and make the system slow or crash, without needing any password.
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.