CVE-2026-31775

ALSA: ctxfi: Don't enumerate SPDIF1 at DAIO initialization

State
Published
Severity
Not scored
Published
May 1, 2026
Updated
Oct 26, 2026
Reserved
Mar 9, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

ALSA: ctxfi: Don't enumerate SPDIF1 at DAIO initialization

The recent refactoring of xfi driver changed the assignment of atc->daios[] at atc_get_resources(); now it loops over all enum DAIOTYP entries while it looped formerly only a part of them. The problem is that the last entry, SPDIF1, is a special type that is used only for hw20k1 CTSB073X model (as a replacement of SPDIFIO), and there is no corresponding definition for hw20k2. Due to the lack of the info, it caused a kernel crash on hw20k2, which was already worked around by the commit b045ab3dff97 ("ALSA: ctxfi: Fix missing SPDIFI1 index handling").

This patch addresses the root cause of the regression above properly, simply by skipping the incorrect SPDIF1 type in the parser loop.

For making the change clearer, the code is slightly arranged, too.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 88cc09bb70651917ef8b7095a05a21a9ca014c94 to before 7fca3600e79e9f8bac1ebc10af9ff20a35d6cccbAffected
  • a2dbaeb5c61ef110ceefe0d48fe94d428d3bcf16 to before a79c4c42057818bd9de45d2627464b4f0e02196aAffected
  • a2dbaeb5c61ef110ceefe0d48fe94d428d3bcf16 to before 75dc1980cf48826287e43dc7a49e310c6691f97eAffected
  • 6.18.57 to before 6.18.59Affected
LinuxLinux
  • 6.19Affected
  • before 6.19Not affected
  • 6.18.59 through 6.18.*Not affected
  • 6.19.12 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.