CVE-2026-46184: sound: ua101: fix division by zero at probe
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
sound: ua101: fix division by zero at probe
Add a missing sanity check for bNrChannels in detect_usb_format() to prevent a division by zero in playback_urb_complete() and capture_urb_complete().
USB core does not validate class-specific descriptor fields such as bNrChannels, so drivers must verify them before use. If a device provides bNrChannels = 0, frame_bytes becomes zero and is later used as a divisor in the URB completion handlers, leading to a kernel crash.
The Linux kernel CVE team has assigned CVE-2026-46184 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.34 with commit 63978ab3e3e963db28093b53bb4598f2702e1ad7 and fixed in 6.6.140 with commit 6162e8212e88c39492d981b248b5e37002486c66 Issue introduced in 2.6.34 with commit 63978ab3e3e963db28093b53bb4598f2702e1ad7 and fixed in 6.12.88 with commit 593dd7e6c890d8e4ca21b3e2f796b7cb8e8da983 Issue introduced in 2.6.34 with commit 63978ab3e3e963db28093b53bb4598f2702e1ad7 and fixed in 6.18.30 with commit 0ff2b713f406e9ecadb406014d74e7a020ac12b1 Issue introduced in 2.6.34 with commit 63978ab3e3e963db28093b53bb4598f2702e1ad7 and fixed in 7.0.7 with commit f1862dbf09080254c52175a448290c784dd7d3de Issue introduced in 2.6.34 with commit 63978ab3e3e963db28093b53bb4598f2702e1ad7 and fixed in 7.1-rc2 with commit d1f73f169c1014463b5060e3f60813e13ddc7b87
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-46184
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:
sound/usb/misc/ua101.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/6162e8212e88c39492d981b248b5e37002486c66 https://git.kernel.org/stable/c/593dd7e6c890d8e4ca21b3e2f796b7cb8e8da983 https://git.kernel.org/stable/c/0ff2b713f406e9ecadb406014d74e7a020ac12b1 https://git.kernel.org/stable/c/f1862dbf09080254c52175a448290c784dd7d3de https://git.kernel.org/stable/c/d1f73f169c1014463b5060e3f60813e13ddc7b87