CVE-2024-36913
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability in the Linux kernel's Microsoft Hyper-V VMBus driver has been identified (CVE-2024-36913). The issue was discovered in May 2024 and affects the memory encryption handling in Confidential Computing (CoCo) Virtual Machines. In CoCo VMs, an untrusted host can cause setmemoryencrypted() or setmemorydecrypted() functions to fail, resulting in memory being improperly shared (Kernel Commit).

Technical details

The vulnerability exists in the VMBus code where failed memory encryption/decryption operations could lead to decrypted (shared) memory being returned to the page allocator. When setmemoryencrypted() or setmemorydecrypted() fails, the encryption state of the memory becomes unknown. The issue specifically affects the drivers/hv/connection.c file in the Linux kernel. The vulnerability has been assigned a CVSS v3.1 base score of 8.1 HIGH with vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H (CISA ADP).

Impact

If exploited, this vulnerability could lead to functional or security issues by exposing sensitive memory contents. The main risk is that decrypted (shared) memory could be returned to the page allocator, potentially allowing access to confidential data that should remain encrypted in CoCo VMs (Kernel Commit).

Mitigation and workarounds

The issue has been patched in the Linux kernel by modifying the VMBus code to leak pages instead of returning them to the free list when setmemoryencrypted() or setmemorydecrypted() fails. This prevents potentially decrypted memory from being reused. The fix involves changes to the memory handling in the vmbusconnect() and vmbusdisconnect() functions (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-39886MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-internal
NoYesSep 23, 2025
CVE-2025-39889N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-debug-kvm
NoYesSep 24, 2025
CVE-2025-39888N/AN/A
  • Linux KernelLinux Kernel
  • linux-fips
NoYesSep 23, 2025
CVE-2025-39887N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoYesSep 23, 2025
CVE-2025-39884N/AN/A
  • Linux KernelLinux Kernel
  • kernel-kdump
NoYesSep 23, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management