Linux Kernel ksmbd Session Setup Out-Of-Bounds Read Information Disclosure Vulnerability
The Linux kernel's ksmbd subsystem fails to properly validate user-supplied data during session setup commands, leading to an out-of-bounds read. A remote attacker could exploit this to disclose sensitive information, and potentially combine it with other flaws to execute code in the kernel.
This vulnerability allows remote attackers to disclose sensitive information 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
Root cause
Likely, the session setup command handler does not validate the length or content of user-supplied data before using it, causing an out-of-bounds read.
Impact
A remote, unauthenticated attacker could disclose sensitive kernel information, and may combine this with other vulnerabilities to execute arbitrary code in the kernel context.
What the attacker needed
Ksmbd enabled on target; network access to ksmbd 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 called ksmbd, which handles file sharing over a network. When someone connects and tries to set up a session, the code doesn't check the data they send carefully enough, so it can read memory beyond what it should. That could let an attacker see sensitive information from the kernel's memory.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.