{
  "id": "CVE-2025-21827",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-21827",
  "published_at": "2025-03-06T16:04:32.951Z",
  "title": "Bluetooth: btusb: mediatek: Add locks for usb_driver_claim_interface()",
  "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: btusb: mediatek: Add locks for usb_driver_claim_interface()\n\nThe documentation for usb_driver_claim_interface() says that \"the\ndevice lock\" is needed when the function is called from places other\nthan probe(). This appears to be the lock for the USB interface\ndevice. The Mediatek btusb code gets called via this path:\n\n  Workqueue: hci0 hci_power_on [bluetooth]\n  Call trace:\n   usb_driver_claim_interface\n   btusb_mtk_claim_iso_intf\n   btusb_mtk_setup\n   hci_dev_open_sync\n   hci_power_on\n   process_scheduled_works\n   worker_thread\n   kthread\n\nWith the above call trace the device lock hasn't been claimed. Claim\nit.\n\nWithout this fix, we'd sometimes see the error \"Failed to claim iso\ninterface\". Sometimes we'd even see worse errors, like a NULL pointer\ndereference (where `intf-\u003edev.driver` was NULL) with a trace like:\n\n  Call trace:\n   usb_suspend_both\n   usb_runtime_suspend\n   __rpm_callback\n   rpm_suspend\n   pm_runtime_work\n   process_scheduled_works\n\nBoth errors appear to be fixed with the proper locking.",
  "cwe": "CWE-667",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= ceac1cb0259de682d78f5c784ef8e0b13022e9d9, \u003c 930e1790b99e5839e1af69d2f7fd808f1fba2df9",
          "\u003e= ceac1cb0259de682d78f5c784ef8e0b13022e9d9, \u003c 4194766ec8756f4f654d595ae49962acbac49490",
          "\u003e= ceac1cb0259de682d78f5c784ef8e0b13022e9d9, \u003c e9087e828827e5a5c85e124ce77503f2b81c3491"
        ],
        "fixed_in": [
          "930e1790b99e5839e1af69d2f7fd808f1fba2df9",
          "4194766ec8756f4f654d595ae49962acbac49490",
          "e9087e828827e5a5c85e124ce77503f2b81c3491"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.11"
        ],
        "fixed_in": [
          "0",
          "6.12.13",
          "6.13.2",
          "6.14"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 930e1790b99e5839e1af69d2f7fd808f1fba2df9 or 4194766ec8756f4f654d595ae49962acbac49490 or e9087e828827e5a5c85e124ce77503f2b81c3491 or later.",
      "Upgrade Linux to 0 or 6.12.13 or 6.13.2 or 6.14 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
