CVE-2026-80973
ALSA: 6fire: bound the MIDI event length from the device
Check your servers for CVE-2026-80973
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-80973 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: 6fire: bound the MIDI event length from the device
usb6fire_comm_receiver_handler() forwards a MIDI event using a length byte the device supplies, with no bound and no check that the transfer delivered that many bytes:
if (!urb->status) { if (rt->receiver_buffer[0] == 0x10) /* midi in event */ if (midi_rt) midi_rt->in_received(midi_rt, rt->receiver_buffer + 2, rt->receiver_buffer[1]); }
receiver_buffer is a 64-byte kzalloc() buffer (COMM_RECEIVER_BUFSIZE), so only 62 bytes follow the two-byte header. receiver_buffer[1] is a u8 the device chooses, so a device that answers with 0x10 and a length of 0xFF makes snd_rawmidi_receive() read 255 bytes starting two bytes into a 64-byte object. The bytes past the buffer are handed to userspace through the rawmidi read path.
urb->actual_length is not consulted either, so a short transfer leaves both the type byte and the length byte at their previous values and the handler acts on stale data.
The receiver URB is submitted from usb6fire_comm_init() at probe, so the read happens on plug with no user action; forwarding to userspace also needs a MIDI input substream open, since usb6fire_midi_in_received() only calls snd_rawmidi_receive() when rt->in is set.
KASAN on 7.2.0-rc5 (arm64), single packet from an emulated device:
BUG: KASAN: slab-out-of-bounds in snd_rawmidi_receive Read of size 255 at addr ffff000009f64682 by task bash/183 __asan_memcpy snd_rawmidi_receive usb6fire_midi_in_received [snd_usb_6fire] usb6fire_comm_receiver_handler [snd_usb_6fire] Allocated by task 11: usb6fire_comm_init [snd_usb_6fire] usb6fire_chip_probe [snd_usb_6fire] The buggy address is located 2 bytes inside of allocated 64-byte region [ffff000009f64680, ffff000009f646c0)
Reject the event when the length exceeds the bytes that follow the header, and require the transfer to have delivered the header plus that many bytes. The receiver URB is submitted with a 64-byte transfer_buffer_length, so a genuine device cannot deliver an event longer than those 62 bytes and nothing valid is dropped.
Discovered by XBOW, triaged by Baul Lee <baul.lee@xbow.com>
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.8% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, before c9204bc2ed2010e2469dbe5fce598878a37efd04 affected from c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, before 2c590d5e1b1595d5c8fa0b72d2897423ce9985ca affected from c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, before 0c8a3c773823cf12abd39c480aed70e25c384630 affected from c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, before 00e84a9ff2d43953ae261995cae94d46f4c307a6 affected from c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, before 466e911bbbbb779bb06337e35a286e5ca7af16b3 affected from c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, before 2a6f6fba3bd31d2e8c957fefa29156e35e5e75d5 affected from c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, before 34816e2cfeabafb8eccf54687186ce25699e8363 affected from c6d43ba816d1cf1d125bfbfc938f2a28a87facf9, before a478893b59e36cfe7d77a76b352f2db55502e879
Other versions: unaffected
|
| Linux |
affected 2.6.39 unaffected before 2.6.39 unaffected from 5.10.270 up to and including 5.10.* unaffected from 5.15.221 up to and including 5.15.* unaffected from 6.1.188 up to and including 6.1.* unaffected from 6.6.157 up to and including 6.6.* unaffected from 6.12.109 up to and including 6.12.* unaffected from 6.18.50 up to and including 6.18.* unaffected from 7.2.4 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-80973 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-80973
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-80973
trivy image --scanners vuln IMAGE | grep CVE-2026-80973
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/c9204bc2ed2010e2469dbe5fce598878a37efd04 git.kernel.org
- https://git.kernel.org/stable/c/2c590d5e1b1595d5c8fa0b72d2897423ce9985ca git.kernel.org
- https://git.kernel.org/stable/c/0c8a3c773823cf12abd39c480aed70e25c384630 git.kernel.org
- https://git.kernel.org/stable/c/00e84a9ff2d43953ae261995cae94d46f4c307a6 git.kernel.org
- https://git.kernel.org/stable/c/466e911bbbbb779bb06337e35a286e5ca7af16b3 git.kernel.org
- https://git.kernel.org/stable/c/2a6f6fba3bd31d2e8c957fefa29156e35e5e75d5 git.kernel.org
- https://git.kernel.org/stable/c/34816e2cfeabafb8eccf54687186ce25699e8363 git.kernel.org
- https://git.kernel.org/stable/c/a478893b59e36cfe7d77a76b352f2db55502e879 git.kernel.org
Source: the record CVE-2026-80973 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