Linux Kernel nft_exthdr_ipv6_eval Stack-based Buffer Overflow Information Disclosure Vulnerability
A local attacker with low-privileged code execution can trigger a stack-based buffer overflow in the Linux kernel's nft_exthdr_ipv6_eval function due to missing length validation, leading to sensitive information disclosure. The flaw can be combined with other vulnerabilities to execute arbitrary code in 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_ipv6_eval function fails to validate the length of user-supplied data before copying it into a fixed-length stack buffer.
Impact
A local attacker could disclose sensitive information and, in conjunction with other vulnerabilities, execute arbitrary code in the context of the kernel.
What the attacker needed
Low-privileged code execution on 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.
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 fixed-size memory area 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.