Linux Kernel ksmbd Chained Request NULL Pointer Dereference Denial-of-Service Vulnerability
A NULL pointer dereference in the Linux kernel's ksmbd (SMB server) when handling chained requests allows a remote unauthenticated attacker to cause a denial-of-service condition. Only systems with ksmbd enabled are vulnerable.
8437438cb38d8565e9a990474a7b8d2b3e3770a521eb159325e93c6189f526d1 Follow
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 ksmbd code does not properly validate a pointer before dereferencing it when processing chained SMB requests, leading to a NULL pointer dereference.
Impact
A remote unauthenticated attacker could crash the system, causing a denial-of-service condition, but only 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.
A NULL pointer dereference is a programming mistake where a program tries to use a memory address that points to nothing (NULL). This causes the program, here the kernel's SMB server, to crash, making the system unavailable. An attacker can trigger this remotely without logging in, but only if the SMB server feature (ksmbd) is turned on.
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.