Linux Kernel USB Core Out-Of-Bounds Read Local Privilege Escalation Vulnerability
The Linux kernel's USB core processing of USB descriptors lacks proper validation of user-supplied data, leading to an out-of-bounds memory read. A physically present attacker could exploit this to escalate privileges and execute arbitrary code in the kernel context.
Originally disclosed on Zero Day Initiative
This vulnerability allows physically present attackers to escalate privileges on affected installations of Linux Kernel. Authentication is not required 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 kernel failed to validate the length of USB descriptors before reading them, causing an out-of-bounds read.
Impact
A physically present attacker could escalate privileges and execute arbitrary code in the context of the kernel.
What the attacker needed
Physical access to the device; ability to connect a malicious USB device
The fix
The vulnerability was fixed in Linux 6.6-rc1.
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 part of the operating system. When a USB device is plugged in, the kernel reads information called descriptors from it. The kernel did not check the size of this information properly, so it could read past the end of a memory buffer. An attacker with physical access could use a malicious USB device to run code with the highest privileges.
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.