Linux Kernel ksmbd smb_inherit_dacl Out-Of-Bounds Read Information Disclosure Vulnerability
The ksmbd component of the Linux kernel mishandles inherited security descriptors, failing to validate user-supplied data, which leads to an out-of-bounds read. An authenticated remote attacker could disclose sensitive kernel memory and, by chaining with other flaws, potentially execute code in kernel context.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Linux Kernel. Authentication is 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 code that processes inherited security descriptors does not properly validate the length or contents of user-supplied data before reading it, causing an out-of-bounds read.
Impact
An authenticated remote attacker could disclose sensitive kernel information and, in conjunction with other vulnerabilities, potentially execute arbitrary code in the kernel context.
What the attacker needed
Ksmbd enabled on the target; valid authentication credentials
The fix
The Linux kernel was updated 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 remote user who can log in can send crafted data about file permissions that makes the server read past the end of a memory buffer, leaking information from kernel memory. That leaked data might help an attacker take over the machine when combined with another bug.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.