CVE-2025-21827

MEDIUM

Linux Kernel 6.11-6.12.12, 6.13.0-6.13.1, 6.14 - Improper Locking in Mediatek btusb Interface Claim

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0013
EPSS Percentile 2.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-667
Status published
Products (11)
linux/Kernel 6.11.0 - 6.12.13linux
linux/Kernel 6.13.0 - 6.13.2linux
Linux/Linux < 6.11
Linux/Linux 6.11
Linux/Linux 6.12.13 - 6.12.*
Linux/Linux 6.13.2 - 6.13.*
Linux/Linux 6.14
Linux/Linux ceac1cb0259de682d78f5c784ef8e0b13022e9d9 - 4194766ec8756f4f654d595ae49962acbac49490
Linux/Linux ceac1cb0259de682d78f5c784ef8e0b13022e9d9 - 930e1790b99e5839e1af69d2f7fd808f1fba2df9
Linux/Linux ceac1cb0259de682d78f5c784ef8e0b13022e9d9 - e9087e828827e5a5c85e124ce77503f2b81c3491
... and 1 more
Published Mar 06, 2025
Tracked Since Feb 18, 2026