ALSA: mpu401: Check card index validity at probe
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ b3fe95123f0db79dd0345d249c312823178c11f5 · < cc4215cc2a4b2a9cf8b1952bbe8d5bf925acb3ea| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ALSA: mpu401: Check card index validity at probe
mpu401 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.
From the CVE record · Linux
The Linux kernel's ALSA mpu401 driver does not validate a card index when a device is bound manually through sysfs. An out-of-range index can cause out-of-bounds access to driver parameters. This requires local interaction with the sysfs interface; the input does not specify authentication requirements.
Engineers running Linux kernels with the ALSA mpu401 driver should check their kernel versions; affected versions are not specified.