ALSA: virmidi: Check card index validity at probe
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.15.221, 6.1.188, 6.6.157, 6.12.109, 6.18.50, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 3564fbb880f9a62ddbb81b7440c32e0e6619c52d · fixed in 3ee9cea821730805f232f1e4db0f95e7420477fc; From 3564fbb880f9a62ddbb81b7440c32e0e6619c52d · fixed in ffefee7daf2362f534097422bb7f8894e798adfd; From 3564fbb880f9a62ddbb81b7440c32e0e6619c52d · fixed in 368c521503e38e9bcfcf04c053eb1f85d22391b2; From 3564fbb880f9a62ddbb81b7440c32e0e6619c52d · fixed in 43f161c53279adac0517cf1c443e531e738b54ce; From 3564fbb880f9a62ddbb81b7440c32e0e6619c52d · fixed in 40ee4224e2fe24c05b92e4d37476adb6e83f10e9; From 3564fbb880f9a62ddbb81b7440c32e0e6619c52d · fixed in f48c5f3b03afdb795e5f448a1d53d912d5b09f2e; From 3564fbb880f9a62ddbb81b7440c32e0e6619c52d · fixed in b65d5182ecd6b7a24a83d980a0d06e809ef876c5
- Linux Linux
2.6.16
- KernelLinux
From 2.6.16 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.109; From 6.13.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4
References 7
git.kernel.org
- stable/c/3ee9cea821730805f232f1e4db0f95e7420477fc
- stable/c/ffefee7daf2362f534097422bb7f8894e798adfd
- stable/c/368c521503e38e9bcfcf04c053eb1f85d22391b2
- stable/c/43f161c53279adac0517cf1c443e531e738b54ce
- stable/c/40ee4224e2fe24c05b92e4d37476adb6e83f10e9
- stable/c/f48c5f3b03afdb795e5f448a1d53d912d5b09f2e
- stable/c/b65d5182ecd6b7a24a83d980a0d06e809ef876c5