Linux Kernel Netlink-based Wireless Configuration Integer Overflow Local Privilege Escalation Vulnerability
The Linux kernel's parsing of rnr elements in netlink-based wireless configuration lacked proper validation of user-supplied data, allowing an integer overflow before a buffer was allocated. An attacker able to run high-privileged code locally could use this to escalate privileges and execute code in the kernel context.
This vulnerability allows local attackers to escalate privileges 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 a size calculation on attacker-controlled rnr element data was performed without bounds checks, so the value could wrap before being used to allocate a buffer.
Impact
A local attacker with high-privileged code execution could escalate to kernel-level code execution; the text does not say whether any defence limited this.
What the attacker needed
Local access to the target system; ability to run high-privileged code
The fix
The kernel was fixed by an upstream update that corrects the validation flaw.
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.
An integer overflow is when a number gets so large that the computer's fixed-size storage wraps around to a small value. Here that happens while working out how much memory to reserve, so the program reserves too little and later writes past the end of it. Someone who already has a strong foothold on the machine could use that to run their own code with the kernel's full power.
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.