CVE-2024-0582 Kernel: io_uring: page use-after-free vulnerability via buffer ring mmap
A local attacker can exploit a use-after-free in the Linux kernel's io_uring buffer ring to crash the system or escalate privileges.
- 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-2024-0582?
CVE-2024-0582 is a high-severity use after free vulnerability in Linux kernel, published on 16 Jan 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A memory leak flaw was found in the Linux kernel’s io_uring functionality in how a user registers a buffer ring with IORING_REGISTER_PBUF_RING, mmap() it, and then frees it. This flaw allows a local user to crash or potentially escalate their privileges on the system.
Weakness: CWE-416
Which versions are affected by CVE-2024-0582?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-0582?
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-2024-0582 being exploited?
There is no known exploitation of CVE-2024-0582 in the wild and no public exploit code.
Public exploit code: 8 proofs of concept on GitHub.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-110415, DEBIAN-CVE-2024-0582, GHSA-vqhw-2g88-5gvm, UBUNTU-CVE-2024-0582.