ALSA: usx2y: us144mkii: fix NULL deref on missing interface 0
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ALSA: usx2y: us144mkii: fix NULL deref on missing interface 0
A malicious USB device with the TASCAM US-144MKII device id can have a configuration containing bInterfaceNumber=1 but no interface 0. USB configuration descriptors are not required to assign interface numbers sequentially, so usb_ifnum_to_if(dev, 0) returns will NULL, which will then be dereferenced directly.
Fix this up by checking the return value properly.
From the CVE record · Linux
The Linux kernel’s ALSA usx2y us144mkii driver can dereference a NULL pointer when a USB configuration has interface 1 but no interface 0. A malicious USB device using the TASCAM US-144MKII device ID can trigger this when connected; the input does not specify an authentication requirement.
Anyone running a Linux kernel with the ALSA usx2y us144mkii driver should check; affected versions are not specified.