CVE-2026-23424: accel/amdxdna: Validate command buffer payload count
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
accel/amdxdna: Validate command buffer payload count
The count field in the command header is used to determine the valid payload size. Verify that the valid payload does not exceed the remaining buffer space.
The Linux kernel CVE team has assigned CVE-2026-23424 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.14 with commit aac243092b707bb3018e951d470cc1a9bcbaba6c and fixed in 6.18.17 with commit 3464e751755172ddbb849c1bd92f5f59e95c59a1 Issue introduced in 6.14 with commit aac243092b707bb3018e951d470cc1a9bcbaba6c and fixed in 6.19.7 with commit 3ed2ae6b3fe869f99b75afd02045ba5c0c0773e2 Issue introduced in 6.14 with commit aac243092b707bb3018e951d470cc1a9bcbaba6c and fixed in 7.0-rc2 with commit 901ec3470994006bc8dd02399e16b675566c3416
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-23424
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/3464e751755172ddbb849c1bd92f5f59e95c59a1 https://git.kernel.org/stable/c/3ed2ae6b3fe869f99b75afd02045ba5c0c0773e2 https://git.kernel.org/stable/c/901ec3470994006bc8dd02399e16b675566c3416