CVE-2024-36909: Drivers: hv: vmbus: Don't free ring buffers that couldn't be re-encrypted
Drivers: hv: vmbus: Don't free ring buffers that couldn't be re-encrypted
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1 - Configuration
Modify the VMBus ring buffer code to check the decrypted field in the struct vmbus_gpadl for the ring buffers; use this to decide whether to free the memory, so decrypted/shared pages are not returned to the page allocator.
Linux kernel hv vmbus ring buffer / GPADL handling vmbus_gpadl.decrypted check before freeing = Only free ring buffer memory when decrypted field indicates it is safe (i.e., do not free decrypted/shared pages) - Compensating control
In CoCo VMs, assume the untrusted host may cause set_memory_encrypted() or set_memory_decrypted() to fail; ensure error handling prevents decrypted/shared memory from being freed/returned to the page allocator.
Event History
Frequently Asked Questions
What is the severity of CVE-2024-36909?
CVE-2024-36909 has a severity rating that indicates a potential risk due to improper memory management in the Linux kernel.
How do I fix CVE-2024-36909?
To fix CVE-2024-36909, upgrade to the patched versions of the Linux package, specifically 6.1.123-1, 6.1.128-1, 6.12.12-1, or 6.12.13-1.
Which Linux kernel versions are affected by CVE-2024-36909?
CVE-2024-36909 affects Linux kernel versions up to and including 5.10.226-1.
Is CVE-2024-36909 specific to any Linux distributions?
Yes, CVE-2024-36909 is particularly noted within the Debian distribution's Linux kernel packages.
What type of vulnerability is CVE-2024-36909?
CVE-2024-36909 is a memory management vulnerability related to drivers in the Linux kernel.