A vulnerability in the Linux kernel ALSA ctxfi component caused improper handling of the SPDIFI1 DAIO type, leading to an out-of-bounds array access. This was due to the daio_device_index() function returning an invalid error code (-EINVAL) instead of the correct index for the SPDIFI1 type. The issue has been fixed by aligning the handling with the hw20k1 pattern to return the proper index.