CVE-2024-36910·Kernel vulnerability
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.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.8.10
- Published
- 2024-05-30
Affected versions
From: 6.7
Until: 6.8.10
Fixed in: 6.8.10
How to fix this CVE
Update your Linux kernel to version 6.8.10 or later to resolve a memory management vulnerability in the VMBus UIO driver that could allow decrypted (shared) memory pages to be incorrectly freed in confidential computing environments. This patch adds proper validation checks before memory deallocation to prevent potential functional or security issues in CoCo VMs.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Run `uname -r` to check your current kernel version and verify it is 6.8.10 or later
- Check if VMBus device UIO driver is loaded: `lsmod | grep uio_hv_generic`
- If running in a Confidential Computing VM (Azure, Google Cloud, AWS), verify hypervisor type with `hostnamectl` and check dmesg for CoCo VM initialization messages: `dmesg | grep -i 'confidential\|coco\|tdx\|snp'`
- After applying patches, reboot the system and re-run `uname -r` to confirm kernel version is updated to 6.8.10 or later
FAQ
What is CVE-2024-36910?
This vulnerability affects the VMBus device UIO driver in the Linux kernel, where a failed memory encryption operation in confidential computing environments could result in decrypted memory pages being returned to the page allocator, potentially causing security or functional issues.
Is CVE-2024-36910 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available.
What versions of Kernel are affected by CVE-2024-36910?
Kernel versions 6.7 through 6.8.9 are vulnerable. The vulnerability is patched in kernel version 6.8.10 and later.
How do I check if my server is vulnerable to CVE-2024-36910?
Run `uname -r` to check your kernel version. If the output shows a version between 6.7 and 6.8.9, your system is vulnerable. Check if the UIO VMBus driver is in use with `lsmod | grep uio_hv_generic`.
Does Defensia detect CVE-2024-36910?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-36910 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/3d788b2fbe6a1a1a9e3db09742b90809d51638b7
- https://git.kernel.org/stable/c/6466a0f6d235c8a18c602cb587160d7e49876db9
- https://git.kernel.org/stable/c/dabf12bf994318d939f70d47cfda30e47abb2c54
- https://git.kernel.org/stable/c/fe2c58602354fbd60680dc42ac3a0b772cda7d23
- https://git.kernel.org/stable/c/3d788b2fbe6a1a1a9e3db09742b90809d51638b7
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-36910. Free for 1 server.
Get started free