CVE-2024-36911: linux-libc-dev - hv_netvsc: Don't free decrypted memory
Summary
CVE-2024-36911: In the Linux kernel, the following vulnerability has been resolved: hv_netvsc: Don't free decrypted memory In CoCo VMs it is possible for the untrusted host to cause set_memory_encrypted() or set_memory_decrypted() to fa... Affects linux versions 5.10.103-1 – 6.9.9-1. 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 linux-libc-dev package is a development package that provides the necessary C library headers for compiling programs that use the Linux kernel's system calls and data structures. It is an essential component for building and running applications on Linux systems. The vulnerability affects the hv_netvsc driver, which is responsible for handling network communication between the host and guest in CoCo VMs (Virtual Machines).
Vulnerability Detail
The vulnerability (CVE-2024-36911) in the hv_netvsc driver allows an untrusted host to cause set_memory_encrypted() or set_memory_decrypted() to fail, resulting in shared memory. If the netvsc driver frees decrypted/shared pages when set_memory_decrypted() fails, it can lead to functional or security issues. The driver needs to handle these errors properly to avoid returning decrypted memory to the page allocator.
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.
Conclusion
The linux-libc-dev package is vulnerable to a memory handling issue in the hv_netvsc driver. To mitigate this vulnerability, it is crucial to update the package to version 6.1.90-1 or later. For further assistance or support in addressing this vulnerability, please contact DevNack.com.
See every vulnerability recorded for linux →
FAQ
linux-libc-dev is a development package that provides C library headers for compiling programs that use Linux kernel system calls and data structures.
hv_netvsc is a driver responsible for network communication between the host and guest in CoCo VMs (Virtual Machines).
If the netvsc driver frees decrypted/shared pages when set_memory_decrypted() fails, it can lead to functional or security issues.
To fix this vulnerability, update the linux-libc-dev package to version 6.1.90-1 or later.
You can obtain the updated package from the official Debian repositories or through the package manager of your Linux distribution.
Related vulnerabilities
Recent vulnerabilities recorded for linux.