{"id":"CVE-2026-98436","state":"PUBLISHED","title":"accel/amdxdna: Disable device buffer exporting","description":"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.","publishedAt":"2026-10-18T14:45:25.364Z","updatedAt":"2026-10-26T06:55:45.188Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ac49797c1815d4f8f04b7053b2998c546283c89e","status":"affected","lessThan":"33b00fa8023e8ade3409aa9c833b8ce65b8c29eb","versionType":"git"},{"version":"ac49797c1815d4f8f04b7053b2998c546283c89e","status":"affected","lessThan":"9480dd7ec3fcadd4217503e4bb32c16e19e4b21f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/accel/amdxdna/amdxdna_gem.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.14","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/accel/amdxdna/amdxdna_gem.c"]}],"references":["https://git.kernel.org/stable/c/33b00fa8023e8ade3409aa9c833b8ce65b8c29eb","https://git.kernel.org/stable/c/9480dd7ec3fcadd4217503e4bb32c16e19e4b21f"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98436.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98436","state":"PUBLISHED","datePublished":"2026-10-18T14:45:25.364Z","dateUpdated":"2026-10-26T06:55:45.188Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.349Z"},"containers":{"cna":{"title":"accel/amdxdna: Disable device buffer exporting","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ac49797c1815d4f8f04b7053b2998c546283c89e","status":"affected","lessThan":"33b00fa8023e8ade3409aa9c833b8ce65b8c29eb","versionType":"git"},{"version":"ac49797c1815d4f8f04b7053b2998c546283c89e","status":"affected","lessThan":"9480dd7ec3fcadd4217503e4bb32c16e19e4b21f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/accel/amdxdna/amdxdna_gem.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.14","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/accel/amdxdna/amdxdna_gem.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/33b00fa8023e8ade3409aa9c833b8ce65b8c29eb"},{"url":"https://git.kernel.org/stable/c/9480dd7ec3fcadd4217503e4bb32c16e19e4b21f"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - A local DRM_IOCTL_AMDXDNA_CREATE_BO reaches amdxdna_drm_create_bo_ioctl()→amdxdna_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()→amdxdna_gem_dev_obj_free() and operates on the destroyed mutex and freed drm_mm state, which can immediately oops or panic the kernel."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-26T06:55:45.188Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.2.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}