VDB

CVE-2024-36909

CVE-2024-36909 PUBLISHED CVSS 9.3 CRITICAL

Drivers: hv: vmbus: Don't free ring buffers that couldn't be re-encrypted

Reported by linux · Published May 30, 2024

In the Linux kernel, the following vulnerability has been resolved: Drivers: hv: vmbus: Don't free ring buffers that couldn't be re-encrypted 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 ring buffer code could free decrypted/shared pages if set_memory_decrypted() fails. Check the decrypted field in the struct vmbus_gpadl for the ring buffers to decide whether to free the memory.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-libbpf-develAmazon Linux6.1.91-99.172.amzn2023
kernel-modules-extra-commonAmazon Linux6.1.91-99.172.amzn2023
kernel-libbpfAmazon Linux6.1.91-99.172.amzn2023
kernel-modules-extraAmazon Linux6.1.91-99.172.amzn2023
kernelAmazon Linux6.1.91-99.172.amzn2023
kernel-toolsAmazon Linux6.1.91-99.172.amzn2023
linux_kernellinux6.8.10, 6.6.31, 6.1.91
LinuxLinuxa9212a4e2963a7fbe3864ba33dc551d4ad8d0abb, 82f9e213b124a7d2bb5b16ea35d570260ef467e0, 5.16, 30d18df6567be09c1433e81993e35e3da573ac48, 2f622008bf784a9f5dd17baa19223cc2ac30a039

Risk scores

CVSS 3.1
9.3
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxd4dccf353db80e209f262e3973c834e6e48ba9a9, d4dccf353db80e209f262e3973c834e6e48ba9a9, d4dccf353db80e209f262e3973c834e6e48ba9a9
LinuxLinux5.16, 0, 6.1.91
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-libbpf0
amazon:2023kernel-modules-extra0
amazon:2023kernel0
amazon:2023kernel-tools0
LinuxLinux6.8.10, *, *
amazon:2023kernel-tools-devel0
amazon:2023kernel-livepatch-6.1.91-99.1720
linuxlinux_kernel5.16, 5.16, 5.16
amazon:2023kernel-devel0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-headers0
amazon:2023perf0
amazon:2023bpftool0
amazon:2023python3-perf0

Timeline

  • May 30, 2024 CVE Published
  • May 31, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (22 in total, the first dated here)
  • Jan 9, 2026 Security Advisory (323 in total, the first dated here)
  • Jan 9, 2026 CVE Updated
  • Mar 31, 2026 Distribution Patch (227 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-36909
vulnetix vdb fixes CVE-2024-36909

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-36909/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›