CVE-2026-99610: ALSA: caiaq: free the EP4 URB when input setup fails
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ALSA: caiaq: free the EP4 URB when input setup fails
The three controllers that use the EP4 input URB allocate it before checking the endpoint type and before registering the input device. On failure they jump to exit_free_idev, which clears cdev->input_dev but leaves cdev->ep4_in_urb set. The card teardown then calls snd_usb_caiaq_input_free(), which returns early because input_dev is NULL, so the URB is never freed.
Release the URB before dropping the input device on the error path.
The Linux kernel CVE team has assigned CVE-2026-99610 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.35 with commit 6da7a2aa899f75116e1a62cef78c358ada9878b7 and fixed in 6.12.118 with commit 998f6dfb9b2ea14cad586417e23b6614a2c99fdc Issue introduced in 2.6.35 with commit 6da7a2aa899f75116e1a62cef78c358ada9878b7 and fixed in 6.18.64 with commit 6f9cd0e44a576556c59e1591e4432d1e6768d088 Issue introduced in 2.6.35 with commit 6da7a2aa899f75116e1a62cef78c358ada9878b7 and fixed in 7.3.5 with commit 5c1bbdfe5331b287c179fe118cb7e6db04c4032b Issue introduced in 2.6.35 with commit 6da7a2aa899f75116e1a62cef78c358ada9878b7 and fixed in 7.4-rc2 with commit d21746bafdb8e1a5fc9bdcb86f603d827a500a62
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-99610
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/caiaq/input.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/998f6dfb9b2ea14cad586417e23b6614a2c99fdc https://git.kernel.org/stable/c/6f9cd0e44a576556c59e1591e4432d1e6768d088 https://git.kernel.org/stable/c/5c1bbdfe5331b287c179fe118cb7e6db04c4032b https://git.kernel.org/stable/c/d21746bafdb8e1a5fc9bdcb86f603d827a500a62