CVE-2023-1872 Use-after-free in Linux kernel's io_uring subsystem
A use-after-free in the Linux kernel io_uring subsystem allows local attackers to escalate privileges due to a race condition.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-1872?
CVE-2023-1872 is a high-severity use after free vulnerability in Debian Debian Linux, published on 12 Apr 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A use-after-free vulnerability in the Linux Kernel io_uring system can be exploited to achieve local privilege escalation.
The io_file_get_fixed function lacks the presence of ctx->uring_lock which can lead to a Use-After-Free vulnerability due a race condition with fixed files getting unregistered.
We recommend upgrading past commit da24142b1ef9fd5d36b76e36bab328a5b27523e8.
Weakness: CWE-416
Which versions are affected by CVE-2023-1872?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2023-1872?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2023-1872 being exploited?
There is no known exploitation of CVE-2023-1872 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-26167, DEBIAN-CVE-2023-1872, GHSA-jhw6-rjph-429f, UBUNTU-CVE-2023-1872.