(CVE-2023-1872) Linux Kernel io_uring Missing Lock in io_file_get_fixed Leading to Use-After-Free and Local Privilege Escalation
A use-after-free flaw in the Linux kernel's io_uring subsystem, caused by a missing lock in io_file_get_fixed, could let a local unprivileged attacker escalate privileges. The text states the vulnerability can be exploited for local privilege escalation but gives no exploitation details.
starlabs.sg
Published on starlabs.sg
The vulnerability exists in iofilegetfixed, which retrieves a fixed file slot for a given file descriptor without holding ctx->uringlock:
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
A local unprivileged attacker may exploit this to achieve local privilege escalation.
What the attacker needed
Local access to the system; unprivileged user account
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 write-up has not been written yet. The Original tab links to the source.
A use-after-free happens when a program frees a piece of memory but keeps using it, so an attacker can sometimes control what gets placed there. Here the kernel's io_uring feature had a missing lock, which could let a local user with normal access gain higher privileges on the machine.
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.