Skip to content
Info disclosure Advisory Advanced

Linux Kernel NTFS3 Out-Of-Bounds Read Information Disclosure Vulnerability

The NTFS3 file system driver in the Linux kernel fails to properly validate directory index entries, causing an out-of-bounds read. A local attacker with low-privileged code execution could disclose sensitive kernel memory and, combined with other flaws, potentially execute code in the kernel.

Lucas Leong Follow

Originally disclosed on Zero Day Initiative

Medium 5.2 View original

This vulnerability allows local attackers to disclose sensitive information on affected installations of Linux Kernel. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

Lucas Leong (@_wmliang_) of TrendAI Zero Day Initiative, 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 NTFS3 directory index entry parser does not validate the length or bounds of user-supplied entry data before reading it, leading to an out-of-bounds read.

Impact

A local attacker with low-privileged code execution could disclose sensitive kernel information and, in conjunction with other vulnerabilities, potentially execute arbitrary code in the kernel context.

What the attacker needed

Local low-privileged code execution

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.

The NTFS3 driver reads a file system's directory listing and trusts the size information in it without checking it first. If that information is wrong, the driver reads memory beyond the intended buffer, which can leak data from the kernel. An attacker who can already run a low-privileged program on the machine could use this to see sensitive memory contents.

What is Info disclosure?

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

More by Lucas Leong

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.