Linux kernel: USB: core: Fix deadlock in usb_deauthorize_interface()
Overview
In the Linux kernel, the following vulnerability has been resolved: USB: core: Fix deadlock in usb_deauthorize_interface() Among the attribute file callback routines in drivers/usb/core/sysfs.c, the interface_authorized_store() function is the only one which acquires a device lock on an ancestor device: It calls usb_deauthorize_interface(), which locks the interface's parent USB device. The will lead to deadlock if another process already owns that lock and tries to remove the interface, whether through a configuration change or because the device has been disconnected. As part of the removal procedure, device_del() waits for all ongoing sysfs attribute callbacks to complete. But usb_deauthorize_interface() can't complete until the device lock has been released, and the lock won't be released until the removal has finished. The mechanism provided by sysfs to prevent this kind of deadlock is to use the sysfs_break_active_protection() function, which tells sysfs not to wait for the attribute callback. Reported-and-tested by: Yue Sun <samsun1006219@gmail.com> Reported by: xingwei lee <xrivendell7@gmail.com>
- Published
- 5/1/2024
- Last modified
- 10/15/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 4.4, < 4.19.312 | Verify advisory | Source |
linux kernel linux | ≥ 4.20.0, < 5.4.274 | Verify advisory | Source |
linux kernel linux | ≥ 5.5.0, < 5.10.215 | Verify advisory | Source |
linux kernel linux | ≥ 5.11.0, < 5.15.154 | Verify advisory | Source |
linux kernel linux | ≥ 5.16.0, < 6.1.84 | Verify advisory | Source |
linux kernel linux | ≥ 6.2.0, < 6.6.24 | Verify advisory | Source |
linux kernel linux | ≥ 6.7.0, < 6.7.12 | Verify advisory | Source |
linux kernel linux | ≥ 6.8.0, < 6.8.3 | Verify advisory | Source |
linux kernel linux | 6.9 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
Linux Linux | ≥ 310d2b4124c073a2057ef9d952d4d938e9b1dfd9, < 8cbdd324b41528994027128207fae8100dff094f | Verify advisory | Source |
Linux Linux | ≥ 310d2b4124c073a2057ef9d952d4d938e9b1dfd9, < 12d6a5681a0a5cecc2af7860f0a1613fa7c6e947 | Verify advisory | Source |
Linux Linux | ≥ 310d2b4124c073a2057ef9d952d4d938e9b1dfd9, < e451709573f8be904a8a72d0775bf114d7c291d9 | Verify advisory | Source |
Linux Linux | ≥ 310d2b4124c073a2057ef9d952d4d938e9b1dfd9, < 1b175bc579f46520b11ecda443bcd2ee4904f66a | Verify advisory | Source |
Linux Linux | ≥ 310d2b4124c073a2057ef9d952d4d938e9b1dfd9, < ab062fa3dc69aea88fe62162c5881ba14b50ecc5 | Verify advisory | Source |
Linux Linux | ≥ 310d2b4124c073a2057ef9d952d4d938e9b1dfd9, < 122a06f1068bf5e39089863f4f60b1f5d4273384 | Verify advisory | Source |
Linux Linux | ≥ 310d2b4124c073a2057ef9d952d4d938e9b1dfd9, < dbdf66250d2d33e8b27352fcb901de79f3521057 | Verify advisory | Source |
Linux Linux | ≥ 310d2b4124c073a2057ef9d952d4d938e9b1dfd9, < 07acf979da33c721357ff27129edf74c23c036c6 | Verify advisory | Source |
Linux Linux | ≥ 310d2b4124c073a2057ef9d952d4d938e9b1dfd9, < 80ba43e9f799cbdd83842fc27db667289b3150f5 | Verify advisory | Source |
Linux Linux | 4.4 | Verify advisory | Source |
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem Siemens | < V1.1.1 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.