CVE-2026-74502
ALSA: ump: fix double free of out_cvts on rawmidi error
Check your servers for CVE-2026-74502
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-74502 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: ump: fix double free of out_cvts on rawmidi error
snd_ump_attach_legacy_rawmidi() allocates the legacy conversion array ump->out_cvts and, on the snd_rawmidi_new() error path, frees it with kfree() but leaves ump->out_cvts pointing at the freed memory. When the endpoint is later torn down, snd_ump_endpoint_free() frees ump->out_cvts a second time, resulting in a double free.
The host snd-usb-audio driver attaches the legacy rawmidi for any USB MIDI 2.0 (UMP) device, so a device that makes snd_rawmidi_new() fail reaches this path on enumeration.
Clear ump->out_cvts after freeing it on the error path so it is not freed again during teardown.
Discovered by XBOW, triaged by Baul Lee <baul.lee@xbow.com>
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.36% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 33cd7630782df2230529c3e8f1a6d0ae9cd6ab49, before e84d2e53a05c78a04d1343eeb0f31a79456e79fc affected from 33cd7630782df2230529c3e8f1a6d0ae9cd6ab49, before 3302aaeac4f7ee6b775850db21d5f61064ce70ad affected from 33cd7630782df2230529c3e8f1a6d0ae9cd6ab49, before 032746c2dd9a4ea0774b04ac8a29e2ea628f106e affected from 33cd7630782df2230529c3e8f1a6d0ae9cd6ab49, before c57001f55f97ef856fb6527e376c5c4a056a53a4 affected from 33cd7630782df2230529c3e8f1a6d0ae9cd6ab49, before 70c977815af0d997feb2d0c5d284d55689bf7051
Other versions: unaffected
|
| Linux |
affected 6.5 unaffected before 6.5 unaffected from 6.6.151 up to and including 6.6.* unaffected from 6.12.103 up to and including 6.12.* unaffected from 6.18.44 up to and including 6.18.* unaffected from 7.1.8 up to and including 7.1.* unaffected 7.2 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-74502 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-74502
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-74502
trivy image --scanners vuln IMAGE | grep CVE-2026-74502
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/e84d2e53a05c78a04d1343eeb0f31a79456e79fc git.kernel.org
- https://git.kernel.org/stable/c/3302aaeac4f7ee6b775850db21d5f61064ce70ad git.kernel.org
- https://git.kernel.org/stable/c/032746c2dd9a4ea0774b04ac8a29e2ea628f106e git.kernel.org
- https://git.kernel.org/stable/c/c57001f55f97ef856fb6527e376c5c4a056a53a4 git.kernel.org
- https://git.kernel.org/stable/c/70c977815af0d997feb2d0c5d284d55689bf7051 git.kernel.org
Source: the record CVE-2026-74502 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