CVE-2024-36913
JSON

9.3critical

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

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

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

Product or packageVersionsReported by
Linux Linuxfrom f2f136c05fb6093818a3b3fefcba46231ac66a62 before 7f2afcbfe4f6b6047b5f68db5067b7321e5be125, from f2f136c05fb6093818a3b3fefcba46231ac66a62 before 6123a4e8e25bd40cf44db14694abac00e6b664e6, from f2f136c05fb6093818a3b3fefcba46231ac66a62 before e813a0fc2e597146e9cebea61ced9c796d4e308f, from f2f136c05fb6093818a3b3fefcba46231ac66a62 before 03f5a999adba062456c8c818a683beb1b498983a, 5.16
Not affected: before 5.16, from 6.1.143 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_kernelfrom 1da177e4c3f4 before 6123a4e8e25b, from 1da177e4c3f4 before e813a0fc2e59, from 1da177e4c3f4 before 03f5a999adba, from 5.16 before 6.1.143, from 6.2 before 6.6.31, from 6.7 before 6.8.10, 6.9CVE List, NVD
debian debian_linux11.0NVD

All scores

Linux9.3critical CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CISA-ADP8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-1258

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

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: Controladores: hv: vmbus: páginas de fuga si falla set_memory_encrypted() En 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 manera que se produzca un error se devuelve y la memoria resultante se comparte. 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 código VMBus podría liberar páginas descifradas si falla set_memory_encrypted()/decrypted(). Filtre las páginas si esto sucede.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-36913 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-36913 changed 2026-08-04Public domain