Linux Kernel Netfilter Xtables Out-Of-Bounds Read Information Disclosure Vulnerability
The Linux kernel's netfilter xtables match_flags function fails to properly validate user-supplied data, leading to an out-of-bounds read. A local attacker with high privileges could disclose sensitive kernel memory and potentially use this with other flaws to execute arbitrary code in the kernel.
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 high-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 match_flags function does not validate the length of user-supplied data before reading it, causing an out-of-bounds read.
Impact
A local attacker with high privileges could disclose sensitive kernel information and, in combination with other vulnerabilities, potentially execute arbitrary code in the kernel.
What the attacker needed
High-privileged code execution on target
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 checks certain network filtering rules does not properly check the size of data given to it, so it can read memory beyond what it should. An attacker who already has high-level access to the machine could use this to see secret information from the kernel's memory.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.