{
  "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-40318",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-40318",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-12-08T00:46:45.382Z",
    "updatedAt": "2026-10-15T22:02:43.644Z",
    "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": "Bluetooth: hci_sync: fix race in hci_cmd_sync_dequeue_once",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_sync: fix race in hci_cmd_sync_dequeue_once\n\nhci_cmd_sync_dequeue_once() does lookup and then cancel\nthe entry under two separate lock sections. Meanwhile,\nhci_cmd_sync_work() can also delete the same entry,\nleading to double list_del() and \"UAF\".\n\nFix this by holding cmd_sync_work_lock across both\nlookup and cancel, so that the entry cannot be removed\nconcurrently.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "f00f36db76eb8fd10d13e80e2590f23b5beaa54d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0a94f7e017438935c09ef833a1aa908ad9875213"
            },
            {
              "version": "1499f79995c7ee58e3bfeeff75f6d1b37dcda881",
              "status": "affected",
              "versionType": "git",
              "lessThan": "932c0a4f77ac13e526fdd5b42914d29c9821d389"
            },
            {
              "version": "505ea2b295929e7be2b4e1bc86ee31cb7862fb01",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ae76cf6c2c842944c6514c57df54d728f1916553"
            },
            {
              "version": "505ea2b295929e7be2b4e1bc86ee31cb7862fb01",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9cd536970192b72257afcdfba0bfc09993e6f19c"
            },
            {
              "version": "505ea2b295929e7be2b4e1bc86ee31cb7862fb01",
              "status": "affected",
              "versionType": "git",
              "lessThan": "09b0cd1297b4dbfe736aeaa0ceeab2265f47f772"
            },
            {
              "version": "357603f4d396d85fbf0045512efaf1d7f7394ed7",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "6.1.120",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.1.159"
            },
            {
              "version": "6.6.51",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.6.117"
            },
            {
              "version": "6.8.9",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.9"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "6.9",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "6.9"
            },
            {
              "version": "6.1.159",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.117",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.58",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.17.8",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.17.*"
            },
            {
              "version": "6.18",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}