Linux Kernel nft_exthdr_tcp_eval Stack-based Buffer Overflow Information Disclosure Vulnerability
A local attacker with low-privileged code execution can exploit a stack-based buffer overflow in the Linux kernel's nft_exthdr_tcp_eval function due to missing length validation of user-supplied data, leading to sensitive information disclosure. The attacker could potentially combine this with other vulnerabilities to execute arbitrary code in the kernel context.
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to disclose sensitive information on affected installations of the Linux Kernel. An attacker must first obtain the ability to execute low-privileged code on the target system in order 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 nft_exthdr_tcp_eval function fails to validate the length of user-supplied data before copying it into a fixed-length stack buffer.
Impact
An attacker could disclose sensitive information and, in conjunction with other vulnerabilities, execute arbitrary code in the kernel context.
What the attacker needed
Ability to execute low-privileged code
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.
This is a bug in the Linux kernel, the core of the operating system. A function that handles network packet data copies too much data into a small buffer on the stack, which can leak sensitive information or, if combined with other bugs, let an attacker run their own code with high privileges. The attacker first needs to be able to run low-privileged code on the system.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.