Wiz Agents & Workflows are here

CVE-2024-26976
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-26976 affects the Linux kernel's KVM (Kernel Virtual Machine) subsystem, specifically related to the handling of async page fault workqueues when a virtual CPU (vCPU) is being destroyed. The vulnerability was discovered in January 2024 and affects various Linux kernel versions (NVD, RHSA).

Technical details

The vulnerability stems from improper handling of workqueue callbacks when the last reference to the KVM module is released. The issue occurs because gifting a reference to the associated VM prevents workqueue callback from dereferencing freed vCPU/VM memory, but does not prevent the KVM module from being unloaded before the callback completes. This can lead to a deadlock condition when kvm_put_kvm() is called from async_pf_execute() if kvm_put_kvm() flushes the async #PF workqueue (Kernel Commit). The vulnerability has been assigned a CVSS v3.1 Base Score of 7.0 (HIGH) with vector: AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (RHSA).

Impact

The vulnerability could potentially lead to a denial of service condition through a deadlock, affecting system stability and availability. The deadlock occurs because async_pf_execute() cannot return until kvm_put_kvm() finishes, and kvm_put_kvm() cannot return until async_pf_execute() finishes (Kernel Commit).

Mitigation and workarounds

The issue has been fixed by adding proper flushing of the async #PF workqueue when a vCPU is being destroyed. The fix includes dropping the VM refcount gifting and adding a helper function to handle the flushing, specifically dealing with "wakeup all" work items (Kernel Commit). The fix has been backported to various Linux distributions including Red Hat Enterprise Linux and Debian (RHSA).

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-2026-23395CRITICAL9.1
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-devel-matched
NoYesMar 25, 2026
CVE-2026-23399MEDIUM6.5
  • Linux KernelLinux Kernel
  • kernel-rt-debug-modules-extra
NoYesMar 28, 2026
CVE-2026-23398MEDIUM6.5
  • Linux KernelLinux Kernel
  • kernel-64k-debug
NoYesMar 26, 2026
CVE-2026-23397MEDIUM4.4
  • Linux KernelLinux Kernel
  • kernel-rt-64k-modules-core
NoYesMar 26, 2026
CVE-2026-31788N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-fde
NoYesMar 25, 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