CVE-2024-50139
Linux Kernel vulnerability analysis and mitigation

Overview

A shift-out-of-bounds bug was discovered in the Linux kernel's KVM ARM64 implementation. The vulnerability (CVE-2024-50139) affects the ARM64 KVM subsystem when running virtual machines with Memory Tagging Extension (MTE) enabled on the host kernel. The issue was identified in Linux kernel versions from 6.3 up to (excluding) 6.6.59 and from 6.7 up to (excluding) 6.11.6, as well as versions 6.12-rc1 through 6.12-rc4 (NVD).

Technical details

The vulnerability occurs in the reset_clidr function within arch/arm64/kvm/sys_regs.c where a shift operation with an exponent of 33 is performed on a 32-bit integer type, causing an out-of-bounds condition. This was detected by UBSAN (Undefined Behavior Sanitizer) during VM execution with MTE enabled. The issue stems from using an incorrect integer type for the shift operation, where a 32-bit integer was used instead of a 64-bit one (Kernel Patch). The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5 (MEDIUM) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability could lead to undefined behavior in the kernel when running virtual machines with MTE enabled. While there are no direct confidentiality or integrity impacts reported, the vulnerability could potentially result in a denial of service condition affecting the availability of the system (NVD).

Mitigation and workarounds

The vulnerability has been fixed by changing the integer type used in the shift operation from a 32-bit to a 64-bit unsigned long long (ULL) type. The fix has been implemented in the kernel patch that modifies the sys_regs.c file. System administrators should update their Linux kernel to versions that include this fix (Kernel Patch).

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-zfcpdump-modules-core
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-doc
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-abi-stablelists
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules
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