CVE-2024-1312 Kernel: race condition leads to use after free during vma lock in lock_vma_under_rcu
A local attacker can trigger a use-after-free in the Linux kernel memory management subsystem, causing a system crash.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-1312?
CVE-2024-1312 is a medium-severity use after free vulnerability in Fedoraproject Fedora, published on 8 Feb 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A use-after-free flaw was found in the Linux kernel's Memory Management subsystem when a user wins two races at the same time with a fail in the mas_prev_slot function. This issue could allow a local user to crash the system.
Weakness: CWE-416
Which versions are affected by CVE-2024-1312?
It affects 2 products.
Products include Fedoraproject Fedora, Linux kernel.
How do I fix CVE-2024-1312?
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-1312 being exploited?
There is no known exploitation of CVE-2024-1312 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as AZL-34305, DEBIAN-CVE-2024-1312, GHSA-798f-8qgx-h85f, UBUNTU-CVE-2024-1312.