Skip to content
CVE PROGRAM SOURCE RECORD9.3 Critical

CVE-2024-36913

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • f2f136c05fb6093818a3b3fefcba46231ac66a62 to < 7f2afcbfe4f6b6047b5f68db5067b7321e5be125affected
  • f2f136c05fb6093818a3b3fefcba46231ac66a62 to < 6123a4e8e25bd40cf44db14694abac00e6b664e6affected
  • f2f136c05fb6093818a3b3fefcba46231ac66a62 to < e813a0fc2e597146e9cebea61ced9c796d4e308faffected
  • f2f136c05fb6093818a3b3fefcba46231ac66a62 to < 03f5a999adba062456c8c818a683beb1b498983aaffected

Linux Linux

Default version status: affected

  • 5.16affected
  • 0 to < 5.16unaffected
  • 6.1.143 to ≤ 6.1.*unaffected
  • 6.6.31 to ≤ 6.6.*unaffected
  • 6.8.10 to ≤ 6.8.*unaffected
  • 6.9 to ≤ *unaffected

References