CVE-2026-142800
ALSA: control: Fix UAF in snd_ctl_elem_add() on card disconnect
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 67c618c90679b03ff615a003852ca43752fd3ee4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < bce4f04edc756f910ce1b87f3a505e6f2aa3da44; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d8421d0db7572cd4f3a2779584552bfb1575ad43; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9c4530b09d7a0129557ed01208f1b9360d23fe11; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d93d8307024eb141c8d1b127c01c6c33f1a2d6c4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 04d11c4db269e76ded488e650af9b70d523c6cee; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < aa7e5d71f90cb0048c0143ccdb6199acc2a6f66d; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d4febca239be3c91498762dd0535a87d4af1eabc; < 5.10.275; < 5.15.226; …
- Anyone running Linux all versions
Vulnerability facts
- Affected
- Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 67c618c90679b03ff615a003852ca43752fd3ee4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < bce4f04edc756f910ce1b87f3a505e6f2aa3da44; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d8421d0db7572cd4f3a2779584552bfb1575ad43; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9c4530b09d7a0129557ed01208f1b9360d23fe11; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d93d8307024eb141c8d1b127c01c6c33f1a2d6c4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 04d11c4db269e76ded488e650af9b70d523c6cee; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < aa7e5d71f90cb0048c0143ccdb6199acc2a6f66d; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d4febca239be3c91498762dd0535a87d4af1eabc; < 5.10.275; < 5.15.226; …; Linux all versions
- Fixed in
- Linux 67c618c90679b03ff615a003852ca43752fd3ee4, Linux 9c4530b09d7a0129557ed01208f1b9360d23fe11, Linux 04d11c4db269e76ded488e650af9b70d523c6cee, Linux 5.10.275, Linux 5.15.226
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 67c618c90679b03ff615a003852ca43752fd3ee4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < bce4f04edc756f910ce1b87f3a505e6f2aa3da44; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d8421d0db7572cd4f3a2779584552bfb1575ad43; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9c4530b09d7a0129557ed01208f1b9360d23fe11; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d93d8307024eb141c8d1b127c01c6c33f1a2d6c4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 04d11c4db269e76ded488e650af9b70d523c6cee; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < aa7e5d71f90cb0048c0143ccdb6199acc2a6f66d; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d4febca239be3c91498762dd0535a87d4af1eabc; < 5.10.275; < 5.15.226; … | — | cvelist |
| Linux | all versions | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-142800. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-142800.md Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 67c618c90679b03ff615a003852ca43752fd3ee4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < bce4f04edc756f910ce1b87f3a505e6f2aa3da44; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d8421d0db7572cd4f3a2779584552bfb1575ad43; >= 1da177e4c3f41524e886b7f… Fixed in: Linux 67c618c90679b03ff615a003852ca43752fd3ee4, Linux 9c4530b09d7a0129557ed01208f1b9360d23fe11, Linux 04d11c4db269e76ded488e650af9b70d523c6cee, Linux 5.10.275, Linux 5.15.226 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Other
- https://git.kernel.org/stable/c/67c618c90679b03ff615a003852ca43752fd3ee4
- https://git.kernel.org/stable/c/bce4f04edc756f910ce1b87f3a505e6f2aa3da44
- https://git.kernel.org/stable/c/d8421d0db7572cd4f3a2779584552bfb1575ad43
- https://git.kernel.org/stable/c/9c4530b09d7a0129557ed01208f1b9360d23fe11
- https://git.kernel.org/stable/c/d93d8307024eb141c8d1b127c01c6c33f1a2d6c4
- https://git.kernel.org/stable/c/04d11c4db269e76ded488e650af9b70d523c6cee
- https://git.kernel.org/stable/c/aa7e5d71f90cb0048c0143ccdb6199acc2a6f66d
- https://git.kernel.org/stable/c/d4febca239be3c91498762dd0535a87d4af1eabc
FAQ
Is CVE-2026-142800 being exploited?
There is no confirmed exploitation: CVE-2026-142800 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-142800?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-142800?
Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 67c618c90679b03ff615a003852ca43752fd3ee4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < bce4f04edc756f910ce1b87f3a505e6f2aa3da44; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d8421d0db7572cd4f3a2779584552bfb1575ad43; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9c4530b09d7a0129557ed01208f1b9360d23fe11; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d93d8307024eb141c8d1b127c01c6c33f1a2d6c4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 04d11c4db269e76ded488e650af9b70d523c6cee; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < aa7e5d71f90cb0048c0143ccdb6199acc2a6f66d; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d4febca239be3c91498762dd0535a87d4af1eabc; < 5.10.275; < 5.15.226; …; Linux all versions.
Is there a fix for CVE-2026-142800?
Yes. Fixed in Linux 67c618c90679b03ff615a003852ca43752fd3ee4, Linux 9c4530b09d7a0129557ed01208f1b9360d23fe11, Linux 04d11c4db269e76ded488e650af9b70d523c6cee, Linux 5.10.275, Linux 5.15.226. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-142800?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| UNSCORED | CVE-2026-142948 i2c: designware: queue only one read command for block reads | Linux kernel | ||
| UNSCORED | CVE-2026-142947 cxl/core: Skip einj_inject creation when devm_add_action_or_reset() fails | Linux kernel | ||
| UNSCORED | CVE-2026-142946 ASoC: amd: acp-es8336: Switch to use acpi_bus_get_primary_device() | Linux kernel | ||
| UNSCORED | CVE-2026-142945 ASoC: amd: acp3x-es83xx: Switch to use acpi_bus_get_primary_device() | Linux kernel | ||
| UNSCORED | CVE-2026-142944 ASoC: amd: acp-es8336: Use an owned codec device reference | Linux kernel |