0.0
NA
CVE-2026-74502
ALSA: ump: fix double free of out_cvts on rawmidi error
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 <[email protected]>

INFO

Published Date :

Aug. 15, 2026, 1:17 p.m.

Last Modified :

Aug. 15, 2026, 1:17 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-74502 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

Solution
Fix double free by clearing pointer after first free to prevent subsequent use.
  • Clear the pointer after freeing memory.
  • Ensure memory is freed only once.
  • Apply the kernel patch to fix the double free.
  • Update the Linux kernel.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-74502 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-74502 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-74502 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-74502 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 15, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '33cd7630782df2230529c3e8f1a6d0ae9cd6ab49', 'lessThan': 'e84d2e53a05c78a04d1343eeb0f31a79456e79fc', 'versionType': 'git'}, {'status': 'affected', 'version': '33cd7630782df2230529c3e8f1a6d0ae9cd6ab49', 'lessThan': '3302aaeac4f7ee6b775850db21d5f61064ce70ad', 'versionType': 'git'}, {'status': 'affected', 'version': '33cd7630782df2230529c3e8f1a6d0ae9cd6ab49', 'lessThan': '032746c2dd9a4ea0774b04ac8a29e2ea628f106e', 'versionType': 'git'}, {'status': 'affected', 'version': '33cd7630782df2230529c3e8f1a6d0ae9cd6ab49', 'lessThan': 'c57001f55f97ef856fb6527e376c5c4a056a53a4', 'versionType': 'git'}, {'status': 'affected', 'version': '33cd7630782df2230529c3e8f1a6d0ae9cd6ab49', 'lessThan': '70c977815af0d997feb2d0c5d284d55689bf7051', 'versionType': 'git'}], 'programFiles': ['sound/core/ump.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.5'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.5', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.151', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.103', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.44', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.8', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc6', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['sound/core/ump.c'], 'defaultStatus': 'affected'}]
    Added 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 <[email protected]>
    Added Reference https://git.kernel.org/stable/c/032746c2dd9a4ea0774b04ac8a29e2ea628f106e
    Added Reference https://git.kernel.org/stable/c/3302aaeac4f7ee6b775850db21d5f61064ce70ad
    Added Reference https://git.kernel.org/stable/c/70c977815af0d997feb2d0c5d284d55689bf7051
    Added Reference https://git.kernel.org/stable/c/c57001f55f97ef856fb6527e376c5c4a056a53a4
    Added Reference https://git.kernel.org/stable/c/e84d2e53a05c78a04d1343eeb0f31a79456e79fc
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.