Linux Kernel ksmbd Session Setup Null Pointer Dereference Denial-of-Service Vulnerability
The ksmbd component of the Linux kernel mishandles preauth hashes during session setup, dereferencing a null pointer. An unauthenticated remote attacker could use this to crash or deny service on systems where ksmbd is 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, the session setup code does not check that a preauth hash pointer is valid before dereferencing it.
Impact
An unauthenticated remote attacker could cause a denial-of-service condition, but only on systems with ksmbd enabled.
What the attacker needed
Ksmbd enabled on the target; network access to the service
The fix
Linux 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.
ksmbd is a file-sharing server built into the Linux kernel. A null pointer dereference means the program tries to use an empty memory reference, which usually makes it crash. Here a remote attacker can trigger that crash without logging in, so the file-sharing service stops working.
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.