# CVE-2025-21827: Bluetooth: btusb: mediatek: Add locks for usb_driver_claim_interface()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-03-06T16:04:32.951Z
- Modified: 2026-10-15T22:18:09.443Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from ceac1cb0259de682d78f5c784ef8e0b13022e9d9 before 930e1790b99e5839e1af69d2f7fd808f1fba2df9; from ceac1cb0259de682d78f5c784ef8e0b13022e9d9 before 4194766ec8756f4f654d595ae49962acbac49490; from ceac1cb0259de682d78f5c784ef8e0b13022e9d9 before e9087e828827e5a5c85e124ce77503f2b81c3491; 6.11 (not affected: before 6.11; from 6.12.13 up to 6.12.*; from 6.13.2 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 6.11 before 6.12.13; from 6.13 before 6.13.2

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/930e1790b99e5839e1af69d2f7fd808f1fba2df9> (patch)
- <https://git.kernel.org/stable/c/4194766ec8756f4f654d595ae49962acbac49490> (patch)
- <https://git.kernel.org/stable/c/e9087e828827e5a5c85e124ce77503f2b81c3491> (patch)

## Sources

- CVE List: [CVE-2025-21827](https://www.cve.org/CVERecord?id=CVE-2025-21827), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-21827](https://nvd.nist.gov/vuln/detail/CVE-2025-21827), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-21827 · Whole record: https://cve.day/CVE-2025-21827.json · Rebuilt by cve.day 2026-11-25T22:58:55.021Z
