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

Medium 5.5 Published Updated

Missing error check in the ALSA ctxfi driver can lead to a null pointer dereference, causing a system crash.

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-31777?

CVE-2026-31777 is a medium-severity 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: 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.

Which versions are affected by CVE-2026-31777?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-31777?

Apply the vendor's patch.

Is CVE-2026-31777 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2026-31777, DEBIAN-CVE-2026-31777, GHSA-wg4g-3863-r8m4, ROOT-OS-DEBIAN-11-CVE-2026-31777, ROOT-OS-DEBIAN-12-CVE-2026-31777, ROOT-OS-DEBIAN-13-CVE-2026-31777 and 3 more.

Is CVE-2026-31777 in your software?

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

Check your SBOMs for free