CVE-2024-36910
JSON

8.4high

uio_hv_generic: Don't free decrypted memory

Severity
8.4high CVSS:3.1 by Linux
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: uio_hv_generic: 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 VMBus device UIO 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 dabf12bf994318d939f70d47cfda30e47abb2c54, from d4dccf353db80e209f262e3973c834e6e48ba9a9 before 6466a0f6d235c8a18c602cb587160d7e49876db9, from d4dccf353db80e209f262e3973c834e6e48ba9a9 before fe2c58602354fbd60680dc42ac3a0b772cda7d23, from d4dccf353db80e209f262e3973c834e6e48ba9a9 before 3d788b2fbe6a1a1a9e3db09742b90809d51638b7, 5.16
Not affected: before 5.16, from 6.1.91 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 dabf12bf9943, from 1da177e4c3f4 before 6466a0f6d235, from 1da177e4c3f4 before fe2c58602354, from 1da177e4c3f4 before 3d788b2fbe6a, before 6.1.91, from 6.2 before 6.6.31, from 6.7 before 6.8.10, 6.9
Not affected: from 6.1.91 up to 6.1.*, from 6.6.31 up to 6.6.*, from 6.8.10 up to 6.8.*, 6.9
CVE List, NVD

All scores

Linux8.4high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA-ADP6.2medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-200

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: uio_hv_generic: 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 VMBus device UIO 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: uio_hv_generic: 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 UIO del dispositivo VMBus 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-36910 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-36910 changed 2026-08-04Public domain