CVE-2026-98741
ALSA: ua101: reject mismatched capture/playback packet sizes
Check your servers for CVE-2026-98741
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-98741 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: ua101: reject mismatched capture/playback packet sizes
detect_usb_format() cross-checks bSubframeSize, bBitResolution and tSamFreq between the capture and playback interfaces, but never relates the two endpoints' wMaxPacketSize and bNrChannels. Each playback URB gets a buffer of ua->playback.max_packet_bytes, while the number of bytes written into it is derived from the capture stream: capture_urb_complete() computes frames from the received capture packet and capture.frame_bytes, and start_usb_playback() and playback_work() multiply that by playback.frame_bytes.
A device declaring a large capture wMaxPacketSize with few capture channels and a small playback wMaxPacketSize with many playback channels therefore memset()s and memcpy()s past the end of the playback buffer, in open() of the PCM node the driver registers during probe. usb_submit_urb() rejects the over-long iso_frame_desc[0].length with -EMSGSIZE, but only after the write.
Reject such descriptors at probe time. Genuine UA-101/UA-1000 hardware declares proportional packet sizes and is unaffected.
BUG: KASAN: slab-out-of-bounds in start_usb_playback (sound/usb/misc/ua101.c:586) Write of size 2048 at addr ffff8881098f3c00 by task exploit/5021 Call Trace: __asan_memset (mm/kasan/shadow.c:84) start_usb_playback (sound/usb/misc/ua101.c:586) playback_pcm_open (sound/usb/misc/ua101.c:679) snd_pcm_open_substream (sound/core/pcm_native.c:2829) snd_pcm_open (sound/core/pcm_native.c:2865 sound/core/pcm_native.c:2932) snd_pcm_playback_open (sound/core/pcm_native.c:2891) snd_open (sound/core/sound.c:166) chrdev_open (fs/char_dev.c:411) do_dentry_open (fs/open.c:996) vfs_open (fs/open.c:1101) path_openat (fs/namei.c:4837 fs/namei.c:5000) do_file_open (fs/namei.c:5029) do_sys_openat2 (fs/open.c:1417) __x64_sys_openat (fs/open.c:1423 fs/open.c:1439 fs/open.c:1434) do_syscall_64 (arch/x86/entry/syscall_64.c:61 arch/x86/entry/syscall_64.c:84) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)
The buggy address belongs to the object at ffff8881098f3c00 which belongs to the cache kmalloc-192 of size 192 The buggy address is located 0 bytes inside of allocated 168-byte region [ffff8881098f3c00, ffff8881098f3ca8)
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.28% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 63978ab3e3e963db28093b53bb4598f2702e1ad7, before b54976c81a6b8cae311b75be1a4cda444689bca0 affected from 63978ab3e3e963db28093b53bb4598f2702e1ad7, before a2d326b3f6d470ea4bfde00245794e0dc6dbbc3d affected from 63978ab3e3e963db28093b53bb4598f2702e1ad7, before 0a6a5eecc92c13f936d8d90975116d6bbdf4f876 affected from 63978ab3e3e963db28093b53bb4598f2702e1ad7, before ada5ded765f059a6e3036e69ca350449442af0fc affected from 63978ab3e3e963db28093b53bb4598f2702e1ad7, before fd3a7bf0d988b0878a1957df150edb35f81db87e affected from 63978ab3e3e963db28093b53bb4598f2702e1ad7, before eb0c7fda59cf650076f8ed5b949a6c8441aa3606 affected from 63978ab3e3e963db28093b53bb4598f2702e1ad7, before 4294fe57048594a9e158b61c967bb7f943cda477 affected from 63978ab3e3e963db28093b53bb4598f2702e1ad7, before 86f86e6fdedc33c5b8d38b9208b350f8accf57ee
Other versions: unaffected
|
| Linux |
affected 2.6.34 unaffected before 2.6.34 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-98741 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98741
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-98741
trivy image --scanners vuln IMAGE | grep CVE-2026-98741
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/b54976c81a6b8cae311b75be1a4cda444689bca0 git.kernel.org
- https://git.kernel.org/stable/c/a2d326b3f6d470ea4bfde00245794e0dc6dbbc3d git.kernel.org
- https://git.kernel.org/stable/c/0a6a5eecc92c13f936d8d90975116d6bbdf4f876 git.kernel.org
- https://git.kernel.org/stable/c/ada5ded765f059a6e3036e69ca350449442af0fc git.kernel.org
- https://git.kernel.org/stable/c/fd3a7bf0d988b0878a1957df150edb35f81db87e git.kernel.org
- https://git.kernel.org/stable/c/eb0c7fda59cf650076f8ed5b949a6c8441aa3606 git.kernel.org
- https://git.kernel.org/stable/c/4294fe57048594a9e158b61c967bb7f943cda477 git.kernel.org
- https://git.kernel.org/stable/c/86f86e6fdedc33c5b8d38b9208b350f8accf57ee git.kernel.org
Source: the record CVE-2026-98741 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