Vulnerability in Kernel package: KVM: SVM: Use kzalloc for sev ioctl interfaces to prevent kernel data leak
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.