CVE-2025-68783
N/A
Summary
In the Linux kernel, the following vulnerability has been resolved:
ALSA: usb-mixer: us16x08: validate meter packet indices
get_meter_levels_from_urb() parses the 64-byte meter packets sent by the device and fills the per-channel arrays meter_level[], comp_level[] and master_level[] in struct snd_us16x08_meter_store.
Currently the function derives the channel index directly from the meter packet (MUB2(meter_urb, s) - 1) and uses it to index those arrays without validating the range. If the packet contains a negative or out-of-range channel number, the driver may write past the end of these arrays.
Introduce a local channel variable and validate it before updating the arrays. We reject negative indices, limit meter_level[] and comp_level[] to SND_US16X08_MAX_CHANNELS, and guard master_level[] updates with ARRAY_SIZE(master_level).
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | d2bb390a2081a36ffe906724d2848d846f2aeb29 < 53461710a95e15ac1f6542450943a492ecf8e550 | affected |
| Linux | Linux | d2bb390a2081a36ffe906724d2848d846f2aeb29 < 2168866396bd28ec4f3c8da0fbc7d08b5bd4f053 | affected |
| Linux | Linux | d2bb390a2081a36ffe906724d2848d846f2aeb29 < cde47f4ccad6751ac36b7471572ddf38ee91870c | affected |
| Linux | Linux | d2bb390a2081a36ffe906724d2848d846f2aeb29 < 2f21a7cbaaa93926f5be15bc095b9c57c35748d9 | affected |
| Linux | Linux | d2bb390a2081a36ffe906724d2848d846f2aeb29 < a8ad320efb663be30b794e3dd3e829301c0d0ed3 | affected |
| Linux | Linux | d2bb390a2081a36ffe906724d2848d846f2aeb29 < eaa95228b8a56c4880a182c0350d67922b22408f | affected |
| Linux | Linux | d2bb390a2081a36ffe906724d2848d846f2aeb29 < 5526c1c6ba1d0913c7dfcbbd6fe1744ea7c55f1e | affected |
| Linux | Linux | 4.11 | affected |
| Linux | Linux | 0 < 4.11 | unaffected |
| Linux | Linux | 5.10.248 <= 5.10.* | unaffected |
| Linux | Linux | 5.15.198 <= 5.15.* | unaffected |
| Linux | Linux | 6.1.160 <= 6.1.* | unaffected |
| Linux | Linux | 6.6.120 <= 6.6.* | unaffected |
| Linux | Linux | 6.12.64 <= 6.12.* | unaffected |
| Linux | Linux | 6.18.3 <= 6.18.* | unaffected |
| Linux | Linux | 6.19 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/53461710a95e15ac1f6542450943a492ecf8e550
- https://git.kernel.org/stable/c/2168866396bd28ec4f3c8da0fbc7d08b5bd4f053
- https://git.kernel.org/stable/c/cde47f4ccad6751ac36b7471572ddf38ee91870c
- https://git.kernel.org/stable/c/2f21a7cbaaa93926f5be15bc095b9c57c35748d9
- https://git.kernel.org/stable/c/a8ad320efb663be30b794e3dd3e829301c0d0ed3
- https://git.kernel.org/stable/c/eaa95228b8a56c4880a182c0350d67922b22408f
- https://git.kernel.org/stable/c/5526c1c6ba1d0913c7dfcbbd6fe1744ea7c55f1e
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.