CVE-2026-64346
publishedusb: gadget: udc: Fix use-after-free in gadget_match_driver
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxfc274c1e997314bf47f6a62c79b5d7e554ed59c4 to < 50eeb8e8a4f389efc91b93cff14a683e714ec194 · fc274c1e997314bf47f6a62c79b5d7e554ed59c4 to < 7a5214dae906d9f58e07bc4995e8181ee74439f4 · fc274c1e997314bf47f6a62c79b5d7e554ed59c4 to < d026f71df141c9b064ff32a78af5391a31ef75c2 · fc274c1e997314bf47f6a62c79b5d7e554ed59c4 to < b52476a83d9e12df00765359d728a875b128bef1 · fc274c1e997314bf47f6a62c79b5d7e554ed59c4 to < 54fa390aae393eb130f307a85562e3001cc39a52 · fc274c1e997314bf47f6a62c79b5d7e554ed59c4 to < 67e511d2989eb1c8c588b599ce2fcc6bb8e6f7ea · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.19 (affected) · 0 to < 5.19 (unaffected · semver) · 6.1.178 through 6.1.* (unaffected · semver) · 6.6.145 through 6.6.* (unaffected · semver) · 6.12.96 through 6.12.* (unaffected · semver) · 6.18.39 through 6.18.* (unaffected · semver) · 7.1.4 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.180-1 | DLA-4720-1 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.100-1~deb12u1 | DLA-4724-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.180-1~deb11u1 | DLA-4723-1 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-324.217.5.2.el8uek | ELSA-2026-500249 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek64kaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek64k-coreaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek64k-develaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek64k-modulesaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| Oracle Linux | 9 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:5.15.0-324.217.5.2.el9uek | ELSA-2026-500249 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.75.1 | SUSE-SU-2026:4120-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.75.1 | SUSE-SU-2026:4120-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaults390x | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.75.1 | SUSE-SU-2026:4120-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-64kbaarch64 | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-64kb-develaarch64 | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-azureaarch64 | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-azurex86_64 | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-azure-develaarch64 | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-azure-develx86_64 | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-defaultaarch64 | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-defaultppc64le | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-defaults390x | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-defaultx86_64 | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-baseaarch64 | Advisory build | 6.4.0-150700.53.81.1.150700.17.45.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-baseppc64le | Advisory build | 6.4.0-150700.53.81.1.150700.17.45.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-basex86_64 | Advisory build | 6.4.0-150700.53.81.1.150700.17.45.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-develaarch64 | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-develppc64le | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-devels390x | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-develx86_64 | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-extrax86_64 | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatchppc64le | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatchs390x | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatchx86_64 | Advisory build | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: udc: Fix use-after-free in gadget_match_driver The udc structure acts as the management structure for the gadget, but their lifecycles are decoupled. A race condition exists where usb_del_gadget() frees the udc memory (e.g., via mode-switch work) while gadget_match_driver() concurrently accesses the freed udc memory (e.g., via configfs), causing a Use-After-Free (UAF) that triggers a NULL pointer dereference when the freed memory is zeroed: [39430.908615][ T1171] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 [39430.911397][ T1171] pc : __pi_strcmp+0x20/0x140 [39430.911441][ T1171] lr : gadget_match_driver+0x34/0x60 ... [39430.911890][ T1171] usb_gadget_register_driver_owner+0x50/0xf8 [39430.911910][ T1171] gadget_dev_desc_UDC_store+0xf4/0x140 [39430.931308][ T1171] configfs_write_iter+0xec/0x134 [39430.957058][ T1171] Workqueue: events_freezable __dwc3_set_mode [39430.957287][ T1171] dwc3_gadget_exit+0x34/0x8c [39430.957304][ T1171] __dwc3_set_mode+0xc0/0x664 Fix this by ensuring the udc structure remains allocated until the gadget is released. To achieve this, introduce a new usb_gadget_release() routine to the core. When the gadget is added, usb_add_gadget() stores the gadget's release routine in the udc structure and takes a reference to the udc. When the gadget is released, usb_gadget_release() drops the reference to the udc and then calls the gadget's release routine.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | fc274c1e997314bf47f6a62c79b5d7e554ed59c4 to < 50eeb8e8a4f389efc91b93cff14a683e714ec194 (affected · git)fc274c1e997314bf47f6a62c79b5d7e554ed59c4 to < 7a5214dae906d9f58e07bc4995e8181ee74439f4 (affected · git)fc274c1e997314bf47f6a62c79b5d7e554ed59c4 to < d026f71df141c9b064ff32a78af5391a31ef75c2 (affected · git)fc274c1e997314bf47f6a62c79b5d7e554ed59c4 to < b52476a83d9e12df00765359d728a875b128bef1 (affected · git)fc274c1e997314bf47f6a62c79b5d7e554ed59c4 to < 54fa390aae393eb130f307a85562e3001cc39a52 (affected · git)fc274c1e997314bf47f6a62c79b5d7e554ed59c4 to < 67e511d2989eb1c8c588b599ce2fcc6bb8e6f7ea (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.19 (affected)0 to < 5.19 (unaffected · semver)6.1.178 through 6.1.* (unaffected · semver)6.6.145 through 6.6.* (unaffected · semver)6.12.96 through 6.12.* (unaffected · semver)6.18.39 through 6.18.* (unaffected · semver)7.1.4 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/50eeb8e8a4f389efc91b93cff14a683e714ec194
- https://git.kernel.org/stable/c/54fa390aae393eb130f307a85562e3001cc39a52
- https://git.kernel.org/stable/c/67e511d2989eb1c8c588b599ce2fcc6bb8e6f7ea
- https://git.kernel.org/stable/c/7a5214dae906d9f58e07bc4995e8181ee74439f4
- https://git.kernel.org/stable/c/b52476a83d9e12df00765359d728a875b128bef1
- https://git.kernel.org/stable/c/d026f71df141c9b064ff32a78af5391a31ef75c2
Provider assertions
2Linux · cna
usb: gadget: udc: Fix use-after-free in gadget_match_driver
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8d1eda3353c587f680f8f3d4043702e350d397ceb0b0bbbcb1a6f1ec00efb9a4
- Ingested
- 07 Nov 2026, 23:46:23 UTC
- Source record
- Official CVE record