Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: virmidi: Check card index validity at probe virmidi driver blindly trusts that the given devptr->id value is within the proper card index range at probe. 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
3564fbb880f9a62ddbb81b7440c32e0e6619c52d to < 3ee9cea821730805f232f1e4db0f95e7420477fcaffected3564fbb880f9a62ddbb81b7440c32e0e6619c52d to < ffefee7daf2362f534097422bb7f8894e798adfdaffected3564fbb880f9a62ddbb81b7440c32e0e6619c52d to < 368c521503e38e9bcfcf04c053eb1f85d22391b2affected3564fbb880f9a62ddbb81b7440c32e0e6619c52d to < 43f161c53279adac0517cf1c443e531e738b54ceaffected3564fbb880f9a62ddbb81b7440c32e0e6619c52d to < 40ee4224e2fe24c05b92e4d37476adb6e83f10e9affected3564fbb880f9a62ddbb81b7440c32e0e6619c52d to < f48c5f3b03afdb795e5f448a1d53d912d5b09f2eaffected3564fbb880f9a62ddbb81b7440c32e0e6619c52d to < b65d5182ecd6b7a24a83d980a0d06e809ef876c5affected
Linux Linux
Default version status: affected
2.6.16affected0 to < 2.6.16unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.109 to ≤ 6.12.*unaffected6.18.50 to ≤ 6.18.*unaffected7.2.4 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/3ee9cea821730805f232f1e4db0f95e7420477fc ↗
- https://git.kernel.org/stable/c/ffefee7daf2362f534097422bb7f8894e798adfd ↗
- https://git.kernel.org/stable/c/368c521503e38e9bcfcf04c053eb1f85d22391b2 ↗
- https://git.kernel.org/stable/c/43f161c53279adac0517cf1c443e531e738b54ce ↗
- https://git.kernel.org/stable/c/40ee4224e2fe24c05b92e4d37476adb6e83f10e9 ↗
- https://git.kernel.org/stable/c/f48c5f3b03afdb795e5f448a1d53d912d5b09f2e ↗
- https://git.kernel.org/stable/c/b65d5182ecd6b7a24a83d980a0d06e809ef876c5 ↗