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

Published Mar 6, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: btusb: mediatek: Add locks for usbdriverclaiminterface()

The documentation for usbdriverclaiminterface() 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 hcipoweron [bluetooth] Call trace: usbdriverclaiminterface btusbmtkclaimisointf btusbmtksetup hcidevopensync hcipoweron processscheduledworks workerthread 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: usbsuspendboth usbruntimesuspend rpmcallback rpmsuspend pmruntimework processscheduledworks

Both errors appear to be fixed with the proper locking.

Affected Software

3 affected components
Linux Linux kernel
Linux Linux kernel>=6.11<6.12.13
Linux Linux kernel>=6.13<6.13.2

Event History

Mar 6, 2025
CVE Published
via MITRE·04:04 PM
Data Sourced
via MITRE·04:04 PM
DescriptionSeverity
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-21827?

CVE-2025-21827 has a medium severity rating due to potential concurrency issues in Bluetooth handling in the Linux kernel.

2

How do I fix CVE-2025-21827?

To fix CVE-2025-21827, update your Linux kernel to the latest stable version that contains the patches addressing this vulnerability.

3

What software is affected by CVE-2025-21827?

CVE-2025-21827 affects the Linux Kernel, particularly the Bluetooth subsystem in devices utilizing the btusb driver.

4

What is the nature of the vulnerability in CVE-2025-21827?

CVE-2025-21827 is a concurrency vulnerability that occurs when the usb_driver_claim_interface() function is improperly accessed, leading to potential device lock issues.

5

Is there a workaround for CVE-2025-21827?

There are no specific workarounds recommended for CVE-2025-21827, and upgrading the kernel is the best course of action.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203