ALSA: mts64: Check card index validity at probe
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 68ab801e32bbe2caac8b8c6e6e94f41fe7d687ad · < a4e774eeb61aec64da5b03d3becffde26f7fe4de| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ALSA: mts64: Check card index validity at probe
Although mts64 driver has a check of the given devptr->id value, it doesn't check for a negative id, which is often given as "none" or such value when bound via sysfs. This may lead 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.
From the CVE record · Linux
The Linux kernel's ALSA mts64 driver does not reject a negative card index at probe. A negative value supplied when binding the driver via sysfs can cause out-of-bounds access to index[] and other parameters. The described trigger is local; the input does not specify authentication requirements or user interaction.
Engineers running Linux kernels with the ALSA mts64 driver should check whether their kernel includes the card-index validity fix; affected versions are not specified.