CVE-2023-4611
Linux Kernel vulnerability analysis and mitigation

Overview

A use-after-free vulnerability (CVE-2023-4611) was discovered in the memory management subsystem (mm/mempolicy.c) of the Linux Kernel. The vulnerability was disclosed on August 29, 2023, and affects Linux Kernel versions up to (excluding) 6.5. The issue stems from a race condition between mbind() and VMA-locked page fault operations (NVD, Debian Tracker).

Technical details

The vulnerability occurs when mbind() calls vma_replace_policy() without taking the per-VMA locks, replaces the VMA's vma->vm_policy pointer, and frees the old policy. This creates a race condition where a concurrent page fault might still be using the old policy in vma_alloc_folio(), resulting in use-after-free. While this typically manifests as a use-after-free read initially, it can lead to memory corruption, particularly when vma_alloc_folio() calls mpol_cond_put() on the freed policy, which conditionally changes the policy's refcount member. The vulnerability affects systems with CONFIG_NUMA, including non-NUMA systems built with CONFIG_NUMA enabled (Spinics Commit).

Impact

The vulnerability can allow a local attacker to crash the system or potentially cause a kernel information leak. The severity is rated as MEDIUM with a CVSS v3.1 base score of 6.3 (AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H) (NVD).

Mitigation and workarounds

The vulnerability was fixed in Linux Kernel 6.5-rc4 with a patch that modifies mm/mempolicy.c to take the VMA lock before replacing the policy. The fix involves adding proper locking mechanisms to prevent the race condition between mbind() and page fault operations (Spinics 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-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-oem-6.14
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-rt-64k-core
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-nvidia-tegra-5.15
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • linux-aws-fips
NoYesJan 05, 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