{"id":"CVE-2026-45980","state":"PUBLISHED","title":"accel/amdxdna: Stop job scheduling across aie2_release_resource()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\naccel/amdxdna: Stop job scheduling across aie2_release_resource()\n\nRunning jobs on a hardware context while it is in the process of\nreleasing resources can lead to use-after-free and crashes.\n\nFix this by stopping job scheduling before calling\naie2_release_resource() and restarting it after the release completes.\nAdditionally, aie2_sched_job_run() now checks whether the hardware\ncontext is still active.","publishedAt":"2026-05-27T12:18:39.136Z","updatedAt":"2026-08-05T12:29:00.693Z","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":"4fd6ca90fc7f509977585d39885f21b2911123f3","status":"affected","lessThan":"b79d31dce49b50c79620389b3639280802a86960","versionType":"git"},{"version":"4fd6ca90fc7f509977585d39885f21b2911123f3","status":"affected","lessThan":"688c3ff079b10e4600f040944430d3d4ff448a15","versionType":"git"},{"version":"4fd6ca90fc7f509977585d39885f21b2911123f3","status":"affected","lessThan":"f1370241fe8045702bc9d0812b996791f0500f1b","versionType":"git"},{"version":"36f781a3f0deac92f169416997a17e73538cf470","status":"affected","versionType":"git"},{"version":"6.14.9","status":"affected","lessThan":"6.15","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/accel/amdxdna/aie2_ctx.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.14","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.4","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","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/aie2_ctx.c"]}],"references":["https://git.kernel.org/stable/c/b79d31dce49b50c79620389b3639280802a86960","https://git.kernel.org/stable/c/688c3ff079b10e4600f040944430d3d4ff448a15","https://git.kernel.org/stable/c/f1370241fe8045702bc9d0812b996791f0500f1b"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/45xxx/CVE-2026-45980.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-45980","state":"PUBLISHED","datePublished":"2026-05-27T12:18:39.136Z","dateUpdated":"2026-08-05T12:29:00.693Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-05-13T15:03:33.090Z"},"containers":{"cna":{"title":"accel/amdxdna: Stop job scheduling across aie2_release_resource()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\naccel/amdxdna: Stop job scheduling across aie2_release_resource()\n\nRunning jobs on a hardware context while it is in the process of\nreleasing resources can lead to use-after-free and crashes.\n\nFix this by stopping job scheduling before calling\naie2_release_resource() and restarting it after the release completes.\nAdditionally, aie2_sched_job_run() now checks whether the hardware\ncontext is still active."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4fd6ca90fc7f509977585d39885f21b2911123f3","status":"affected","lessThan":"b79d31dce49b50c79620389b3639280802a86960","versionType":"git"},{"version":"4fd6ca90fc7f509977585d39885f21b2911123f3","status":"affected","lessThan":"688c3ff079b10e4600f040944430d3d4ff448a15","versionType":"git"},{"version":"4fd6ca90fc7f509977585d39885f21b2911123f3","status":"affected","lessThan":"f1370241fe8045702bc9d0812b996791f0500f1b","versionType":"git"},{"version":"36f781a3f0deac92f169416997a17e73538cf470","status":"affected","versionType":"git"},{"version":"6.14.9","status":"affected","lessThan":"6.15","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/accel/amdxdna/aie2_ctx.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.14","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.4","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","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/aie2_ctx.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/b79d31dce49b50c79620389b3639280802a86960"},{"url":"https://git.kernel.org/stable/c/688c3ff079b10e4600f040944430d3d4ff448a15"},{"url":"https://git.kernel.org/stable/c/f1370241fe8045702bc9d0812b996791f0500f1b"}],"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 - The vulnerability is reached through ioctls (AMDXDNA_EXEC_CMD and AMDXDNA_DESTROY_HWCTX) on the local /dev/accel/accelN device file; there is no network exposure.\nAC:L - This is a race between the DRM scheduler running a queued job and the hwctx resource release, and the attacker controls both sides (submitting jobs and triggering destroy), so it can be reliably reproduced by looping create/submit/destroy cycles.\nPR:L - The relevant ioctls carry flag 0 with no capability or root check, and the NPU device is intended for unprivileged user-space ML applications, so any local user with device access can trigger it without elevated privileges.\nUI:N - The attacking process performs all steps (open, submit, destroy) itself; no victim action is required.\nS:U - The use-after-free corrupts kernel heap within the kernel's own security authority and does not cross into a separate VM/IOMMU boundary.\nC:H - The freed mailbox channel object can be reclaimed via heap spray, giving the attacker control over its contents and enabling kernel memory disclosure; per guidance UAF is High.\nI:H - The UAF on the channel object used for DMA/command submission enables heap-spray reallocation and controlled writes, providing an arbitrary-write/control-flow primitive.\nA:H - The race-induced use-after-free causes kernel oops/panic, as explicitly stated in the fix commit (\"use-after-free and crashes\")."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:29:00.693Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.18.14"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.19.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.0"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14.9"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}