CVE-2026-142800
Last modified
CVE-2026-142800 is a vulnerability of currently unknown severity. 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.
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().
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 67c618c90679b03ff615a003852ca43752fd3ee4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < bce4f04edc756f910ce1b87f3a505e6f2aa3da44; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d8421d0db7572cd4f3a2779584552bfb1575ad43; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9c4530b09d7a0129557ed01208f1b9360d23fe11; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d93d8307024eb141c8d1b127c01c6c33f1a2d6c4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 04d11c4db269e76ded488e650af9b70d523c6cee; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < aa7e5d71f90cb0048c0143ccdb6199acc2a6f66d; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d4febca239be3c91498762dd0535a87d4af1eabc; < 5.10.275; < 5.15.226; < 6.1.193; < 6.6.163; < 6.12.117; < 6.18.61; < 7.3.2 |
| Linux | Linux | All versions |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-142800?
How severe is CVE-2026-142800?
How do I fix CVE-2026-142800?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-142796In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142797In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142798In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142799In the Linux kernel, the following vulnerability has been re…
- CVE-2026-1428Single Sign-On Portal System developed by WellChoose has a O…8.8
- CVE-2026-14280The Events Manager – Calendar, Bookings, Tickets, and more! …6.6
- CVE-2026-142801In the Linux kernel, the following vulnerability has been re…7
- CVE-2026-142802In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142803In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142804In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142805In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142806In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-142800?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
