CVE-2024-36911
JSON

9.8critical

hv_netvsc: Don't free decrypted memory

Severity
9.8critical CVSS:3.1 by Linux
Exploit likelihood
0.63% (higher than 51% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom d4dccf353db80e209f262e3973c834e6e48ba9a9 before fb671512ffb26570c05ba3fbe20752e645809192, from d4dccf353db80e209f262e3973c834e6e48ba9a9 before a56fe611326332bf6b7126e5559590c57dcebad4, from d4dccf353db80e209f262e3973c834e6e48ba9a9 before 4aaed9dbe8acd2b6114458f0498a617283d6275b, from d4dccf353db80e209f262e3973c834e6e48ba9a9 before bbf9ac34677b57506a13682b31a2a718934c0e31, 5.16
Not affected: before 5.16, from 6.1.191 up to 6.1.*, from 6.6.31 up to 6.6.*, from 6.8.10 up to 6.8.*, from 6.9 up to *
CVE List
linux linux_kernelbefore 6.6.31, from 6.7 before 6.8.10, 6.9NVD

All scores

Linux9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: hv_netvsc: no liberar memoria descifrada. En las máquinas virtuales CoCo, es posible que el host que no es de confianza provoque que set_memory_encrypted() o set_memory_decrypted() falle, de modo que se devuelva un error y el resultado La memoria es compartida. Las personas que llaman deben tener cuidado al manejar estos errores para evitar devolver memoria descifrada (compartida) al asignador de páginas, lo que podría provocar problemas funcionales o de seguridad. El controlador netvsc podría liberar páginas descifradas/compartidas si falla set_memory_decrypted(). Verifique el campo descifrado en gpadl para decidir si desea liberar la memoria.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-36911 changed 2026-10-30CVE Terms of Use
NVDCVE-2024-36911 changed 2026-10-30Public domain