---
id: CVE-2026-31777
title: |-
  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
summary: |-
  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 prop…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 2.6.31, < 6.19.12'
  - linux_kernel = 7.0
patched:
  - linux_kernel 6.19.12
published: '2026-05-01'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T11:17:29.530'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-31777'
references:
  - url: 'https://git.kernel.org/stable/c/277c6960d4ddb94d16198afd70c92c3d4593d131'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/971854e7b6ddda78669d3d0cf6566c7b8aca1fdb'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d4d3b8cbb70a2de247cbfe99bdb232aef9ed59bc'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
epss: 0.00143
epssPercentile: 0.03229
ingestedAt: '2026-10-15T11:00:41.711Z'
---

## Overview

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.

## Affected

- `linux_kernel >= 2.6.31, < 6.19.12`
- `linux_kernel = 7.0`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.19.12`
