CVE-2024-36912CWE-1258

CVE-2024-36912

Critical · published May 30, 2024

CVSS v3.1
9.6
EPSS
1%
Percentile
61.3
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

Drivers: hv: vmbus: Track decrypted status in vmbus_gpadl

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.

In order to make sure callers of vmbus_establish_gpadl() and

vmbus_teardown_gpadl() don't return decrypted/shared pages to

allocators, add a field in struct vmbus_gpadl to keep track of the

decryption status of the buffers. This will allow the callers to

know if they should free or leak the pages.

The record
Technical detail
CVSS v3.1
9.6 · CRITICAL
Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00965 · 61.3th percentile
Weakness
CWE-1258 · Exposure of Sensitive System Information Due to Uncleared Debug Information
Published
2024-05-30T20:15Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel≥ 5.16, < 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: Track decrypted status in vmbus_gpadl
    cvelistv5