{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-98436",
  "modified": "2026-10-27T05:30:01Z",
  "upstream": [
    "CVE-2026-98436"
  ],
  "published": "2026-10-18T14:45:37Z",
  "summary": "accel/amdxdna: Disable device buffer exporting",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\naccel/amdxdna: Disable device buffer exporting\n\nDevice buffers are never intended to be exported. Disable exporting\nsupport explicitly.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-98436"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/33b00fa8023e8ade3409aa9c833b8ce65b8c29eb"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/9480dd7ec3fcadd4217503e4bb32c16e19e4b21f"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-10-26T07:06:18Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 7.8,
      "cvss_v3_severity": "High",
      "scenario": "AV:L - A local DRM_IOCTL_AMDXDNA_CREATE_BO reaches amdxdna_drm_create_bo_ioctl()\u2192amdxdna_drm_create_dev_bo(). PRIME_HANDLE_TO_FD then reaches the site fixed by amdxdna_gem_dev_obj_export(); without that callback, drm_gem_prime_handle_to_dmabuf() exports the object, with no remote input.\nAC:L - The attacker maps a DEV_HEAP, creates and exports an AMDXDNA_BO_DEV, closes the accel fd to free its amdxdna_client, then closes the retained dma-buf fd. This deterministic sequence requires no race or condition outside the attacker's control.\nPR:L - AMDXDNA_CREATE_BO is registered with flags 0, while PRIME_HANDLE_TO_FD has DRM_RENDER_ALLOW but no DRM_ROOT_ONLY or DRM_AUTH; drm_ioctl_permit() imposes no capability check. Only ordinary access to /dev/accel/accelN is required.\nUI:N - The attacker personally creates, maps, exports, and closes the buffer descriptors; no victim must open a file, mount media, or perform another action.\nS:U - The dangling amdxdna_client and its dev_heap_mm are kernel-owned objects corrupted within the host kernel's security authority; this path does not itself escape a VM or bypass an IOMMU boundary.\nC:H - After amdxdna_client_cleanup() frees abo->client, amdxdna_gem_heap_free() follows that stale pointer into dev_heap_mm and dev_heap_xa. Reclaiming the freed client allocation permits attacker-influenced pointer reads and the arbitrary-disclosure potential of a kernel UAF.\nI:H - amdxdna_gem_heap_free() locks the freed client->mm_lock and drm_mm_remove_node() performs tree/list updates through the freed dev_heap_mm. Heap grooming can control reclaimed pointer state, turning these writes into memory corruption and potential control-flow hijacking.\nA:H - Closing the retained dma-buf invokes drm_gem_dmabuf_release()\u2192amdxdna_gem_dev_obj_free() and operates on the destroyed mutex and freed drm_mm state, which can immediately oops or panic the kernel."
    }
  }
}
