CVE-2026-142800: Linux kernel · ALSA: control: Fix UAF in snd_ctl_elem_add() on card disconnect
Source GCVE Database
Not known to be exploited · fixed in d8421d0db7572cd4f3a2779584552bfb1575ad43 : patch Linux kernel soon.
Data as of 3 Dec 2026, 08:16 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in d8421d0db7572cd4f3a2779584552bfb1575ad43, d93d8307024eb141c8d1b127c01c6c33f1a2d6c4, d4febca239be3c91498762dd0535a87d4af1eabc +12
Exploitation evidence
Disclosed: evidence found.
CVE published 3 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: control: Fix UAF in snd_ctl_elem_add() on card disconnect A use-after-free can be triggered via SNDRV_CTL_IOCTL_ELEM_ADD when a USB audio card is disconnected while an ELEM_ADD ioctl is in flight. The reproducer parks the ioctl thread inside copy_from_user() using userfaultfd, then tears down the USB device. Unlike every other ALSA control _user handler (ELEM_INFO, ELEM_READ, ELEM_WRITE, TLV_*), snd_ctl_elem_add_user() never calls snd_power_ref_and_wait(), so the parked thread holds no power reference. snd_card_disconnect() therefore cannot observe it via snd_power_sync_ref() and proceeds unimpeded: 1. card->shutdown is set to 1 2. device_del(&card->card_dev) drops the kobject reference on the parent USB interface device (card->dev = &intf->dev) 3. The USB core drops its own reference and calls device_release(), freeing the struct usb_interface, including the embedded struct device that card->dev points to When the userfaultfd is resolved and the thread resumes, snd_ctl_elem_add() acquires controls_rwsem without checking card->shutdown and calls __snd_ctl_add_replace(). Because the reproducer pre-registered the same control, the CTL_ADD_EXCLUSIVE path calls dev_err(card->dev, ...) on the freed USB interface: KASAN: slab-use-after-free Read in __dev_printk Add a card->shutdown guard immediately after acquiring controls_rwsem in snd_ctl_elem_add(). At that point card->shutdown is guaranteed to be stable: snd_card_disconnect() sets it before freeing the parent device, and it never transitions back to 0. A thread that acquired the lock before disconnect sees shutdown=0 and holds the write lock through the rest of the operation, preventing concurrent disconnect from proceeding past its own controls_rwsem-less shutdown=1 store (which happened earlier, outside the lock) from racing with dev_err().
References
- nvd.nist.gov/vuln/detail/CVE-2026-142800 (opens in a new tab)
- git.kernel.org/stable/c/04d11c4db269e76ded488e650af9b70d523c6cee (opens in a new tab)
- git.kernel.org/stable/c/67c618c90679b03ff615a003852ca43752fd3ee4 (opens in a new tab)
- git.kernel.org/stable/c/9c4530b09d7a0129557ed01208f1b9360d23fe11 (opens in a new tab)
- git.kernel.org/stable/c/aa7e5d71f90cb0048c0143ccdb6199acc2a6f66d (opens in a new tab)
- git.kernel.org/stable/c/bce4f04edc756f910ce1b87f3a505e6f2aa3da44 (opens in a new tab)
- git.kernel.org/stable/c/d4febca239be3c91498762dd0535a87d4af1eabc (opens in a new tab)
- git.kernel.org/stable/c/d8421d0db7572cd4f3a2779584552bfb1575ad43 (opens in a new tab)
- git.kernel.org/stable/c/d93d8307024eb141c8d1b127c01c6c33f1a2d6c4 (opens in a new tab)