Linux Kernel IPv6 Neighbour Discovery Uninitialized Memory Information Disclosure Vulnerability
The Linux kernel's IPv6 neighbour discovery code failed to initialise memory before accessing it, so a local attacker with high privileges could read sensitive information from kernel memory. The attacker could also combine this flaw with other vulnerabilities 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 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 IPv6 neighbour discovery code handled userland options without zeroing or otherwise initialising the memory buffer before reading from it.
Impact
A local attacker with high privileges could disclose sensitive kernel memory and, in combination with other vulnerabilities, could execute arbitrary code in the kernel context.
What the attacker needed
Local access to the system; ability to execute high-privileged code
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.
When a program uses a block of memory, it should first fill it with known values. Here the kernel skipped that step, so whatever was left in memory from earlier use could be read back. A local user who already has high privileges could see that leftover data, which might contain secrets, and could pair this with another bug to run their own code inside the kernel.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.