CVE-2026-90034: usb: image: mdc800: change kmalloc() to kzalloc()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
usb: image: mdc800: change kmalloc() to kzalloc()
Change the kmalloc() calls in usb_mdc800_init() for irq_urb_buffer and download_urb_buffer to kzalloc(), avoiding potential stack leaks if a shorter message is received in mdc800_usb_irq() and mdc800_usb_download_notify()
The Linux kernel CVE team has assigned CVE-2026-90034 to this issue.
Affected and fixed versions
===========================
Fixed in 5.10.270 with commit 6c601410d1a9ae645f604fe2f61b9f4942c77dfb Fixed in 5.15.221 with commit 2df8f7720ed91f1aad4f128553b6e90c7c5fac1e Fixed in 6.1.188 with commit 67c6726dd6048a2781aa43a2bf9fcf1e16ee3a7d Fixed in 6.6.157 with commit 553c375e86a49882e95840565512e17bff31cc3a Fixed in 6.12.110 with commit 8c38049879f2108f57c98f03cc7f3db51a12bdab Fixed in 6.18.51 with commit 838455cc8bfe1278150d1d776529edea6cd4c1dd Fixed in 7.2.5 with commit e22428f0c038c23109c0383a235aa607b0cd4c95 Fixed in 7.3-rc2 with commit 2430eb81e44111b30eeb5273bbcf8b24ca517ef9
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-90034
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/image/mdc800.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/6c601410d1a9ae645f604fe2f61b9f4942c77dfb https://git.kernel.org/stable/c/2df8f7720ed91f1aad4f128553b6e90c7c5fac1e https://git.kernel.org/stable/c/67c6726dd6048a2781aa43a2bf9fcf1e16ee3a7d https://git.kernel.org/stable/c/553c375e86a49882e95840565512e17bff31cc3a https://git.kernel.org/stable/c/8c38049879f2108f57c98f03cc7f3db51a12bdab https://git.kernel.org/stable/c/838455cc8bfe1278150d1d776529edea6cd4c1dd https://git.kernel.org/stable/c/e22428f0c038c23109c0383a235aa607b0cd4c95 https://git.kernel.org/stable/c/2430eb81e44111b30eeb5273bbcf8b24ca517ef9