ALSA: portman2x4: Check card index validity at probe
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 757e119bf52b014b3181eed97b01f87a245b8ff9 · < d7ef7890e3e35b4ba09e76fc6b72047a1599a5e8| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ALSA: portman2x4: Check card index validity at probe
Although portman2x4 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 ALSA portman2x4 driver does not reject a negative card ID when the device is bound via sysfs. This can cause out-of-bounds access to index[] and other parameters; the input does not specify authentication requirements or whether additional user interaction is needed.
Anyone running the Linux kernel with the ALSA portman2x4 driver should check their kernel version; affected versions are not specified.