CVE-2026-31776
Analyzed Analyzed - Analysis Complete
ALSA: ctxfi SPDIF1 Index Handling Flaw

Publication date: 2026-05-01

Last updated on: 2026-05-07

Assigner: kernel.org

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-01
Last Modified
2026-05-07
Generated
2026-05-27
AI Q&A
2026-05-01
EPSS Evaluated
2026-05-26
NVD
EUVD
Affected Vendors & Products
Showing 7 associated CPEs
Vendor Product Version / Range
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel From 6.19 (inc) to 6.19.12 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-129 The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is in the Linux kernel's ALSA sound subsystem, specifically related to the ctxfi driver. The issue is that the SPDIF1 DAIO type was not properly handled in the function daio_device_index() for the hw20k2 hardware. Instead of returning the correct index, the function returned an error code (-EINVAL), which caused an out-of-bounds array access. The fix involved following the pattern used for hw20k1 hardware to return the proper index for SPDIF1 DAIO type as well.


How can this vulnerability impact me? :

The vulnerability can lead to an out-of-bounds array access in the ALSA ctxfi driver when handling SPDIF1 DAIO type on hw20k2 hardware. This could potentially cause system instability, crashes, or unexpected behavior in the sound subsystem of the Linux kernel.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart