Circular Locking Dependency in Linux Kernel: KVM Vulnerability

linux Updated 02 Oct 2025

Summary

03/04/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-26691: In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Fix circular locking dependency The rule inside kvm enforces that the vcpu->mutex is taken *inside* kvm->lock. Affects linux versions < 6.7.7-1. Fixed in 6.7.7-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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is a core component of many operating systems, providing essential services for hardware management and system resources. It supports various functionalities, including process management, memory management, and device control. The kernel is crucial for system stability and performance. This particular vulnerability affects the KVM (Kernel-based Virtual Machine) subsystem, which allows the Linux kernel to function as a hypervisor, enabling the creation and management of virtual machines. The vulnerability arises from a circular locking dependency that can lead to deadlocks, potentially compromising system stability and security.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the KVM subsystem, specifically related to the handling of virtual CPU (vcpu) locks. The issue stems from the pkvm_create_hyp_vm() function, which improperly acquires the kvm->lock while already holding the vcpu->mutex lock from kvm_vcpu_ioctl(). This violation of locking rules can lead to a circular locking dependency, resulting in potential deadlocks and system instability. The vulnerability has been assigned the identifier DEBIAN-CVE-2024-26691 and affects versions of the Linux package prior to 6.7.7-1.

How To Fix

Minimum fixed version

6.7.7-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. The best course of action is to apply the patch by updating the package to the fixed version.

Conclusion

The circular locking dependency vulnerability in the KVM subsystem of the Linux kernel poses significant risks to system stability and security. Users are encouraged to update their Linux packages to the patched version 6.7.7-1 to protect against potential deadlocks and ensure the smooth operation of their virtual machines.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves a circular locking dependency in the KVM subsystem of the Linux kernel, which can lead to deadlocks.

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

The affected versions are those prior to 6.7.7-1 for both Debian 13 and Debian 14.

Yes, a patch is available in version 6.7.7-1 of the Linux package.

While there are no specific workarounds, it is advisable to monitor the situation and apply the update as soon as possible to mitigate risks.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.7.7-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