CVE-2026-72483: usb: host: max3421: Fix shift-out-of-bounds in max3421_hub_control()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
usb: host: max3421: Fix shift-out-of-bounds in max3421_hub_control()
The max3421_hub_control() function handles USB hub class requests to the virtual root hub. In the default branches of both the ClearPortFeature and SetPortFeature switch statements, it modifies max3421_hcd->port_status by left shifting 1 by the request's value parameter. However, it does not validate whether this shift will exceed the width of port_status.
So if a malicious userspace task with access to the root hub via /dev/bus/usb/.../001 issues a USBDEVFS_CONTROL ioctl with wValue greater than or equal to 32, the left shift operation invokes shift-out-of-bounds undefined behavior. This results in arbitrary bit corruption of port_status, including the normally-immutable change bits, which can bypass internal state checks and confuse the hub status.
Fix this by rejecting requests whose value exceeds the shift width before performing the shift.
This issue was found using a KLEE-based symbolic execution tool for kernel drivers that I'm currently developing.
The Linux kernel CVE team has assigned CVE-2026-72483 to this issue.
Affected and fixed versions
===========================
Issue introduced in 3.16 with commit 2d53139f31626bad6f8983d8e519ddde2cbba921 and fixed in 5.10.261 with commit e5fa9d8f40746ec3447335c9642c03410f5fd3af Issue introduced in 3.16 with commit 2d53139f31626bad6f8983d8e519ddde2cbba921 and fixed in 5.15.212 with commit 08b1d4cab0230697bc74c63fc4e40170a7559c54 Issue introduced in 3.16 with commit 2d53139f31626bad6f8983d8e519ddde2cbba921 and fixed in 6.1.178 with commit 3be5f24e8270ba53b3c814d13689bb8644c86237 Issue introduced in 3.16 with commit 2d53139f31626bad6f8983d8e519ddde2cbba921 and fixed in 6.6.145 with commit d512bdefd241b98f4d7bcb5bab5614a86411fad4 Issue introduced in 3.16 with commit 2d53139f31626bad6f8983d8e519ddde2cbba921 and fixed in 6.12.97 with commit 00dd025324b56d39d37e57a08f473dab3a660f30 Issue introduced in 3.16 with commit 2d53139f31626bad6f8983d8e519ddde2cbba921 and fixed in 6.18.40 with commit 02d03c61e8a7b016956acb48e8a2512d16d87517 Issue introduced in 3.16 with commit 2d53139f31626bad6f8983d8e519ddde2cbba921 and fixed in 7.1.5 with commit 4da073d57176d8e1c2bca34febfbc81d2560c1a5 Issue introduced in 3.16 with commit 2d53139f31626bad6f8983d8e519ddde2cbba921 and fixed in 7.2-rc1 with commit cff06b03b530ae1fe8a13e93a7848f2130e00fb4
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-72483
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/host/max3421-hcd.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/e5fa9d8f40746ec3447335c9642c03410f5fd3af https://git.kernel.org/stable/c/08b1d4cab0230697bc74c63fc4e40170a7559c54 https://git.kernel.org/stable/c/3be5f24e8270ba53b3c814d13689bb8644c86237 https://git.kernel.org/stable/c/d512bdefd241b98f4d7bcb5bab5614a86411fad4 https://git.kernel.org/stable/c/00dd025324b56d39d37e57a08f473dab3a660f30 https://git.kernel.org/stable/c/02d03c61e8a7b016956acb48e8a2512d16d87517 https://git.kernel.org/stable/c/4da073d57176d8e1c2bca34febfbc81d2560c1a5 https://git.kernel.org/stable/c/cff06b03b530ae1fe8a13e93a7848f2130e00fb4