Skip to contentSkip to conversation

CVE-2026-45980: accel/amdxdna: Stop job scheduling across aie2_release_resource()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 27

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

accel/amdxdna: Stop job scheduling across aie2_release_resource()

Running jobs on a hardware context while it is in the process of releasing resources can lead to use-after-free and crashes.

Fix this by stopping job scheduling before calling aie2_release_resource() and restarting it after the release completes. Additionally, aie2_sched_job_run() now checks whether the hardware context is still active.

The Linux kernel CVE team has assigned CVE-2026-45980 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.15 with commit 4fd6ca90fc7f509977585d39885f21b2911123f3 and fixed in 6.18.14 with commit b79d31dce49b50c79620389b3639280802a86960
	Issue introduced in 6.15 with commit 4fd6ca90fc7f509977585d39885f21b2911123f3 and fixed in 6.19.4 with commit 688c3ff079b10e4600f040944430d3d4ff448a15
	Issue introduced in 6.15 with commit 4fd6ca90fc7f509977585d39885f21b2911123f3 and fixed in 7.0 with commit f1370241fe8045702bc9d0812b996791f0500f1b
	Issue introduced in 6.14.9 with commit 36f781a3f0deac92f169416997a17e73538cf470

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-45980

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/accel/amdxdna/aie2_ctx.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/b79d31dce49b50c79620389b3639280802a86960
	https://git.kernel.org/stable/c/688c3ff079b10e4600f040944430d3d4ff448a15
	https://git.kernel.org/stable/c/f1370241fe8045702bc9d0812b996791f0500f1b