Linux Kernel ksmbd Session Deadlock Denial-of-Service Vulnerability
A flaw in the Linux kernel's ksmbd SMB server handling of session setup commands lacks proper locking, allowing a remote unauthenticated attacker to cause a denial-of-service condition. The vulnerability affects only systems with ksmbd enabled.
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
Root cause
Likely a missing lock when processing SMB2_SESSION_SETUP commands, leading to a race condition or deadlock.
Impact
A remote, unauthenticated attacker could cause a denial-of-service condition on systems with ksmbd enabled.
What the attacker needed
Ksmbd enabled on target; network access to 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.
This is a bug in a part of the Linux kernel that lets computers share files over a network (called ksmbd). Because a lock was missing, someone on the network could send special commands that make the file-sharing service freeze or crash, stopping legitimate users from accessing files. No password is needed, but only systems that have this file-sharing feature turned on are affected.
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.