usb: gadget: f_tcm: fix deadlock in usbg_make_tpg()
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.270, 5.15.221, 6.1.188, 6.12.109, 6.18.50, 6.6.157, 7.2.4
- CVEs
- CVE-2026-93214
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 21:12 UTC · Revision 1
Source evidence
usb: gadget: f_tcm: fix deadlock in usbg_make_tpg()
core-osv · Original sourcePublished 24 Sept 2026, 15:10 UTC
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.
osv:CVE-2026-93214
Kernel
Fixed versions: 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.109, 6.18.50, 7.2.4
Complete source record
{
"id": "c0562ca82a826ccc61ce61984bb6f0290fa38f8b7afa88560fa34bf51405593d",
"url": "https://osv.dev/vulnerability/CVE-2026-93214",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "usb: gadget: f_tcm: fix deadlock in usbg_make_tpg()",
"summary": "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.",
"evidence": "osv:CVE-2026-93214",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.270",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.221",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.188",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.157",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.109",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.50",
"evidence": "/affected/1/ranges"
},
{
"value": "7.2.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-93214",
"aliases": [
"CVE-2026-93214"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "4bb8548df632187d5db50878e71804af5f7c51ad"
},
{
"fixed": "abad5daa41cf5d0a0a9cba0397d3a0e7f11e0277"
},
{
"fixed": "3639438a4c83ffc2e564c8c010b92137c5d11cfa"
},
{
"fixed": "78a14ea2284825055ab6c2a1f3489510f560f3a2"
},
{
"fixed": "eef3e62f90d86c1c5651742f84ecc9db1814a893"
},
{
"fixed": "f81a2da137b029a282b9bc64d2f267d242948659"
},
{
"fixed": "6bcd9ee6ad6989d1d85a7459687e45b7ad7568d9"
},
{
"fixed": "d90b0f90e30cd59b36005a4016b15cf02bcd7fb2"
},
{
"fixed": "9dbf74f4022f80f7669d2b3c22c5deb46c1b5674"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93214.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.5.0"
},
{
"fixed": "5.10.270"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.221"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.188"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.157"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.109"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.50"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.2.4"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93214.json"
}
}
],
"modified": "2026-10-28T02:30:23.399873617Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/3639438a4c83ffc2e564c8c010b92137c5d11cfa",
"https://git.kernel.org/stable/c/6bcd9ee6ad6989d1d85a7459687e45b7ad7568d9",
"https://git.kernel.org/stable/c/78a14ea2284825055ab6c2a1f3489510f560f3a2",
"https://git.kernel.org/stable/c/9dbf74f4022f80f7669d2b3c22c5deb46c1b5674",
"https://git.kernel.org/stable/c/abad5daa41cf5d0a0a9cba0397d3a0e7f11e0277",
"https://git.kernel.org/stable/c/d90b0f90e30cd59b36005a4016b15cf02bcd7fb2",
"https://git.kernel.org/stable/c/eef3e62f90d86c1c5651742f84ecc9db1814a893",
"https://git.kernel.org/stable/c/f81a2da137b029a282b9bc64d2f267d242948659",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93214.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-93214",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93214.json"
}
},
"related_cves": [
{
"value": "CVE-2026-93214",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 490126,
"published_at": "2026-09-24T15:10:36.975+00:00"
}