CVE-2026-31776 ALSA: ctxfi: Fix missing SPDIFI1 index handling

High 7.8 Published Updated

A missing index check in the ALSA ctxfi driver allows out-of-bounds array access, potentially leading to memory corruption or system crashes.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-31776?

CVE-2026-31776 is a high-severity memory corruption vulnerability in Linux kernel, published on 1 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

ALSA: ctxfi: Fix missing SPDIFI1 index handling

SPDIF1 DAIO type isn't properly handled in daio_device_index() for hw20k2, and it returned -EINVAL, which ended up with the out-of-bounds array access. Follow the hw20k1 pattern and return the proper index for this type, too.

Weakness: CWE-129

Which versions are affected by CVE-2026-31776?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-31776?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-31776 being exploited?

There is no known exploitation of CVE-2026-31776 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-31776, GHSA-23v5-vgf6-5452, ROOT-OS-DEBIAN-11-CVE-2026-31776, ROOT-OS-UBUNTU-2204-CVE-2026-31776, ROOT-OS-UBUNTU-2404-CVE-2026-31776, UBUNTU-CVE-2026-31776.

Is CVE-2026-31776 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free