{"id":"CVE-2026-98837","published":"2026-10-18T16:17:37.943","lastModified":"2026-10-19T10:19:47.743","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: caiaq: unregister the input device when probe fails\n\nsetup_card() registers the input device, whose name and phys point into\nstruct snd_usb_caiaqdev, and then goes on to snd_card_register() and\nsnd_usb_caiaq_control_init(). If either fails, snd_probe() calls\nsnd_card_free(), which frees the device state but leaves the input\ndevice registered: card_free() only clears the pointer, and the input\ndevice is unregistered from snd_disconnect() alone. Reading its \"uevent\"\nattribute afterwards dereferences freed memory:\n\n  BUG: KASAN: slab-use-after-free in string+0x4a9/0x4f0\n  Read of size 1 at addr ffff8880208f5043 by task caiaq/4967\n   add_uevent_var+0x183/0x3a0\n   input_dev_uevent+0x162/0x900\n   dev_uevent+0x2f1/0x870\n   uevent_show+0x1ca/0x3a0\n   ...\n\nUnregister the input device on the probe error path, as\nsnd_disconnect() does. snd_usb_caiaq_input_disconnect() is a no-op when\nno input device was registered.\n\nReproduced with a raw-gadget Audio Kontrol 1 and a temporary hack that\nmakes snd_usb_caiaq_control_init() fail.","cvssScore":null,"cvssSeverity":null,"cvssVector":null,"cwes":[],"vendors":[],"products":[],"references":[{"url":"https://git.kernel.org/stable/c/0b7bd20f6379bc5e431fd74d866390f5b5b63f3c","tags":[]},{"url":"https://git.kernel.org/stable/c/2e5a413cc2a489c9427ecd3d73ad764bfb0c7103","tags":[]},{"url":"https://git.kernel.org/stable/c/84727facd8506140cd04f2b0a8b1c4ddeac41cea","tags":[]},{"url":"https://git.kernel.org/stable/c/850810c12686f80cdf7530f4f21e0157d904f739","tags":[]}],"exploitRefs":[],"hasPoc":false,"ai":null}