CVE-2024-36911

hv_netvsc: Don't free decrypted memory

State
Published
Severity
9.8 Critical
Published
May 30, 2024
Updated
Oct 30, 2026
Reserved
May 30, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d4dccf353db80e209f262e3973c834e6e48ba9a9 to before fb671512ffb26570c05ba3fbe20752e645809192Affected
  • d4dccf353db80e209f262e3973c834e6e48ba9a9 to before a56fe611326332bf6b7126e5559590c57dcebad4Affected
  • d4dccf353db80e209f262e3973c834e6e48ba9a9 to before 4aaed9dbe8acd2b6114458f0498a617283d6275bAffected
  • d4dccf353db80e209f262e3973c834e6e48ba9a9 to before bbf9ac34677b57506a13682b31a2a718934c0e31Affected
LinuxLinux
  • 5.16Affected
  • before 5.16Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.31 through 6.6.*Not affected
  • 6.8.10 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.