CVE-2024-36911
CriticalCVSS 9.8Exploitation Probability (EPSS)
Low risk13th percentile - higher than 13% of all known CVEs
Summary
In the Linux kernel, a problem was found in the hv_netvsc driver where decrypted memory could be freed. In CoCo VMs, an untrusted host can cause set_memory_encrypted() or set_memory_decrypted() to fail, leaving memory shared. The netvsc driver could free decrypted/shared pages if set_memory_decrypted() fails. The fix checks the decrypted field in the gpadl to decide whether to free the memory.
Risk Assessment
Freeing decrypted memory can lead to confidentiality or integrity breaches, as shared memory may be accessible to the untrusted host, potentially enabling attacks.
Recommendation
It is recommended to update the Linux kernel to a version containing the fix for CVE-2024-36911, which prevents freeing decrypted memory.
Original NVD description (English source)
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 fail such that an error is returned and the resulting memory is shared. Callers need to take care to handle these errors to avoid returning decrypted (shared) memory to the page allocator, which could lead to functional or security issues. The netvsc driver could free decrypted/shared pages if set_memory_decrypted() fails. Check the decrypted field in the gpadl to decide whether to free the memory.

