Skip to content
CVE PROGRAM SOURCE RECORD9.8 Critical

CVE-2024-36911

hv_netvsc: Don't free decrypted memory

Description

In the Linux kernel, the following vulnerability has been resolved: hv_netvsc: Don't free decrypted memory 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. The netvsc driver could free decrypted/shared pages if set_memory_decrypted() fails. Check the decrypted field in the gpadl to decide whether to free the memory.

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

  • d4dccf353db80e209f262e3973c834e6e48ba9a9 to < fb671512ffb26570c05ba3fbe20752e645809192affected
  • d4dccf353db80e209f262e3973c834e6e48ba9a9 to < a56fe611326332bf6b7126e5559590c57dcebad4affected
  • d4dccf353db80e209f262e3973c834e6e48ba9a9 to < 4aaed9dbe8acd2b6114458f0498a617283d6275baffected
  • d4dccf353db80e209f262e3973c834e6e48ba9a9 to < bbf9ac34677b57506a13682b31a2a718934c0e31affected

Linux Linux

Default version status: affected

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

References