
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-31701 is a use-after-free (expired pointer dereference) vulnerability in the Linux kernel's ALSA caiaq USB audio driver. The flaw exists in the create_card() function, which stores a pointer to the parent USB device in cdev->chip.dev without taking a reference on it, allowing the asynchronous card free callback snd_usb_caiaq_card_free() to dereference a freed usb_device after disconnection. Affected kernel versions span from 6.13 up to (but not including) 6.18.25, and from 6.19 up to (but not including) 7.0.2, as well as release candidates 7.1-rc1 and 7.1-rc2. It was published on May 1, 2026, and carries a CVSS v3.1 base score of 5.5 (Medium) (Red Hat CVE, Feedly).
The root cause is classified as CWE-825 (Expired Pointer Dereference): the caiaq driver stores a raw pointer to the USB device without incrementing its reference count via usb_get_dev(), so the USB core can free the device while the pointer remains in use. When a USB device is disconnected, snd_card_free_when_closed() may schedule the card's private_free callback (snd_usb_caiaq_card_free()) to run asynchronously; if the USB device has already been freed by this point, any access to cdev->chip.dev within that callback constitutes a use-after-free. Compounding the issue, the callback also calls usb_reset_device() in a teardown context, which acquires the device lock and races with the disconnect path. Exploitation requires local access and the ability to trigger a USB device disconnection event (Red Hat CVE, Kernel Patch).
A local attacker with low privileges can trigger this vulnerability by disconnecting or unplugging a connected ALSA caiaq USB audio device, causing the kernel to dereference freed memory and potentially corrupt kernel data structures. The primary impact is availability — a kernel panic or system crash (denial of service) — though in more sophisticated scenarios, kernel memory corruption could theoretically be leveraged for local privilege escalation or arbitrary code execution. There is no confidentiality or integrity impact identified in the CVSS assessment (Red Hat CVE).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of disclosure (Feedly). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.018% (0.000180), reflecting a very low probability of exploitation in the near term. Exploitation requires local access to a system with a caiaq USB audio device attached, significantly limiting the attack surface.
Update the Linux kernel to a patched version: 6.6.136+, 6.18.25+, or 7.0.2+. The fix adds proper USB device reference counting using usb_get_dev() in create_card() and usb_put_dev() in the free callback, and removes the inappropriate usb_reset_device() call. Multiple upstream commits address this issue (Kernel Patch 1, Kernel Patch 2, Kernel Patch 3). As a temporary workaround if patching is not immediately possible, restrict physical USB device access to trusted users only, or disable the caiaq audio driver (modprobe -r snd-usb-caiaq) if the device is not in use (Red Hat CVE).
Fix availability across major Linux distributions and their releases.
bionic
linux
bionic (esm-infra)
linux-hwe-5.4
bionic (fips-updates)
linux-fips
bionic (fips)
linux-fips
devel
linux-azure-fde: 7.3.0-1001.2
focal
linux-azure-fde-5.15
focal (esm-infra)
linux
focal (fips-updates)
linux-fips
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."