CVE-2024-1312
published 2024-02-08CVE-2024-1312: 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…
PriorityP418medium4.7CVSS 3.1
AVLACHPRLUINSUCNINAH
EPSS
0.23%
13.6th percentile
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.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.4.11-1 (forky) | linux 6.4.11-1 (forky) |
| fedoraproject | fedora | — | — |
| linux | linux_kernel | < 6.5 | 6.5 |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 6.4.11-1 | 6.4.11-1 |
| linux | linux_kernel | >= 0 < 6.4.11-1 | 6.4.11-1 |
| msrc | cbl2_kernel_5.15.148.2-2_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_kernel_5.15.180.1-1_on_cbl_mariner_2.0 | — | — |
CVSS provenance
nvdv3.14.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
osv4.7MEDIUM
vendor_debian5.1LOW
vendor_redhat5.1MEDIUM
vendor_msrc4.7MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Microsoft
Kernel: race condition leads to use after free during vma lock in lock_vma_under_rcu
vendor_msrc·2024-02-13·CVSS 4.7
CVE-2024-1312 [MEDIUM] CWE-416 Kernel: race condition leads to use after free during vma lock in lock_vma_under_rcu
Kernel: race condition leads to use after free during vma lock in lock_vma_under_rcu
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
redhat: redhat
Customer Action Required: Yes
Remediation: CBL-Mariner Rel
Debian
CVE-2024-1312: linux - A use-after-free flaw was found in the Linux kernel's Memory Management subsyste...
vendor_debian·2024·CVSS 5.1
CVE-2024-1312 [MEDIUM] CVE-2024-1312: linux - A use-after-free flaw was found in the Linux kernel's Memory Management subsyste...
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.
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved (fixed in 6.4.11-1)
sid: resolved (fixed in 6.4.11-1)
trixie: resolved (fixed in 6.4.11-1)
Red Hat
kernel: Race condition leads to use after free during VMA lock in lock_vma_under_rcu
vendor_redhat·2023-07-26·CVSS 5.1
CVE-2024-1312 [MEDIUM] CWE-416 kernel: Race condition leads to use after free during VMA lock in lock_vma_under_rcu
kernel: Race condition leads to use after free during VMA lock in lock_vma_under_rcu
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.
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.
Mitigation: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Package: kerne
OSV
CVE-2024-1312: 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_p
osv·2024-02-08·CVSS 4.7
CVE-2024-1312 [MEDIUM] CVE-2024-1312: 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_p
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.
GHSA
GHSA-798f-8qgx-h85f: 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_p
ghsa_unreviewed·2024-02-08
CVE-2024-1312 [MEDIUM] CWE-416 GHSA-798f-8qgx-h85f: 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_p
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.
No detection rules found.
No public exploits indexed.
https://access.redhat.com/security/cve/CVE-2024-1312https://bugzilla.redhat.com/show_bug.cgi?id=2225569https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/mm/memory.c?h=v6.8-rc3&id=657b5146955eba331e01b9a6ae89ce2e716ba306https://access.redhat.com/security/cve/CVE-2024-1312https://bugzilla.redhat.com/show_bug.cgi?id=2225569https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/mm/memory.c?h=v6.8-rc3&id=657b5146955eba331e01b9a6ae89ce2e716ba306
2024-02-08
Published