138 lines
7.3 KiB
JSON
138 lines
7.3 KiB
JSON
{
|
|
"dataType": "CVE_RECORD",
|
|
"dataVersion": "5.2",
|
|
"cveMetadata": {
|
|
"cveId": "CVE-2026-98436",
|
|
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
|
|
"state": "PUBLISHED",
|
|
"assignerShortName": "Linux",
|
|
"dateReserved": "2026-09-25T10:25:14.349Z",
|
|
"datePublished": "2026-10-18T14:45:25.364Z",
|
|
"dateUpdated": "2026-10-26T06:55:45.188Z"
|
|
},
|
|
"containers": {
|
|
"cna": {
|
|
"providerMetadata": {
|
|
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
|
|
"shortName": "Linux",
|
|
"dateUpdated": "2026-10-26T06:55:45.188Z"
|
|
},
|
|
"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."
|
|
}
|
|
],
|
|
"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."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"affected": [
|
|
{
|
|
"product": "Linux",
|
|
"vendor": "Linux",
|
|
"defaultStatus": "unaffected",
|
|
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
|
|
"programFiles": [
|
|
"drivers/accel/amdxdna/amdxdna_gem.c"
|
|
],
|
|
"versions": [
|
|
{
|
|
"version": "ac49797c1815d4f8f04b7053b2998c546283c89e",
|
|
"lessThan": "33b00fa8023e8ade3409aa9c833b8ce65b8c29eb",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "ac49797c1815d4f8f04b7053b2998c546283c89e",
|
|
"lessThan": "9480dd7ec3fcadd4217503e4bb32c16e19e4b21f",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"product": "Linux",
|
|
"vendor": "Linux",
|
|
"defaultStatus": "affected",
|
|
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
|
|
"programFiles": [
|
|
"drivers/accel/amdxdna/amdxdna_gem.c"
|
|
],
|
|
"versions": [
|
|
{
|
|
"version": "6.14",
|
|
"status": "affected"
|
|
},
|
|
{
|
|
"version": "0",
|
|
"lessThan": "6.14",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "7.2.7",
|
|
"lessThanOrEqual": "7.2.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "7.3",
|
|
"lessThanOrEqual": "*",
|
|
"status": "unaffected",
|
|
"versionType": "original_commit_for_fix"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/33b00fa8023e8ade3409aa9c833b8ce65b8c29eb"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/9480dd7ec3fcadd4217503e4bb32c16e19e4b21f"
|
|
}
|
|
],
|
|
"title": "accel/amdxdna: Disable device buffer exporting",
|
|
"x_generator": {
|
|
"engine": "bippy-1.2.0"
|
|
}
|
|
}
|
|
}
|
|
} |