Skip to content
Info disclosure Advisory Advanced CVE-2023-52442

Linux Kernel ksmbd Chained Request Improper Input Validation Information Disclosure Vulnerability

The Linux kernel's ksmbd component fails to properly validate chained requests, allowing a remote unauthenticated attacker to disclose sensitive information. This flaw can be combined with other vulnerabilities to execute arbitrary code in the kernel context.

HexRabbit Follow

Originally disclosed on Zero Day Initiative

Critical 9.3 View original

This vulnerability allows remote attackers to disclose sensitive information on affected installations of Linux Kernel. Authentication is not required to exploit this vulnerability, but only systems with ksmbd enabled are vulnerable.

HexRabbit (@h3xr4bb1t), on the Zero Day Initiative

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 kernel's ksmbd component does not adequately validate user-supplied chained requests before processing them.

Impact

An attacker could disclose sensitive information and, in conjunction with other vulnerabilities, execute arbitrary code in the kernel context.

What the attacker needed

Ksmbd enabled on target; no authentication required

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.

ksmbd is a file-sharing service built into the Linux kernel. A remote attacker can send specially crafted requests that are chained together, and because the kernel does not check them properly, it may leak sensitive data. This leaked data could then be used with other bugs to run malicious code on the machine.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by HexRabbit

View all

5 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.