Skip to content
Info disclosure Advisory Advanced CVE-2026-68431

Linux Kernel KSMBD Response Header Out-Of-Bounds Read Information Disclosure Vulnerability

The KSMBD component in the Linux kernel fails to properly validate user-supplied data in the init_smb2_rsp_hdr functions, causing an out-of-bounds read past the end of an allocated buffer. A remote, unauthenticated attacker could exploit this to disclose sensitive information, and could combine it with other flaws to execute code in the kernel.

p2gone 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 KSMBD. Authentication is not required to exploit this vulnerability.

p2gone, 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 init_smb2_rsp_hdr functions do not validate the size or content of user-supplied data before using it, leading to a read beyond the allocated buffer.

Impact

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

What the attacker needed

Ksmbd enabled on the target

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 component of the Linux kernel. A bug in how it builds responses to network requests lets an attacker read memory beyond the intended buffer, which can leak sensitive data. The attacker does not need to log in, but ksmbd must be enabled.

What is Info disclosure?

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

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.