CVE-2024-36913

published 30 May 2024 · updated 12 Aug 2026

Drivers: hv: vmbus: Leak pages if set_memory_encrypted() fails

9.3CriticalCVSS 9.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 03f5a999adba062456c8c818a683beb1b498983a, Kernel 6123a4e8e25bd40cf44db14694abac00e6b664e6, Kernel 7f2afcbfe4f6b6047b5f68db5067b7321e5be125 and 1 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.16, >=f2f136c05fb6093818a3b3fefcba46231ac66a62 <03f5a999adba062456c8c818a683beb1b498983a, >=f2f136c05fb6093818a3b3fefcba46231ac66a62 <6123a4e8e25bd40cf44db14694abac00e6b664e6, >=f2f136c05fb6093818a3b3fefcba46231ac66a62 <7f2afcbfe4f6b6047b5f68db5067b7321e5be125, >=f2f136c05fb6093818a3b3fefcba46231ac66a62 <e813a0fc2e597146e9cebea61ced9c796d4e308f03f5a999adba062456c8c818a683beb1b498983a, 6123a4e8e25bd40cf44db14694abac00e6b664e6, 7f2afcbfe4f6b6047b5f68db5067b7321e5be125, e813a0fc2e597146e9cebea61ced9c796d4e308f

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-36913 severity on Zeptric[![CVE-2024-36913](https://zeptric.io/badge/cve/CVE-2024-36913.svg)](https://zeptric.io/cve/CVE-2024-36913)