# CVE-2024-1312: Kernel: race condition leads to use after free during vma lock in lock_vma_under_rcu

- Severity: Medium 5.1 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-02-08T12:38:03.062Z
- Modified: 2026-06-17T07:03:57.437Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- kernel: no versions given (not affected: 6.5-rc4)
- kernel-rt: no versions given
- linux linux_kernel: before 6.5; 6.5
- fedoraproject fedora: 39

## Every score

- redhat: CVSS:3.1 5.1 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://access.redhat.com/security/cve/CVE-2024-1312> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2225569> (issue-tracking, third-party-advisory)
- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/mm/memory.c?h=v6.8-rc3&id=657b5146955eba331e01b9a6ae89ce2e716ba306> (mailing-list, patch)

## Sources

- CVE List: [CVE-2024-1312](https://www.cve.org/CVERecord?id=CVE-2024-1312), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-1312](https://nvd.nist.gov/vuln/detail/CVE-2024-1312), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-1312 · Whole record: https://cve.day/CVE-2024-1312.json · Rebuilt by cve.day 2026-11-25T22:58:36.671Z
