Vulnerability in Kernel package: KVM: SVM: Use kzalloc for sev ioctl interfaces to prevent kernel data leak

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003452: KVM: SVM: Use kzalloc for sev ioctl interfaces to prevent kernel data leak. Affects Kernel versions >= eaf78265a4ab33935d3a0f1407ce4a91aac4d4d5, < d8fdb4b24097472ff6b3c0559448200d420b1418. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kernel package is a fundamental component of the Linux operating system. It provides the core functionality and interfaces for communication between hardware and software. The KVM (Kernel-based Virtual Machine) subsystem within the Kernel package allows running virtual machines on the host system. Within the KVM subsystem, SVM (Secure Virtual Machine) is a feature that provides hardware-assisted virtualization for improved security. However, a vulnerability has been discovered in the SVM implementation that can lead to a kernel data leak.

Vulnerability Detail

The vulnerability arises from a lack of proper memory initialization in the sev (Secure Encrypted Virtualization) ioctl (input/output control) interfaces of the SVM implementation. Specifically, the memory allocated for these interfaces is not cleared, potentially allowing an attacker to access sensitive kernel data. This vulnerability was introduced in version v5.7 of the Linux Kernel and has been fixed in version v5.15.45. The impact and attack plausibility of this vulnerability have not been proven yet.

How To Fix

No fixed version is published for this vulnerability.

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

Workaround

There is no specific workaround mentioned for this vulnerability. However, applying the recommended fix by updating the Kernel package to the latest version is the best course of action.

Conclusion

In conclusion, a vulnerability has been identified in the Kernel package's SVM implementation, specifically in the sev ioctl interfaces. This vulnerability can potentially lead to a kernel data leak. It is recommended to update the Kernel package to version v5.15.45 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel package is a crucial component of the Linux operating system, providing core functionality and interfaces for hardware-software communication.

KVM (Kernel-based Virtual Machine) is a subsystem within the Kernel package that enables running virtual machines on the host system.

SVM (Secure Virtual Machine) is a feature within the KVM subsystem that provides hardware-assisted virtualization for improved security.

The sev ioctl interface is an input/output control interface within the SVM implementation that deals with Secure Encrypted Virtualization.

To fix this vulnerability, update the Linux Kernel package to version v5.15.45 or later, which includes the necessary fix for the sev ioctl interfaces.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

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