Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Use fixed control index for us16x08 mixer elements The callbacks for us16x08 mixer elements assume that id.index points to the channel to be operated, and the assumption is correct for now. However, since the kctls are added via snd_usb_mixer_add_control() and it looks for the empty slot if the same control name is already present, in theory, the index can become more than the channel numbers (if a conflicting name really happens). Since the mixer code in us16x08 doesn't need the search for an empty slot but requires the fixed index, this patch changes slightly how to assign the kcontrols. Now, a new argument is added to snd_usb_mixer_add_list() in order to disable the empty slot search, and use it in us16x08's add_new_ctl() helper function, instead.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
d2bb390a2081a36ffe906724d2848d846f2aeb29 to < ecd088a263ff049fbccde42b837d6014693a8886affectedd2bb390a2081a36ffe906724d2848d846f2aeb29 to < 08dd290eedd072a7f893246805d9aed1b12d4385affectedd2bb390a2081a36ffe906724d2848d846f2aeb29 to < ed556eda978e31f565f7f1cf051dad916b7372b6affectedd2bb390a2081a36ffe906724d2848d846f2aeb29 to < cdd662f8002f6f0293818c7f9cc342e01f269b50affectedd2bb390a2081a36ffe906724d2848d846f2aeb29 to < 057e41623d361799ae8059151cd3bf9198665c20affectedd2bb390a2081a36ffe906724d2848d846f2aeb29 to < dd8f1fba35fc7d6cd5e9a205e8365511b2446e92affectedd2bb390a2081a36ffe906724d2848d846f2aeb29 to < 0ff4e0d78710ee752851fab6d792aaa59aa6a435affectedd2bb390a2081a36ffe906724d2848d846f2aeb29 to < a68a688ce220f1b359bec53fa38d1504314dc70faffected
Linux Linux
Default version status: affected
4.11affected0 to < 4.11unaffected5.10.275 to ≤ 5.10.*unaffected5.15.226 to ≤ 5.15.*unaffected6.1.193 to ≤ 6.1.*unaffected6.6.163 to ≤ 6.6.*unaffected6.12.119 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/ecd088a263ff049fbccde42b837d6014693a8886 ↗
- https://git.kernel.org/stable/c/08dd290eedd072a7f893246805d9aed1b12d4385 ↗
- https://git.kernel.org/stable/c/ed556eda978e31f565f7f1cf051dad916b7372b6 ↗
- https://git.kernel.org/stable/c/cdd662f8002f6f0293818c7f9cc342e01f269b50 ↗
- https://git.kernel.org/stable/c/057e41623d361799ae8059151cd3bf9198665c20 ↗
- https://git.kernel.org/stable/c/dd8f1fba35fc7d6cd5e9a205e8365511b2446e92 ↗
- https://git.kernel.org/stable/c/0ff4e0d78710ee752851fab6d792aaa59aa6a435 ↗
- https://git.kernel.org/stable/c/a68a688ce220f1b359bec53fa38d1504314dc70f ↗