{
  "id": "CVE-2025-40318",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-40318",
  "published_at": "2025-12-08T00:46:45.382Z",
  "title": "Bluetooth: hci_sync: fix race in hci_cmd_sync_dequeue_once",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= f00f36db76eb8fd10d13e80e2590f23b5beaa54d, \u003c 0a94f7e017438935c09ef833a1aa908ad9875213",
          "\u003e= 1499f79995c7ee58e3bfeeff75f6d1b37dcda881, \u003c 932c0a4f77ac13e526fdd5b42914d29c9821d389",
          "\u003e= 505ea2b295929e7be2b4e1bc86ee31cb7862fb01, \u003c ae76cf6c2c842944c6514c57df54d728f1916553",
          "\u003e= 505ea2b295929e7be2b4e1bc86ee31cb7862fb01, \u003c 9cd536970192b72257afcdfba0bfc09993e6f19c",
          "\u003e= 505ea2b295929e7be2b4e1bc86ee31cb7862fb01, \u003c 09b0cd1297b4dbfe736aeaa0ceeab2265f47f772",
          "357603f4d396d85fbf0045512efaf1d7f7394ed7",
          "\u003e= 6.1.120, \u003c 6.1.159",
          "\u003e= 6.6.51, \u003c 6.6.117",
          "\u003e= 6.8.9, \u003c 6.9"
        ],
        "fixed_in": [
          "0a94f7e017438935c09ef833a1aa908ad9875213",
          "932c0a4f77ac13e526fdd5b42914d29c9821d389",
          "ae76cf6c2c842944c6514c57df54d728f1916553",
          "9cd536970192b72257afcdfba0bfc09993e6f19c",
          "09b0cd1297b4dbfe736aeaa0ceeab2265f47f772",
          "6.1.159",
          "6.6.117",
          "6.9"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.9"
        ],
        "fixed_in": [
          "0",
          "6.1.159",
          "6.6.117",
          "6.12.58",
          "6.17.8",
          "6.18"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 0a94f7e017438935c09ef833a1aa908ad9875213 or 932c0a4f77ac13e526fdd5b42914d29c9821d389 or ae76cf6c2c842944c6514c57df54d728f1916553 or 9cd536970192b72257afcdfba0bfc09993e6f19c or 09b0cd1297b4dbfe736aeaa0ceeab2265f47f772 or 6.1.159 or 6.6.117 or 6.9 or later.",
      "Upgrade Linux to 0 or 6.1.159 or 6.6.117 or 6.12.58 or 6.17.8 or 6.18 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
