Improper locking in Linux kernel - CVE-2026-31756
Published: May 2, 2026
Linux kernel
Detailed vulnerability description
The vulnerability allows a local user to cause a denial of service.
The vulnerability exists due to improper lock management in dwc2_hsotg_udc_stop() when stopping the USB gadget controller. A local user can trigger the vulnerable code path to cause a denial of service.
The issue can result in a deadlock because a spin unlock operation is performed without the required lock being held, after which the lock may remain held for a later locking operation in the same function.
How to mitigate CVE-2026-31756
Sources
- https://git.kernel.org/stable/c/4ed9d2dd9f29828c311db6ec4b8e0d34bfd6d6a4
- https://git.kernel.org/stable/c/51b62286fc668c6eb74dee7624ec0beec3c5a0ed
- https://git.kernel.org/stable/c/61937f686290494998236c680ce0836b8dd63a3f
- https://git.kernel.org/stable/c/8ffe31acb3b77a30ae34d01719a269881569fb7f
- https://git.kernel.org/stable/c/9bb4b5ed7f8c4f95cc556bdf042b0ba2fa13557a
- https://git.kernel.org/stable/c/beab10429439e20708036a66fb0d97ffb79da6a1
- https://git.kernel.org/stable/c/e9fcca3e87463013d595c65c2189ffaa32ad3b50