Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: dummy: Check card index validity at probe snd_dummy_probe() blindly trusts that the given devptr->id value is within the proper card index range. It's OK for the devices the driver itself creates at the module probe time, but if the device is bound manually via sysfs interface, this could be -1 as "none", and this leads to OOB access for index[] and other parameters. Add a sanity check for the card index and warn/correct it if it's a value out of the range.
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
6e65c1cc4458b2784224759b6137a50d4f65e610 to < b7579e86afcec932e169d10e2d603abed8dd2fdfaffected6e65c1cc4458b2784224759b6137a50d4f65e610 to < 4d0892a90b57f0e89b274c3f3c51c2fa17937c88affected6e65c1cc4458b2784224759b6137a50d4f65e610 to < b20eb7ecbdaa3e649023fe41b177d90983ffb487affected6e65c1cc4458b2784224759b6137a50d4f65e610 to < c9f10a001c243d1f069ebb0e2f4999ad4043a254affected6e65c1cc4458b2784224759b6137a50d4f65e610 to < f20c2c32ec1c5c3526f29a03b487c55a5890996caffected6e65c1cc4458b2784224759b6137a50d4f65e610 to < 3dba0e92e18980cb5a4d70a9a263539ae4f0c7ecaffected6e65c1cc4458b2784224759b6137a50d4f65e610 to < 690b721b9595f9a43395fd4047a832c42b5b6078affected6e65c1cc4458b2784224759b6137a50d4f65e610 to < 02442d5fe8ee365a084b055d4fa81a0c1abfc3fdaffected
Linux Linux
Default version status: affected
2.6.16affected0 to < 2.6.16unaffected5.15.218 to ≤ 5.15.*unaffected6.1.185 to ≤ 6.1.*unaffected6.6.154 to ≤ 6.6.*unaffected6.12.106 to ≤ 6.12.*unaffected6.18.47 to ≤ 6.18.*unaffected7.1.11 to ≤ 7.1.*unaffected7.2.1 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/b7579e86afcec932e169d10e2d603abed8dd2fdf ↗
- https://git.kernel.org/stable/c/4d0892a90b57f0e89b274c3f3c51c2fa17937c88 ↗
- https://git.kernel.org/stable/c/b20eb7ecbdaa3e649023fe41b177d90983ffb487 ↗
- https://git.kernel.org/stable/c/c9f10a001c243d1f069ebb0e2f4999ad4043a254 ↗
- https://git.kernel.org/stable/c/f20c2c32ec1c5c3526f29a03b487c55a5890996c ↗
- https://git.kernel.org/stable/c/3dba0e92e18980cb5a4d70a9a263539ae4f0c7ec ↗
- https://git.kernel.org/stable/c/690b721b9595f9a43395fd4047a832c42b5b6078 ↗
- https://git.kernel.org/stable/c/02442d5fe8ee365a084b055d4fa81a0c1abfc3fd ↗