5.1medium
Kernel: race condition leads to use after free during vma lock in lock_vma_under_rcu
- Severity
- 5.1medium CVSS:3.1 by redhat
- Exploit likelihood
- 0.30% (higher than 15% of CVEs)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| kernel | Not specified Not affected: 6.5-rc4 | CVE List |
| kernel-rt | Not specified | CVE List |
| linux linux_kernel | before 6.5, 6.5 | NVD |
| fedoraproject fedora | 39 | NVD |
All scores
| redhat | 5.1medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 4.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Se encontró una falla de use-after-free en el subsistema de administración de memoria del kernel de Linux cuando un usuario gana dos carreras al mismo tiempo con una falla en la función mas_prev_slot. Este problema podría permitir que un usuario local bloquee el sistema.
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-1312 changed 2024-08-01 | CVE Terms of Use |
| NVD | CVE-2024-1312 changed 2026-06-17 | Public domain |