CVE-2024-36909CWE-401

CVE-2024-36909

Critical · published May 30, 2024

CVSS v3.1
9.3
EPSS
0%
Percentile
14.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.3 · CRITICAL
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00241 · 14.4th percentile
Weakness
CWE-401 · Missing Release of Memory after Effective Lifetime
Published
2024-05-30T20:15Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel< 6.1.916.1.91
linux/linux_kernel≥ 6.2, < 6.6.316.6.31
linux/linux_kernel≥ 6.7, < 6.8.106.8.10
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (8)
EPSS history
Timeline
  • 30 MAY 15:29Z
    Drivers: hv: vmbus: Don't free ring buffers that couldn't be re-encrypted
    cvelistv5