{
  "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-2026-31511",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-31511",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-04-22T13:54:29.420Z",
    "updatedAt": "2026-10-19T18:45:54.516Z",
    "importedAt": "2026-10-24T01:58:02.025Z",
    "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": "Bluetooth: MGMT: Fix dangling pointer on mgmt_add_adv_patterns_monitor_complete",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: MGMT: Fix dangling pointer on mgmt_add_adv_patterns_monitor_complete\n\nThis fixes the condition checking so mgmt_pending_valid is executed\nwhenever status != -ECANCELED otherwise calling mgmt_pending_free(cmd)\nwould kfree(cmd) without unlinking it from the list first, leaving a\ndangling pointer. Any subsequent list traversal (e.g.,\nmgmt_pending_foreach during __mgmt_power_off, or another\nmgmt_pending_valid call) would dereference freed memory.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0b60eb04b8524e1b4b3f07fea0d16fda9a677d9a",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2074dfffad76981ca451cb7fc98703d04ac562fe"
            },
            {
              "version": "d71b98f253b079cbadc83266383f26fe7e9e103b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "340666172cf747de58c283d2eef1f335f050538b"
            },
            {
              "version": "302a1f674c00dd5581ab8e493ef44767c5101aab",
              "status": "affected",
              "versionType": "git",
              "lessThan": "bafec9325d4de26b6c49db75b5d5172de652aae0"
            },
            {
              "version": "302a1f674c00dd5581ab8e493ef44767c5101aab",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3a89c33deffb3cb7877a7ea2e50734cd12b064f2"
            },
            {
              "version": "302a1f674c00dd5581ab8e493ef44767c5101aab",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5f5fa4cd35f707344f65ce9e225b6528691dbbaa"
            },
            {
              "version": "87a1f16f07c6c43771754075e08f45b41d237421",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "6.12.59",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.12.80"
            },
            {
              "version": "6.16.10",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.17"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "6.17",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "6.17"
            },
            {
              "version": "6.12.80",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.18.21",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.18.*"
            },
            {
              "version": "6.19.11",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.19.*"
            },
            {
              "version": "7.0",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}