CVE-2024-36910

uio_hv_generic: Don't free decrypted memory

HIGH
8.4
CVSS Score
Published: May 30, 2024 at 03:29 PM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.4
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.1.915.16 ≤ v < 6.1.915.16 ≤ v < 6.6.315.16 ≤ v < 6.8.105.16 ≤ v < 6.96.2 ≤ v < 6.6.316.7 ≤ v < 6.8.101da177e4c3f46.9 rc16.9 rc26.9 rc3d4dccf353db80e209f262e3973c834e6e48ba9a9
Vendor states this is fixed in 3d788b2fbe6a (fixed)
Vendor states this is fixed in 3d788b2fbe6a1a1a9e3db09742b90809d51638b7 (fixed)
Vendor states this is fixed in 6466a0f6d235 (fixed)
Vendor states this is fixed in 6466a0f6d235c8a18c602cb587160d7e49876db9 (fixed)
Vendor states this is fixed in dabf12bf9943 (fixed)
Vendor states this is fixed in dabf12bf994318d939f70d47cfda30e47abb2c54 (fixed)
Vendor states this is fixed in fe2c58602354 (fixed)
Vendor states this is fixed in fe2c58602354fbd60680dc42ac3a0b772cda7d23 (fixed)
Vendor states this is fixed in 5.16 (unaffected)
Vendor states this is fixed in 6.1.91 (unaffected)
Vendor states this is fixed in 6.6.31 (unaffected)
Vendor states this is fixed in 6.8.10 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3d788b2fbe6a1a1a9e3db09742b90809d51638b7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6466a0f6d235c8a18c602cb587160d7e49876db9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/dabf12bf994318d939f70d47cfda30e47abb2c54
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fe2c58602354fbd60680dc42ac3a0b772cda7d23

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.4HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-200

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card