Skip to content
Heist/ feed
Back to feed
CriticalFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.91, 6.6.31, 6.8.10
CVEs
CVE-2024-36909
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 17:37 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 30 May 2024, 15:29 UTC

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.

osv:CVE-2024-36909

Kernel

Fixed versions: 6.1.91, 6.6.31, 6.8.10

Complete source record
{
  "id": "54e0566f36e1f3cf1aa8373d627a655d38f4b38bdfd5a0496576af38bb21b2b1",
  "url": "https://osv.dev/vulnerability/CVE-2024-36909",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Drivers: hv: vmbus: Don't free ring buffers that couldn't be re-encrypted",
    "summary": "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.",
    "evidence": "osv:CVE-2024-36909",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.91",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.31",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.8.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "CVE-2024-36909",
      "aliases": [
        "CVE-2024-36909"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "d4dccf353db80e209f262e3973c834e6e48ba9a9"
                },
                {
                  "fixed": "2f622008bf784a9f5dd17baa19223cc2ac30a039"
                },
                {
                  "fixed": "82f9e213b124a7d2bb5b16ea35d570260ef467e0"
                },
                {
                  "fixed": "a9212a4e2963a7fbe3864ba33dc551d4ad8d0abb"
                },
                {
                  "fixed": "30d18df6567be09c1433e81993e35e3da573ac48"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-36909.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.91"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.31"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.8.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-36909.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:44.894936844Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/2f622008bf784a9f5dd17baa19223cc2ac30a039",
        "https://git.kernel.org/stable/c/30d18df6567be09c1433e81993e35e3da573ac48",
        "https://git.kernel.org/stable/c/82f9e213b124a7d2bb5b16ea35d570260ef467e0",
        "https://git.kernel.org/stable/c/a9212a4e2963a7fbe3864ba33dc551d4ad8d0abb",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36909.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-36909",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36909.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-36909",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 512553,
  "published_at": "2024-05-30T15:29:08.339+00:00"
}