CVE-2024-36909

MEDIUM

Linux Kernel < 6.1.91, 6.2.0-6.6.31, 6.7.0-6.8.10 - Use-After-Free in VMBus Ring Buffer Handling

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: Drivers: hv: vmbus: Don't free ring buffers that couldn't be re-encrypted 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 ring buffer code could free decrypted/shared pages if set_memory_decrypted() fails. Check the decrypted field in the struct vmbus_gpadl for the ring buffers to decide whether to free the memory.

Scores

CVSS v3 5.5
EPSS 0.0022
EPSS Percentile 13.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-401
Status published
Products (15)
linux/Kernel 5.16.0 - 6.1.91linux
linux/Kernel 6.2.0 - 6.6.31linux
linux/Kernel 6.7.0 - 6.8.10linux
Linux/Linux < 5.16
Linux/Linux 5.16
Linux/Linux 6.1.91 - 6.1.*
Linux/Linux 6.6.31 - 6.6.*
Linux/Linux 6.8.10 - 6.8.*
Linux/Linux 6.9
Linux/Linux d4dccf353db80e209f262e3973c834e6e48ba9a9 - 2f622008bf784a9f5dd17baa19223cc2ac30a039
... and 5 more
Published May 30, 2024
Tracked Since Feb 18, 2026