CVE-2024-36913 Drivers: hv: vmbus: Leak pages if set_memory_encrypted() fails
An attacker controlling a CoCo VM host can cause memory leaks of decrypted pages, potentially exposing sensitive data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-36913?
CVE-2024-36913 is a critical vulnerability in Debian Debian Linux, published on 30 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
Drivers: hv: vmbus: Leak pages if set_memory_encrypted() fails
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.
VMBus code could free decrypted pages if set_memory_encrypted()/decrypted() fails. Leak the pages if this happens.
Weakness: CWE-1258
Which versions are affected by CVE-2024-36913?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2024-36913?
Apply the vendor's patch.
Is CVE-2024-36913 being exploited?
There is no known exploitation of CVE-2024-36913 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as BELL-CVE-2024-36913, DEBIAN-CVE-2024-36913, ROOT-OS-DEBIAN-12-CVE-2024-36913, ROOT-OS-UBUNTU-2204-CVE-2024-36913, UBUNTU-CVE-2024-36913.