ALSA: ctxfi: Fix missing SPDIFI1 index handling
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: ctxfi: Fix missing SPDIFI1 index handling
SPDIF1 DAIO type isn't properly handled in daio_device_index() for hw20k2, and it returned -EINVAL, which ended up with the out-of-bounds array access. Follow the hw20k1 pattern and return the proper index for this type, too.
From the CVE record · Linux
The ALSA ctxfi driver mishandles the SPDIF1 DAIO type on hw20k2, returning an invalid index that can lead to an out-of-bounds array access. The input does not establish how an attacker could trigger this condition or whether authentication or user interaction is required.
Teams running Linux kernels with the ALSA ctxfi driver should check their systems; affected versions were not provided.