CVE-2024-1312
Linux Kernel vulnerability analysis and mitigation

Overview

A use-after-free vulnerability (CVE-2024-1312) was discovered in the Linux kernel's Memory Management subsystem, specifically in the mas_prev_slot function. The vulnerability was disclosed on February 8, 2024, affecting Linux kernel versions up to (excluding) 6.5. This security flaw occurs when a user wins two races simultaneously during VMA lock operations in lock_vma_under_rcu (NVD, RedHat Bugzilla).

Technical details

The vulnerability is classified as a use-after-free (CWE-416) issue that occurs in the Linux kernel's Memory Management subsystem. The CVSS v3.1 base score is 4.7 (Medium), with a vector string of CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H. The issue arises during lock_vma_under_rcu() operations where a race condition can lead to a use-after-free scenario. The vulnerability requires local access and high complexity to exploit (NVD).

Impact

If successfully exploited, this vulnerability could allow a local user to crash the system. The impact is primarily focused on system availability, with no direct impact on confidentiality or integrity (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Linux kernel version 6.5-rc4. Users are advised to upgrade their Linux kernel to version 6.5 or later to address this security issue. The fix involves modifying the lock_vma_under_rcu() function to properly check vma->anon_vma under vma lock (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management