KVM: x86: Avoid theoretical NULL pointer dereference in kvm_irq_delivery_to_apic_fast()

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001765: KVM: x86: Avoid theoretical NULL pointer dereference in kvm_irq_delivery_to_apic_fast(). Affects Kernel versions < 0e5dbc0540baa89faf4c04ccc7e9c4fe6b1d7bf4. No fix is published. 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 Kernel package is a crucial component of the Linux operating system. It provides the core functionality and acts as an interface between the hardware and software layers. The Kernel package includes various subsystems, including the KVM (Kernel-based Virtual Machine) subsystem, which enables virtualization on x86 architectures. KVM allows users to run multiple virtual machines on a single physical machine. One of the key components of KVM is the kvm_irq_delivery_to_apic_fast() function, responsible for delivering interrupts to the Advanced Programmable Interrupt Controller (APIC) in an efficient manner.

Vulnerability Detail

The vulnerability identified in the kvm_irq_delivery_to_apic_fast() function is a theoretical NULL pointer dereference. This means that under certain circumstances, the function may attempt to access memory at a NULL pointer, leading to a crash or potential code execution. While the actual impact and attack plausibility have not been proven, this vulnerability highlights a potential security risk in the KVM subsystem. Exploiting this vulnerability could potentially allow an attacker to disrupt virtual machine operations or gain unauthorized access to the host system.

How To Fix

No fixed version is published for this vulnerability.

The vulnerability has been fixed in the Linux Kernel version v5.15.33 by commit 0e5dbc0540baa89faf4c04ccc7e9c4fe6b1d7bf4. To fix this vulnerability, users are advised to update their Linux Kernel to the latest version available. This can be done by following the update process specific to the Linux distribution being used. It is recommended to regularly update the Kernel to ensure the latest security patches are applied.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As this vulnerability has been fixed in the latest version of the Linux Kernel, there is no specific workaround provided. Users are encouraged to update their Kernel to the fixed version.

Conclusion

The vulnerability in the kvm_irq_delivery_to_apic_fast() function highlights a potential security risk in the KVM subsystem of the Linux Kernel. It is crucial to update the Kernel to the latest version to mitigate this vulnerability and ensure the security of virtual machine operations. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability could potentially allow an attacker to disrupt virtual machine operations or gain unauthorized access to the host system.

There is no evidence to suggest that this vulnerability has been exploited in the wild. However, it is always recommended to apply security patches and updates to mitigate potential risks.

You can use tools like Vulert (https://vulert.com) to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities in the software.

As this vulnerability has been fixed in the latest version of the Linux Kernel, there are no specific workarounds available. It is recommended to update the Kernel to the fixed version.

You can refer to the vulnerability details in the Open Source Vulnerability format provided by the Cloud Security Alliance's GSD database. The details include the fix commit and relevant references.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

The vulnerability has been fixed in the Linux Kernel version v5.15.33 by commit 0e5dbc0540baa89faf4c04ccc7e9c4fe6b1d7bf4. To fix this vulnerability, users are advised to update their Linux Kernel to the latest version available. This can be done by following the update process specific to the Linux distribution being used. It is recommended to regularly update the Kernel to ensure the latest security patches are applied.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.