CVE-2026-23280: accel/amdxdna: Prevent ubuf size overflow
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
accel/amdxdna: Prevent ubuf size overflow
The ubuf size calculation may overflow, resulting in an undersized allocation and possible memory corruption.
Use check_add_overflow() helpers to validate the size calculation before allocation.
The Linux kernel CVE team has assigned CVE-2026-23280 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.18 with commit bd72d4acda1069579b35123e3cc0b21ec1193a21 and fixed in 6.18.17 with commit 1500b31db94374a6669e73ce94d6f71cf8e85e06 Issue introduced in 6.18 with commit bd72d4acda1069579b35123e3cc0b21ec1193a21 and fixed in 6.19.7 with commit 972bf4a23478fcb247b4f507d47a584bc8aea5bd Issue introduced in 6.18 with commit bd72d4acda1069579b35123e3cc0b21ec1193a21 and fixed in 7.0-rc2 with commit 03808abb1d868aed7478a11a82e5bb4b3f1ca6d6
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-23280
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_ubuf.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/1500b31db94374a6669e73ce94d6f71cf8e85e06 https://git.kernel.org/stable/c/972bf4a23478fcb247b4f507d47a584bc8aea5bd https://git.kernel.org/stable/c/03808abb1d868aed7478a11a82e5bb4b3f1ca6d6