ALSA: virmidi: Check card index validity at probe
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ffefee7daf2362f534097422bb7f8894e798adfd, Kernel 368c521503e38e9bcfcf04c053eb1f85d22391b2, Kernel 3ee9cea821730805f232f1e4db0f95e7420477fc and 10 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=3564fbb880f9a62ddbb81b7440c32e0e6619c52d <ffefee7daf2362f534097422bb7f8894e798adfd, >=3564fbb880f9a62ddbb81b7440c32e0e6619c52d <368c521503e38e9bcfcf04c053eb1f85d22391b2, >=3564fbb880f9a62ddbb81b7440c32e0e6619c52d <3ee9cea821730805f232f1e4db0f95e7420477fc, >=3564fbb880f9a62ddbb81b7440c32e0e6619c52d <40ee4224e2fe24c05b92e4d37476adb6e83f10e9, >=3564fbb880f9a62ddbb81b7440c32e0e6619c52d <43f161c53279adac0517cf1c443e531e738b54ce, >=3564fbb880f9a62ddbb81b7440c32e0e6619c52d <b65d5182ecd6b7a24a83d980a0d06e809ef876c5, >=3564fbb880f9a62ddbb81b7440c32e0e6619c52d <f48c5f3b03afdb795e5f448a1d53d912d5b09f2e, =2.6.16 | ffefee7daf2362f534097422bb7f8894e798adfd, 368c521503e38e9bcfcf04c053eb1f85d22391b2, 3ee9cea821730805f232f1e4db0f95e7420477fc, 40ee4224e2fe24c05b92e4d37476adb6e83f10e9, 43f161c53279adac0517cf1c443e531e738b54ce, b65d5182ecd6b7a24a83d980a0d06e809ef876c5, f48c5f3b03afdb795e5f448a1d53d912d5b09f2e |
| linux-kernel: Kernel | >=5.16.0 <6.1.188, >=6.13.0 <6.18.50, >=6.19.0 <7.2.4, >=6.2.0 <6.6.157, >=6.7.0 <6.12.109, >=2.6.16 <5.15.221 | 6.1.188, 6.18.50, 7.2.4, 6.6.157, 6.12.109, 5.15.221 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket