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

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.

Nicholas Zubrisky Follow

Originally disclosed on Zero Day Initiative

High 7.1 View original

This vulnerability allows remote attackers to disclose sensitive information on affected installations of Linux Kernel. Authentication is required to exploit this vulnerability.

Nicholas Zubrisky (@NZubrisky) of TrendAI Research, 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 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.

More by Nicholas Zubrisky

View all

9 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.