Skip to main content
Menu
CVEs

Linux kernel use-after-free in ALSA caiaq input device

CVE-2026-143181Published December 3, 2026, updated

Exploited
No known exploitation
Fix
Fixed in 5.10.276, 5.15.227, 6.12.120, 4.20, 5.5, and 3 more
Who is exposed
Not reported

Summary

In the Linux kernel, the following vulnerability has been resolved:

ALSA: caiaq: Kill EP1 URB before unregistering the input device

snd_disconnect() unregisters the input device via snd_usb_caiaq_input_disconnect() and only afterwards kills the EP1 command URB (cdev->ep1_in_urb). The EP1 completion handler usb_ep1_command_reply_dispatch() feeds snd_usb_caiaq_input_dispatch() for EP1_CMD_READ_{ERP,ANALOG,IO} replies, which report into cdev->input_dev. Since commit b04dcbb7f7b1 ("ALSA: caiaq: Use snd_card_free_when_closed() at disconnection") the input device is unregistered from snd_usb_caiaq_input_disconnect() but cdev->input_dev is cleared only later, in snd_usb_caiaq_input_free() from the card destructor. As the dispatch guard only tests cdev->input_dev for NULL, an EP1 reply that completes after input_unregister_device() but before cdev->ep1_in_urb is killed reports into an input device that has already been unregistered and, with no evdev client holding it open, freed.

Normally the window is closed by the USB core: usb_unbind_interface() calls usb_disable_interface() before ->disconnect(), which flushes the EP1 URB as long as endpoint 0x81 belongs to the interface being unbound. But caiaq addresses EP1 through the device-wide pipe usb_rcvbulkpipe(usb_dev, 0x1) without checking which interface owns the endpoint. If a device declares it in another interface, the URB stays live across snd_disconnect() of the interface that owns the card.

This needs a crafted device descriptor; a device that has EP1 in the interface caiaq is bound to is not affected.

Kill cdev->ep1_in_urb (and the paired midi_out_urb) before the input and audio disconnect helpers, so no EP1 completion can run once the input device has been unregistered.

Reproduced under KASAN with raw-gadget + dummy_hcd emulating an Audio Kontrol 1 (17cc:0815) with the EP1 bulk pair in interface 1: only interface 0 was bound to snd-usb-caiaq and then unbound through sysfs while the gadget flooded EP1 with EP1_CMD_READ_ERP replies. With no PCM stream running the window is very short and was only hit by stalling the unbinding CPU with a kgdb breakpoint at snd_usb_caiaq_audio_disconnect(). With the fix applied, the same test runs clean.

BUG: KASAN: slab-use-after-free in input_event+0x3a/0xc0 Read of size 8 at addr ffff8880151a4028 by task sh/118

Call Trace: <IRQ> input_event+0x3a/0xc0 snd_usb_caiaq_input_dispatch+0xab2/0xf00 usb_ep1_command_reply_dispatch+0x1f3/0x580 __usb_hcd_giveback_urb+0x246/0x400 dummy_timer+0x1415/0x3380 __hrtimer_run_queues+0x39d/0x800 hrtimer_run_softirq+0x187/0x2d0 handle_softirqs+0x1ff/0x930 __irq_exit_rcu+0x15b/0x210 irq_exit_rcu+0xe/0x20 sysvec_apic_timer_interrupt+0x81/0xb0 </IRQ> <TASK> asm_sysvec_apic_timer_interrupt+0x1a/0x20 RIP: 0010:snd_usb_caiaq_audio_disconnect+0x0/0x70 snd_disconnect+0x81/0x110 usb_unbind_interface+0x1a0/0x860 device_release_driver_internal+0x2c5/0x470 unbind_store+0xde/0x100 </TASK>

Allocated by task 80: input_allocate_device+0x47/0x340 snd_usb_caiaq_input_init+0x4c/0x1ac0 snd_probe+0xab3/0x1160 usb_probe_interface+0x2ea/0x810

Freed by task 118: kfree+0x1ea/0x5c0 input_dev_release+0xab/0xd0 device_release+0xcf/0x250 kobject_put+0x169/0x320 snd_disconnect+0x79/0x110 usb_unbind_interface+0x1a0/0x860

What to do

Upgrade to a fixed version: 5.10.276, 5.15.227, 6.12.120, 4.20, 5.5, or one of 3 more.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-143181 (ALSA: caiaq: Kill EP1 URB before unregistering the input device), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-143181 (entry last updated 2026-12-03):
Affected:
- Linux Linux: from 5.10.231, fixed in 5.10.276; from 5.15.174, fixed in 5.15.227; from 6.12.2, fixed in 6.12.120; from 4.19.325, fixed in 4.20; from 5.4.287, fixed in 5.5; from 6.1.120, fixed in 6.2; from 6.6.64, fixed in 6.7; from 6.11.11, fixed in 6.12
- Linux Linux: versions 6.13
Fixed versions: 5.10.276, 5.15.227, 6.12.120, 4.20, 5.5, 6.2, 6.7, 6.12.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-143181 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-143181 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/29df2e22c248acb008d37baaf1ed4ab00e7c0768
- https://git.kernel.org/stable/c/f6c4a4b32555599cdaf63468ca3a8fd55dabb9f0
- https://git.kernel.org/stable/c/a122ce217a3e3ef607da8de8cc7df0a4f8e5c533
- https://git.kernel.org/stable/c/052168fce0dc3449984ddd7e284ec0cc9c421880
- https://git.kernel.org/stable/c/e6d9a5376b40dfcb6c9d1dc09146e0b95bebc043
- https://git.kernel.org/stable/c/5d325345185015024a86abca4cc5fa6a3f75294e
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-143181
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-143181"}.

Affected versions

cve.now Index

20Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure?/25Unknown. No advisory context yet
  • Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
  • Severity?/10Unknown. No CVSS score or vendor rating
  • No patch0/5No signal

What would change the score

  • Would score about 75 if added to CISA KEV
  • Would score about 70 if CISA's SSVC rates exploitation active
  • Would score about 42 if advisories confirm default setups are exposed

Timeline

  1. CVE published
  2. First seen by cve.now

Evidence 8

Questions about CVE-2026-143181

Is CVE-2026-143181 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

Which versions are affected by CVE-2026-143181?

Linux: from 5.10.231 before 5.10.276; from 5.15.174 before 5.15.227; from 6.12.2 before 6.12.120; from 4.19.325 before 4.20; from 5.4.287 before 5.5; from 6.1.120 before 6.2; from 6.6.64 before 6.7; from 6.11.11 before 6.12. Linux: version 6.13.

Source: cve.now feed data

How do I fix CVE-2026-143181?

Upgrade to a fixed version: 5.10.276, 5.15.227, 6.12.120, 4.20, 5.5, or one of 3 more.

Source: cve.now feed data

No corrections so far. Something wrong on this page? Report an error.