CVE-2026-98837
ALSA: caiaq: unregister the input device when probe fails
Check your servers for CVE-2026-98837
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98837 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.0% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from da938aa9fc7826901921dcea225948ab21a97e45, before 7017c9dda1ebbab428a6fd29c841596b5c9c84d1 affected from 09616e25f502080ba684fc7fcf959d1376ab756d, before 8315ea07ebb2497531ff42dd640396f6f1d4a8f0 affected from b956e48371f2ff72b76be9a829800ecec963bd45, before 1d5d194594ff616ad36a052bde739d1cf5855b95 affected from f537e3ad69609f6924a4db6b4a7f6561f5288bdd, before df2787819bd137111b56b8631dd581b0cce7144d affected from 6251e3e256337a30160ef59ab1580dde4d1acd28, before 850810c12686f80cdf7530f4f21e0157d904f739 affected from e59ecd4ee3a450db6cb4e4ecaa3efdd593f80056, before 84727facd8506140cd04f2b0a8b1c4ddeac41cea affected from 28abd224db4a49560b452115bca3672a20e45b2f, before 2e5a413cc2a489c9427ecd3d73ad764bfb0c7103 affected from 28abd224db4a49560b452115bca3672a20e45b2f, before 0b7bd20f6379bc5e431fd74d866390f5b5b63f3c affected 096dd8519cf2f768e9e14f224b627f7aaee1a9c5 affected from 5.10.258, before 5.10.273 affected from 5.15.209, before 5.15.224 affected from 6.1.175, before 6.1.191 affected from 6.6.140, before 6.6.160 affected from 6.12.86, before 6.12.113 affected from 6.18.27, before 6.18.56 affected from 7.0.4, before 7.1
Other versions: unaffected
|
| Linux |
affected 7.1 unaffected before 7.1 unaffected from 5.10.273 up to and including 5.10.* unaffected from 5.15.224 up to and including 5.15.* unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.113 up to and including 6.12.* unaffected from 6.18.56 up to and including 6.18.* unaffected from 7.2.10 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98837 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98837
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98837
trivy image --scanners vuln IMAGE | grep CVE-2026-98837
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/7017c9dda1ebbab428a6fd29c841596b5c9c84d1 git.kernel.org
- https://git.kernel.org/stable/c/8315ea07ebb2497531ff42dd640396f6f1d4a8f0 git.kernel.org
- https://git.kernel.org/stable/c/1d5d194594ff616ad36a052bde739d1cf5855b95 git.kernel.org
- https://git.kernel.org/stable/c/df2787819bd137111b56b8631dd581b0cce7144d git.kernel.org
- https://git.kernel.org/stable/c/850810c12686f80cdf7530f4f21e0157d904f739 git.kernel.org
- https://git.kernel.org/stable/c/84727facd8506140cd04f2b0a8b1c4ddeac41cea git.kernel.org
- https://git.kernel.org/stable/c/2e5a413cc2a489c9427ecd3d73ad764bfb0c7103 git.kernel.org
- https://git.kernel.org/stable/c/0b7bd20f6379bc5e431fd74d866390f5b5b63f3c git.kernel.org
Source: the record CVE-2026-98837 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse