CVE-2026-72092: accel/amdxdna: reject command submission on devices without a submit op
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
accel/amdxdna: reject command submission on devices without a submit op
amdxdna_cmd_submit() calls xdna->dev_info->ops->cmd_submit() unconditionally, but only aie2_dev_ops defines that callback. aie4_vf_ops (the AIE4 SR-IOV virtual function) does not, so a user AMDXDNA_EXEC_CMD ioctl on an AIE4 device reaches a NULL function-pointer call and oopses the kernel. AIE4 submits work through a mapped user queue and doorbell, not this ioctl path.
Reject the submission early with -EOPNOTSUPP when the device provides no cmd_submit op, so the shared EXEC ioctl is a clean no-op on such devices.
Found by 0sec automated security-research tooling (https://0sec.ai).
The Linux kernel CVE team has assigned CVE-2026-72092 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.14 with commit aac243092b707bb3018e951d470cc1a9bcbaba6c and fixed in 6.18.42 with commit af7a4c2caa7a191d6e7ed33903b69f9901874cd0 Issue introduced in 6.14 with commit aac243092b707bb3018e951d470cc1a9bcbaba6c and fixed in 7.1.5 with commit f7d08603c87bae19ca3e424da5ab6d0aee81886e Issue introduced in 6.14 with commit aac243092b707bb3018e951d470cc1a9bcbaba6c and fixed in 7.2-rc4 with commit 38953513d7313992676d4136cd425cdb70c6278e
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-72092
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/amdxdna_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/af7a4c2caa7a191d6e7ed33903b69f9901874cd0 https://git.kernel.org/stable/c/f7d08603c87bae19ca3e424da5ab6d0aee81886e https://git.kernel.org/stable/c/38953513d7313992676d4136cd425cdb70c6278e