CVE-2026-74502

Source
https://cve.org/CVERecord?id=CVE-2026-74502
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74502.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-74502
Downstream
Published
2026-08-15T12:27:27.586Z
Modified
2026-08-17T03:54:57.739330474Z
Summary
ALSA: ump: fix double free of out_cvts on rawmidi error
Details

In the Linux kernel, the following vulnerability has been resolved:

ALSA: ump: fix double free of out_cvts on rawmidi error

sndumpattachlegacyrawmidi() allocates the legacy conversion array ump->outcvts and, on the sndrawmidinew() error path, frees it with kfree() but leaves ump->outcvts pointing at the freed memory. When the endpoint is later torn down, sndumpendpointfree() frees ump->outcvts 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 sndrawmidinew() 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

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74502.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
33cd7630782df2230529c3e8f1a6d0ae9cd6ab49
Fixed
e84d2e53a05c78a04d1343eeb0f31a79456e79fc
Fixed
3302aaeac4f7ee6b775850db21d5f61064ce70ad
Fixed
032746c2dd9a4ea0774b04ac8a29e2ea628f106e
Fixed
c57001f55f97ef856fb6527e376c5c4a056a53a4
Fixed
70c977815af0d997feb2d0c5d284d55689bf7051

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74502.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.5.0
Fixed
6.6.151
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.103
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.44
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74502.json"