{
  "id": "CVE-2025-40284",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-40284",
  "published_at": "2025-12-06T21:51:08.488Z",
  "title": "Bluetooth: MGMT: cancel mesh send timer when hdev removed",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/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: MGMT: cancel mesh send timer when hdev removed\n\nmesh_send_done timer is not canceled when hdev is removed, which causes\ncrash if the timer triggers after hdev is gone.\n\nCancel the timer when MGMT removes the hdev, like other MGMT timers.\n\nShould fix the BUG: sporadically seen by BlueZ test bot\n(in \"Mesh - Send cancel - 1\" test).\n\nLog:\n------\nBUG: KASAN: slab-use-after-free in run_timer_softirq+0x76b/0x7d0\n...\nFreed by task 36:\n kasan_save_stack+0x24/0x50\n kasan_save_track+0x14/0x30\n __kasan_save_free_info+0x3a/0x60\n __kasan_slab_free+0x43/0x70\n kfree+0x103/0x500\n device_release+0x9a/0x210\n kobject_put+0x100/0x1e0\n vhci_release+0x18b/0x240\n------",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, \u003c 990e6143b0ca0c66f099d67d00c112bf59b30d76",
          "\u003e= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, \u003c 2927ff643607eddf4f03d10ef80fe10d977154aa",
          "\u003e= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, \u003c 7b6b6c077cad0601d62c3c34ab7ce3fb25deda7b",
          "\u003e= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, \u003c fd62ca5ad136dcf6f5aa308423b299a6be6f54ea",
          "\u003e= b338d91703fae6f6afd67f3f75caa3b8f36ddef3, \u003c 55fb52ffdd62850d667ebed842815e072d3c9961"
        ],
        "fixed_in": [
          "990e6143b0ca0c66f099d67d00c112bf59b30d76",
          "2927ff643607eddf4f03d10ef80fe10d977154aa",
          "7b6b6c077cad0601d62c3c34ab7ce3fb25deda7b",
          "fd62ca5ad136dcf6f5aa308423b299a6be6f54ea",
          "55fb52ffdd62850d667ebed842815e072d3c9961"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.1"
        ],
        "fixed_in": [
          "0",
          "6.1.159",
          "6.6.117",
          "6.12.59",
          "6.17.9",
          "6.18"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 990e6143b0ca0c66f099d67d00c112bf59b30d76 or 2927ff643607eddf4f03d10ef80fe10d977154aa or 7b6b6c077cad0601d62c3c34ab7ce3fb25deda7b or fd62ca5ad136dcf6f5aa308423b299a6be6f54ea or 55fb52ffdd62850d667ebed842815e072d3c9961 or later.",
      "Upgrade Linux to 0 or 6.1.159 or 6.6.117 or 6.12.59 or 6.17.9 or 6.18 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
