CVE-2026-31777

ALSA: ctxfi: Check the error for index mapping

Published May 1, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The ctxfi driver in the Linux kernel assumes that the function daio_device_index() always returns a valid index, but the function can fail. Because the driver does not check the return value, an invalid index may be used, which can cause kernel instability or an unexpected crash. The weakness is represented by CWE-252 (Unchecked Return Value).

Affected Systems

The affected product is the Linux kernel. No specific kernel versions are enumerated in the CVE data, so any kernel that includes the ctxfi driver and has not yet incorporated the patch that introduces the error check may be vulnerable. The vendor is Linux.

Risk and Exploitability

The CVSS score of 5.5 indicates a medium severity issue. The EPSS score of < 1% indicates a very low exploitation probability. The vulnerability is not listed in the CISA KEV catalog, implying that no known public exploit exists at this time. The most likely attack vector is a local kernel‑level interaction; an attacker would need to trigger a failure in daio_device_index() while the ctxfi driver is active. If exploited, the result could be a kernel crash leading to denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the patch introduced by commit 277c6960d4ddb94d16198afd70c92c3d4593d131 or d4d3b8cbb70a2de247cbfe99bdb232aef9ed59bc.
  • If an update is not yet available, blacklist or otherwise prevent the ctxfi module from loading during boot to avoid the code path that can lead to instability.
  • Verify that any DAIO devices on the system are correctly configured so that daio_device_index() is not invoked without proper error handling, reducing the risk of unexpected failure.

Generated by OpenCVE AI on May 7, 2026 at 04:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Weaknesses CWE-787
Type Values Removed Values Added
Weaknesses CWE-252
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-787
Type Values Removed Values Added
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.
Title ALSA: ctxfi: Check the error for index mapping
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 6, 2026, 3:32 PM
Reserved
Mar 9, 2026, 3:48 PM
Status
Modified
Published
May 1, 2026, 3:16 PM
Modified
Nov 11, 2026, 9:10 PM
Severity
Moderate
Public date
May 1, 2026, 12:00 AM