CVE-2024-36910 uio_hv_generic: Don't free decrypted memory

High 8.4 Published Updated

An attacker in a confidential computing VM can cause the Linux kernel to leak decrypted memory to the page allocator, potentially exposing sensitive data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-36910?

CVE-2024-36910 is a high-severity vulnerability in Linux kernel, published on 30 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-200

Which versions are affected by CVE-2024-36910?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-36910?

Apply the vendor's patch.

Is CVE-2024-36910 being exploited?

There is no known exploitation of CVE-2024-36910 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-43248, AZL-43285, BELL-CVE-2024-36910, DEBIAN-CVE-2024-36910, ROOT-OS-DEBIAN-11-CVE-2024-36910, ROOT-OS-UBUNTU-2204-CVE-2024-36910 and 1 more.

Is CVE-2024-36910 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free