{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "33cd7630782df2230529c3e8f1a6d0ae9cd6ab49"
            },
            {
              "fixed": "e84d2e53a05c78a04d1343eeb0f31a79456e79fc"
            },
            {
              "fixed": "3302aaeac4f7ee6b775850db21d5f61064ce70ad"
            },
            {
              "fixed": "032746c2dd9a4ea0774b04ac8a29e2ea628f106e"
            },
            {
              "fixed": "c57001f55f97ef856fb6527e376c5c4a056a53a4"
            },
            {
              "fixed": "70c977815af0d997feb2d0c5d284d55689bf7051"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "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"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74502.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: ump: fix double free of out_cvts on rawmidi error\n\nsnd_ump_attach_legacy_rawmidi() allocates the legacy conversion array\nump-\u003eout_cvts and, on the snd_rawmidi_new() error path, frees it with\nkfree() but leaves ump-\u003eout_cvts pointing at the freed memory.  When the\nendpoint is later torn down, snd_ump_endpoint_free() frees ump-\u003eout_cvts\na second time, resulting in a double free.\n\nThe host snd-usb-audio driver attaches the legacy rawmidi for any USB\nMIDI 2.0 (UMP) device, so a device that makes snd_rawmidi_new() fail\nreaches this path on enumeration.\n\nClear ump-\u003eout_cvts after freeing it on the error path so it is not\nfreed again during teardown.\n\nDiscovered by XBOW, triaged by Baul Lee \u003cbaul.lee@xbow.com\u003e",
  "id": "CVE-2026-74502",
  "modified": "2026-08-17T03:36:32.085955301Z",
  "published": "2026-08-15T12:27:27.586Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/032746c2dd9a4ea0774b04ac8a29e2ea628f106e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3302aaeac4f7ee6b775850db21d5f61064ce70ad"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/70c977815af0d997feb2d0c5d284d55689bf7051"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c57001f55f97ef856fb6527e376c5c4a056a53a4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e84d2e53a05c78a04d1343eeb0f31a79456e79fc"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74502.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-74502"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "ALSA: ump: fix double free of out_cvts on rawmidi error"
}