CVE-2024-1312
published medium CVSS 3.1 · 5.1Kernel: race condition leads to use after free during vma lock in lock_vma_under_rcu
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | kernel6.5-rc4 | Unaffected | Not stated | redhat |
| n/a | — | kernel | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7, 8, 9 | kernel | Unaffected | Not required | redhat |
| Red Hat Enterprise Linux | 7, 8, 9 | kernel-rt | Unaffected | Not required | redhat |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Fedora | — | kernelFedora | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | kernel | 6.5-rc4 (unaffected) | redhat · cna |
| n/a | kernel | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat · cna |
| Fedora | Fedora | Default: affected | redhat · cna |
Weaknesses
1- CWE-416 Use After Free
References
3- https://access.redhat.com/security/cve/CVE-2024-1312
- RHBZ#2225569 https://bugzilla.redhat.com/show_bug.cgi?id=2225569
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/mm/memory.c?h=v6.8-rc3&id=657b5146955eba331e01b9a6ae89ce2e716ba306
Provider assertions
3redhat · cna
Kernel: race condition leads to use after free during vma lock in lock_vma_under_rcu
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c6151251288b431d191bffab807ad32fcea98db145e7d005607800cd9af0631d
- Ingested
- 23 Sep 2026, 08:18:10 UTC
- Source record
- Official CVE record