{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2025-39997",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-39997",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-10-15T07:58:21.702Z",
    "updatedAt": "2026-10-15T01:08:48.788Z",
    "importedAt": "2026-10-24T01:57:34.152Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "ALSA: usb-audio: fix race condition to UAF in snd_usbmidi_free",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: usb-audio: fix race condition to UAF in snd_usbmidi_free\n\nThe previous commit 0718a78f6a9f (\"ALSA: usb-audio: Kill timer properly at\nremoval\") patched a UAF issue caused by the error timer.\n\nHowever, because the error timer kill added in this patch occurs after the\nendpoint delete, a race condition to UAF still occurs, albeit rarely.\n\nAdditionally, since kill-cleanup for urb is also missing, freed memory can\nbe accessed in interrupt context related to urb, which can cause UAF.\n\nTherefore, to prevent this, error timer and urb must be killed before\nfreeing the heap memory.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "06513dd6d32c37d0364db8488cfdf3e14da238a8",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e63f049c7764b615d1d50cb486745fa63372b42d"
            },
            {
              "version": "efaf61052b8ff9ee8968912fbaf02c2847c78ede",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e16985513e89466a236d2a7c202783b4dd0c5a46"
            },
            {
              "version": "647410a7da46067953a53c0d03f8680eff570959",
              "status": "affected",
              "versionType": "git",
              "lessThan": "dc4874366cf6cf4a31d8fa4b7f0e2a5b2d7647ba"
            },
            {
              "version": "c611b9e55174e439dcd85a72969b43a95f3827a4",
              "status": "affected",
              "versionType": "git",
              "lessThan": "647d6b8d22be12842fde6ed0c56859ebc615f21e"
            },
            {
              "version": "0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1",
              "status": "affected",
              "versionType": "git",
              "lessThan": "af600e7f5526d16146b3ae99f6ad57bfea79ca33"
            },
            {
              "version": "0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1",
              "status": "affected",
              "versionType": "git",
              "lessThan": "353d8c715cc951a980728133c9dd64ca5a0a186c"
            },
            {
              "version": "0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9f2c0ac1423d5f267e7f1d1940780fc764b0fee3"
            },
            {
              "version": "62066758d2ae169278e5d6aea5995b1b6f6ddeb5",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "6.1.167",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.1.175"
            },
            {
              "version": "6.15.3",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.16"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "6.16",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "6.16"
            },
            {
              "version": "6.1.175",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.16.11",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.16.*"
            },
            {
              "version": "6.17.1",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.17.*"
            },
            {
              "version": "6.18",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}