ALSA: caiaq: unregister the input device when probe fails
Summary
| CVE | CVE-2026-98837 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-18 16:17:37 UTC |
| Updated | 2026-10-21 13:21:48 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: ALSA: caiaq: unregister the input device when probe fails setup_card() registers the input device, whose name and phys point into struct snd_usb_caiaqdev, and then goes on to snd_card_register() and snd_usb_caiaq_control_init(). If either fails, snd_probe() calls snd_card_free(), which frees the device state but leaves the input device registered: card_free() only clears the pointer, and the input device is unregistered from snd_disconnect() alone. Reading its "uevent" attribute afterwards dereferences freed memory: BUG: KASAN: slab-use-after-free in string+0x4a9/0x4f0 Read of size 1 at addr ffff8880208f5043 by task caiaq/4967 add_uevent_var+0x183/0x3a0 input_dev_uevent+0x162/0x900 dev_uevent+0x2f1/0x870 uevent_show+0x1ca/0x3a0 ... Unregister the input device on the probe error path, as snd_disconnect() does. snd_usb_caiaq_input_disconnect() is a no-op when no input device was registered. Reproduced with a raw-gadget Audio Kontrol 1 and a temporary hack that makes snd_usb_caiaq_control_init() fail. |
Risk And Classification
EPSS: 0.002000000 probability, percentile 0.092930000 (date 2026-10-21)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected f537e3ad69609f6924a4db6b4a7f6561f5288bdd df2787819bd137111b56b8631dd581b0cce7144d git | Not specified |
| CNA | Linux | Linux | affected 6251e3e256337a30160ef59ab1580dde4d1acd28 850810c12686f80cdf7530f4f21e0157d904f739 git | Not specified |
| CNA | Linux | Linux | affected e59ecd4ee3a450db6cb4e4ecaa3efdd593f80056 84727facd8506140cd04f2b0a8b1c4ddeac41cea git | Not specified |
| CNA | Linux | Linux | affected 28abd224db4a49560b452115bca3672a20e45b2f 2e5a413cc2a489c9427ecd3d73ad764bfb0c7103 git | Not specified |
| CNA | Linux | Linux | affected 28abd224db4a49560b452115bca3672a20e45b2f 0b7bd20f6379bc5e431fd74d866390f5b5b63f3c git | Not specified |
| CNA | Linux | Linux | affected da938aa9fc7826901921dcea225948ab21a97e45 git | Not specified |
| CNA | Linux | Linux | affected 09616e25f502080ba684fc7fcf959d1376ab756d git | Not specified |
| CNA | Linux | Linux | affected b956e48371f2ff72b76be9a829800ecec963bd45 git | Not specified |
| CNA | Linux | Linux | affected 096dd8519cf2f768e9e14f224b627f7aaee1a9c5 git | Not specified |
| CNA | Linux | Linux | affected 6.6.140 6.6.160 semver | Not specified |
| CNA | Linux | Linux | affected 6.12.86 6.12.113 semver | Not specified |
| CNA | Linux | Linux | affected 6.18.27 6.18.56 semver | Not specified |
| CNA | Linux | Linux | affected 5.10.258 5.11 semver | Not specified |
| CNA | Linux | Linux | affected 5.15.209 5.16 semver | Not specified |
| CNA | Linux | Linux | affected 6.1.175 6.2 semver | Not specified |
| CNA | Linux | Linux | affected 7.0.4 7.1 semver | Not specified |
| CNA | Linux | Linux | affected 7.1 | Not specified |
| CNA | Linux | Linux | unaffected 7.1 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.160 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.113 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.56 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.2.10 7.2.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/0b7bd20f6379bc5e431fd74d866390f5b5b63f3c | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/84727facd8506140cd04f2b0a8b1c4ddeac41cea | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/df2787819bd137111b56b8631dd581b0cce7144d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/850810c12686f80cdf7530f4f21e0157d904f739 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/2e5a413cc2a489c9427ecd3d73ad764bfb0c7103 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.