{"id":"CVE-2026-72091","state":"PUBLISHED","title":"accel/amdxdna: reject user command submission without a command BO","description":"In the Linux kernel, the following vulnerability has been resolved:\n\naccel/amdxdna: reject user command submission without a command BO\n\namdxdna_drm_submit_execbuf() passes the user-supplied command BO handle\nstraight into amdxdna_cmd_submit() with drv_cmd == NULL. When the handle\nis AMDXDNA_INVALID_BO_HANDLE (0), the block that fetches job->cmd_bo is\nskipped, leaving it NULL, and no check rejects it on the user path (the\n!job->cmd_bo guard lives inside the != INVALID branch).\n\nThe job is then armed and pushed to the DRM scheduler.\naie2_sched_job_run() takes the drv_cmd == NULL path and calls\namdxdna_cmd_set_state(job->cmd_bo) -> amdxdna_gem_vmap(NULL) ->\nto_gobj(NULL)->dev, a NULL pointer dereference in the drm_sched worker.\nA process with access to the accel node on a system with a probed AMD NPU\ncan trigger a kernel oops with a single AMDXDNA_EXEC_CMD ioctl\n(cmd_handles = 0).\n\nOnly internal driver commands (SYNC_DEBUG_BO / ATTACH_DEBUG_BO)\nlegitimately pass AMDXDNA_INVALID_BO_HANDLE, and they always set drv_cmd.\nReject the invalid handle for user submissions (drv_cmd == NULL) at the\nsubmit choke point so every user path is covered.\n\nFound by 0sec automated security-research tooling (https://0sec.ai).","publishedAt":"2026-08-15T05:52:38.366Z","updatedAt":"2026-10-15T10:08:31.946Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"aac243092b707bb3018e951d470cc1a9bcbaba6c","status":"affected","lessThan":"241cf3b7455bebbe492b9df4912b48e3260061d4","versionType":"git"},{"version":"aac243092b707bb3018e951d470cc1a9bcbaba6c","status":"affected","lessThan":"fff6509d976f6fae423a5236391ccdbd7e0e9f06","versionType":"git"},{"version":"aac243092b707bb3018e951d470cc1a9bcbaba6c","status":"affected","lessThan":"261c1fe3327ad24508f54552c6366e3e4db82c15","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/accel/amdxdna/amdxdna_ctx.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.14","versionType":"semver"},{"version":"6.18.57","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","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_ctx.c"]}],"references":["https://git.kernel.org/stable/c/241cf3b7455bebbe492b9df4912b48e3260061d4","https://git.kernel.org/stable/c/fff6509d976f6fae423a5236391ccdbd7e0e9f06","https://git.kernel.org/stable/c/261c1fe3327ad24508f54552c6366e3e4db82c15"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72091.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72091","state":"PUBLISHED","datePublished":"2026-08-15T05:52:38.366Z","dateUpdated":"2026-10-15T10:08:31.946Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-09T03:40:39.905Z"},"containers":{"cna":{"title":"accel/amdxdna: reject user command submission without a command BO","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\naccel/amdxdna: reject user command submission without a command BO\n\namdxdna_drm_submit_execbuf() passes the user-supplied command BO handle\nstraight into amdxdna_cmd_submit() with drv_cmd == NULL. When the handle\nis AMDXDNA_INVALID_BO_HANDLE (0), the block that fetches job->cmd_bo is\nskipped, leaving it NULL, and no check rejects it on the user path (the\n!job->cmd_bo guard lives inside the != INVALID branch).\n\nThe job is then armed and pushed to the DRM scheduler.\naie2_sched_job_run() takes the drv_cmd == NULL path and calls\namdxdna_cmd_set_state(job->cmd_bo) -> amdxdna_gem_vmap(NULL) ->\nto_gobj(NULL)->dev, a NULL pointer dereference in the drm_sched worker.\nA process with access to the accel node on a system with a probed AMD NPU\ncan trigger a kernel oops with a single AMDXDNA_EXEC_CMD ioctl\n(cmd_handles = 0).\n\nOnly internal driver commands (SYNC_DEBUG_BO / ATTACH_DEBUG_BO)\nlegitimately pass AMDXDNA_INVALID_BO_HANDLE, and they always set drv_cmd.\nReject the invalid handle for user submissions (drv_cmd == NULL) at the\nsubmit choke point so every user path is covered.\n\nFound by 0sec automated security-research tooling (https://0sec.ai)."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"aac243092b707bb3018e951d470cc1a9bcbaba6c","status":"affected","lessThan":"241cf3b7455bebbe492b9df4912b48e3260061d4","versionType":"git"},{"version":"aac243092b707bb3018e951d470cc1a9bcbaba6c","status":"affected","lessThan":"fff6509d976f6fae423a5236391ccdbd7e0e9f06","versionType":"git"},{"version":"aac243092b707bb3018e951d470cc1a9bcbaba6c","status":"affected","lessThan":"261c1fe3327ad24508f54552c6366e3e4db82c15","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/accel/amdxdna/amdxdna_ctx.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.14","versionType":"semver"},{"version":"6.18.57","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","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_ctx.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/241cf3b7455bebbe492b9df4912b48e3260061d4"},{"url":"https://git.kernel.org/stable/c/fff6509d976f6fae423a5236391ccdbd7e0e9f06"},{"url":"https://git.kernel.org/stable/c/261c1fe3327ad24508f54552c6366e3e4db82c15"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-15T10:08:31.946Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"6.18.57"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}