Shift-Out-of-Bounds Vulnerability in Linux Kernel Package

linux Updated 02 Oct 2025

Summary

07/11/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-50139: In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Fix shift-out-of-bounds bug Fix a shift-out-of-bounds bug reported by UBSAN when running VM with MTE enabled host kernel. Affects linux versions < 6.11.6-1. Fixed in 6.11.6-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux kernel is the core component of the Linux operating system, responsible for managing hardware resources and providing essential services to applications. It is widely used across various platforms, including servers, desktops, and embedded systems. The kernel's stability and security are critical, as vulnerabilities can lead to severe consequences, including system crashes or unauthorized access. This specific vulnerability affects the KVM (Kernel-based Virtual Machine) component of the Linux kernel, which allows users to run virtual machines on Linux hosts.

Vulnerability Detail

In the Linux kernel, a shift-out-of-bounds bug was identified in the KVM module for arm64 architecture. This vulnerability arises when running a virtual machine with Memory Tagging Extension (MTE) enabled. The issue is triggered by a shift operation where the shift exponent exceeds the bounds of the data type, specifically when the exponent is 33 for a 32-bit integer. This can lead to unexpected behavior, including potential crashes or security breaches, as it may allow for the execution of arbitrary code or manipulation of system resources.

How To Fix

Minimum fixed version

6.11.6-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. However, users are advised to avoid enabling MTE in their virtual machines until the system is updated to the patched version.

Conclusion

The shift-out-of-bounds vulnerability in the Linux kernel's KVM module poses significant risks to system stability and security. Users are strongly encouraged to update their kernel to the patched version 6.11.6-1 to protect against potential exploits. Monitoring tools like Vulert can assist in identifying vulnerabilities in your applications.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability is a shift-out-of-bounds bug in the KVM module of the Linux kernel, which can lead to system instability and potential security risks.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring access to the code.

If exploited, this vulnerability could lead to system crashes, unauthorized access, or execution of arbitrary code, compromising the security of the affected systems.

Yes, the vulnerability affects versions prior to 6.11.6-1. Users should update to this version or later to mitigate the risk.

If an immediate update is not possible, consider disabling MTE in your virtual machines as a temporary measure until you can apply the patch.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.11.6-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback