CVE-2026-97539: usb: xusbatm: don't rely on id table pointer arithmetic
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
usb: xusbatm: don't rely on id table pointer arithmetic
The current code is broken when dynamic ID is involved; in such cases usb_device_id parameter of probe lives on the heap and the pointer arithmetic will get an index that is wildly out of bound. xusbatm initialize the USB device IDs dynamically so it can just use driver_info too.
Even with conversion, xusbatm still cannot support dynamic IDs, so also set no_dynamic_id.
The Linux kernel CVE team has assigned CVE-2026-97539 to this issue.
Affected and fixed versions
===========================
Fixed in 6.12.111 with commit fad6cab36474758abf55c6419dd79a06a27fcefc Fixed in 6.18.53 with commit 8944ef1bfda537aaf329c82e7a5f9faf61340aa9 Fixed in 7.2.7 with commit f7db611d98b68d15661561d2cefa774208774ccc Fixed in 7.3-rc1 with commit eb6cd6d3d8abeac5d7e8251b898067184afdad8a
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-97539
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/usb/atm/xusbatm.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/fad6cab36474758abf55c6419dd79a06a27fcefc https://git.kernel.org/stable/c/8944ef1bfda537aaf329c82e7a5f9faf61340aa9 https://git.kernel.org/stable/c/f7db611d98b68d15661561d2cefa774208774ccc https://git.kernel.org/stable/c/eb6cd6d3d8abeac5d7e8251b898067184afdad8a