{
  "id": "CVE-2025-39861",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-39861",
  "published_at": "2025-09-19T15:26:31.519Z",
  "title": "Bluetooth: vhci: Prevent use-after-free by removing debugfs files early",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cisa-adp",
    "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: vhci: Prevent use-after-free by removing debugfs files early\n\nMove the creation of debugfs files into a dedicated function, and ensure\nthey are explicitly removed during vhci_release(), before associated\ndata structures are freed.\n\nPreviously, debugfs files such as \"force_suspend\", \"force_wakeup\", and\nothers were created under hdev-\u003edebugfs but not removed in\nvhci_release(). Since vhci_release() frees the backing vhci_data\nstructure, any access to these files after release would result in\nuse-after-free errors.\n\nAlthough hdev-\u003edebugfs is later freed in hci_release_dev(), user can\naccess files after vhci_data is freed but before hdev-\u003edebugfs is\nreleased.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc4:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 7.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= ab4e4380d4e158486e595013a2635190e07e28ce, \u003c bd75eba88e88d7b896b0c737b02a74a12afc235f",
          "\u003e= ab4e4380d4e158486e595013a2635190e07e28ce, \u003c 1503756fffe76d5aea2371a4b8dee20c3577bcfd",
          "\u003e= ab4e4380d4e158486e595013a2635190e07e28ce, \u003c 7cc08f2f127b9a66f46ea918e34353811a7cb378",
          "\u003e= ab4e4380d4e158486e595013a2635190e07e28ce, \u003c 28010791193a4503f054e8d69a950ef815deb539"
        ],
        "fixed_in": [
          "bd75eba88e88d7b896b0c737b02a74a12afc235f",
          "1503756fffe76d5aea2371a4b8dee20c3577bcfd",
          "7cc08f2f127b9a66f46ea918e34353811a7cb378",
          "28010791193a4503f054e8d69a950ef815deb539"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.4"
        ],
        "fixed_in": [
          "0",
          "6.6.105",
          "6.12.46",
          "6.16.6",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to bd75eba88e88d7b896b0c737b02a74a12afc235f or 1503756fffe76d5aea2371a4b8dee20c3577bcfd or 7cc08f2f127b9a66f46ea918e34353811a7cb378 or 28010791193a4503f054e8d69a950ef815deb539 or later.",
      "Upgrade Linux to 0 or 6.6.105 or 6.12.46 or 6.16.6 or 6.17 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
