# CVE-2026-93214: usb: gadget: f_tcm: fix deadlock in usbg_make_tpg()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-09-24T15:10:36.975Z
- Modified: 2026-10-19T10:17:12.323Z
- Assigned by: Linux

## Description

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

usb: gadget: f_tcm: fix deadlock in usbg_make_tpg()

usbg_make_tpg() held dep_lock while calling
configfs_depend_item_unlocked(), which acquires the configfs root
inode lock when operating across subsystems. This creates a circular
lock dependency with configfs_rmdir():

  dep_lock -> configfs root inode lock -> su_mutex -> dep_lock

In usbg_make_tpg(), dep_lock only serialized the read of opts->ready,
which is a monotonic flag that transitions from false to true exactly
once (in tcm_set_name()) and never reverts. Remove dep_lock from
usbg_make_tpg() entirely and use READ_ONCE/WRITE_ONCE to access
opts->ready locklessly instead.

(As written by CVE List.)

## Affected

- Linux Linux: from 4bb8548df632187d5db50878e71804af5f7c51ad before abad5daa41cf5d0a0a9cba0397d3a0e7f11e0277; from 4bb8548df632187d5db50878e71804af5f7c51ad before 3639438a4c83ffc2e564c8c010b92137c5d11cfa; from 4bb8548df632187d5db50878e71804af5f7c51ad before 78a14ea2284825055ab6c2a1f3489510f560f3a2; from 4bb8548df632187d5db50878e71804af5f7c51ad before eef3e62f90d86c1c5651742f84ecc9db1814a893; from 4bb8548df632187d5db50878e71804af5f7c51ad before f81a2da137b029a282b9bc64d2f267d242948659; from 4bb8548df632187d5db50878e71804af5f7c51ad before 6bcd9ee6ad6989d1d85a7459687e45b7ad7568d9; from 4bb8548df632187d5db50878e71804af5f7c51ad before d90b0f90e30cd59b36005a4016b15cf02bcd7fb2; from 4bb8548df632187d5db50878e71804af5f7c51ad before 9dbf74f4022f80f7669d2b3c22c5deb46c1b5674; 4.5 (not affected: before 4.5; from 5.10.270 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.109 up to 6.12.*; from 6.18.50 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/abad5daa41cf5d0a0a9cba0397d3a0e7f11e0277>
- <https://git.kernel.org/stable/c/3639438a4c83ffc2e564c8c010b92137c5d11cfa>
- <https://git.kernel.org/stable/c/78a14ea2284825055ab6c2a1f3489510f560f3a2>
- <https://git.kernel.org/stable/c/eef3e62f90d86c1c5651742f84ecc9db1814a893>
- <https://git.kernel.org/stable/c/f81a2da137b029a282b9bc64d2f267d242948659>
- <https://git.kernel.org/stable/c/6bcd9ee6ad6989d1d85a7459687e45b7ad7568d9>
- <https://git.kernel.org/stable/c/d90b0f90e30cd59b36005a4016b15cf02bcd7fb2>
- <https://git.kernel.org/stable/c/9dbf74f4022f80f7669d2b3c22c5deb46c1b5674>

## Sources

- CVE List: [CVE-2026-93214](https://www.cve.org/CVERecord?id=CVE-2026-93214), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-93214](https://nvd.nist.gov/vuln/detail/CVE-2026-93214), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-93214 · Whole record: https://cve.day/CVE-2026-93214.json · Rebuilt by cve.day 2026-11-25T22:59:40.780Z
