CVE-2025-21827
Bluetooth: btusb: mediatek: Add locks for usb_driver_claim_interface()
Reported by linux · Published March 6, 2025
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btusb: mediatek: Add locks for usb_driver_claim_interface() The documentation for usb_driver_claim_interface() says that "the device lock" is needed when the function is called from places other than probe(). This appears to be the lock for the USB interface device. The Mediatek btusb code gets called via this path: Workqueue: hci0 hci_power_on [bluetooth] Call trace: usb_driver_claim_interface btusb_mtk_claim_iso_intf btusb_mtk_setup hci_dev_open_sync hci_power_on process_scheduled_works worker_thread kthread With the above call trace the device lock hasn't been claimed. Claim it. Without this fix, we'd sometimes see the error "Failed to claim iso interface". Sometimes we'd even see worse errors, like a NULL pointer dereference (where `intf->dev.driver` was NULL) with a trace like: Call trace: usb_suspend_both usb_runtime_suspend __rpm_callback rpm_suspend pm_runtime_work process_scheduled_works Both errors appear to be fixed with the proper locking.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.14, 6.13.2, 6.12.13 |
| Linux | Linux | e9087e828827e5a5c85e124ce77503f2b81c3491, 930e1790b99e5839e1af69d2f7fd808f1fba2df9, 6.11, 4194766ec8756f4f654d595ae49962acbac49490 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | ceac1cb0259de682d78f5c784ef8e0b13022e9d9, ceac1cb0259de682d78f5c784ef8e0b13022e9d9, ceac1cb0259de682d78f5c784ef8e0b13022e9d9 |
| Linux | Linux | 6.11, 0, 6.12.13 |
| linux | linux_kernel | 6.11, 6.11, 6.11 |
| Linux | Linux | 6.11, 6.12.13, 6.13.2 |
Timeline
- Mar 6, 2025 CVE Published
- Mar 7, 2025 EPSS Score (30 in total, the first dated here)
- Mar 20, 2025 Coalition ESS Score (9 in total, the first dated here)
- Dec 22, 2025 Security Advisory (94 in total, the first dated here)
- Nov 12, 2026 CVE Updated
- Nov 15, 2026 Distribution Patch (93 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-21827
vulnetix vdb fixes CVE-2025-21827
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21827/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart