Description
In the Linux kernel before 4.16.4, a double-locking error in drivers/usb/dwc3/gadget.c may potentially cause a deadlock with f_hid.
References (9)
Core 9
Core References
Mailing List, Vendor Advisory x_refsource_misc
https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.16.4
Mailing List, Patch, Third Party Advisory x_refsource_misc
https://www.spinics.net/lists/linux-usb/msg167355.html
Mailing List, Patch, Third Party Advisory x_refsource_misc
https://www.spinics.net/lists/linux-usb/msg167393.html
Patch, Third Party Advisory x_refsource_misc
https://github.com/torvalds/linux/commit/c91815b596245fd7da349ecc43c8def670d2269e
Mailing List, Patch, Vendor Advisory x_refsource_misc
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c91815b596245fd7da349ecc43c8def670d2269e
Patch, Third Party Advisory x_refsource_misc
https://github.com/torvalds/linux/commit/072684e8c58d17e853f8e8b9f6d9ce2e58d2b036
Mailing List, Patch, Vendor Advisory x_refsource_misc
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=072684e8c58d17e853f8e8b9f6d9ce2e58d2b036
Third Party Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/4115-1/
Third Party Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/4118-1/
Scores
CVSS v3
5.5
EPSS
0.0006
EPSS Percentile
19.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 (3)
canonical/ubuntu_linux
16.04
canonical/ubuntu_linux
18.04
linux/linux_kernel
< 4.16.4
Published
Aug 07, 2019
Tracked Since
Feb 18, 2026