← CVE Intelligence

CVE-2024-36913

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

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected f2f136c05fb6093818a3b3fefcba46231ac66a62 before 7f2afcbfe4f6b6047b5f68db5067b7321e5be125; affected f2f136c05fb6093818a3b3fefcba46231ac66a62 before 6123a4e8e25bd40cf44db14694abac00e6b664e6; affected f2f136c05fb6093818a3b3fefcba46231ac66a62 before e813a0fc2e597146e9cebea61ced9c796d4e308f; affected f2f136c05fb6093818a3b3fefcba46231ac66a62 before 03f5a999adba062456c8c818a683beb1b498983a
Linux / Linuxaffected 5.16; unaffected 0 before 5.16; unaffected 6.1.143 through 6.1.*; unaffected 6.6.31 through 6.6.*; unaffected 6.8.10 through 6.8.*; unaffected 6.9 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.