Wiz Agents & Workflows are here

CVE-2024-50066
CBL Mariner vulnerability analysis and mitigation

Overview

A race condition vulnerability (CVE-2024-50066) was discovered in the Linux kernel's memory management subsystem, specifically in the mremap functionality. The vulnerability affects Linux kernel versions from 6.6 up to (excluding) 6.6.58, versions from 6.7 up to (excluding) 6.11.5, and versions 6.12-rc1 through 6.12-rc3. The issue was discovered and reported by Jann Horn (Kernel Patch).

Technical details

The vulnerability occurs in the move_normal_pmd() function during mremap operations. The issue arises because rmap locks, which protect against concurrent page table removal by retract_page_tables() in the THP (Transparent Huge Pages) code, are only taken after the PMD entry has been read and its movement method has been determined. This creates a race condition between the mremap operation and page table removal, potentially resulting in the creation of bogus PMD entries. On x86 systems, this can lead to physical page 0 being mapped as a page table (Kernel Patch). The vulnerability has been assigned a CVSS v3.1 base score of 7.0 HIGH (AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H) (NVD).

Impact

When successfully exploited, this vulnerability can lead to user-to-kernel privilege escalation on affected systems. However, the impact is limited by specific requirements for exploitation. The bug requires the ability to create shmem/file THP mappings, which typically necessitates either the experimental CONFIG_READ_ONLY_THP_FOR_FS flag or access to shmem THP through a user's own tmpfs mount with specific flags (Kernel Patch).

Mitigation and workarounds

The vulnerability has been fixed in Linux kernel version 6.6.58 and later, as well as in version 6.11.5 and later. The fix involves adding a check to verify that the PMD still points to a page table after the rmap locks have been taken, with a fallback to PTE-level copying if the check fails (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related CBL Mariner vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-27135HIGH7.5
  • NixOSNixOS
  • nodejs24
NoYesMar 18, 2026
CVE-2026-4111HIGH7.5
  • Rocky LinuxRocky Linux
  • libarchive
NoYesMar 13, 2026
CVE-2026-32775HIGH7.4
  • CBL MarinerCBL Mariner
  • libexif-devel
NoYesMar 16, 2026
CVE-2026-27459HIGH7.2
  • PythonPython
  • rust-asn1+std-devel
NoYesMar 18, 2026
CVE-2026-27448LOW1.7
  • PythonPython
  • airflow-3
NoYesMar 18, 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