CVE-2026-80854 json
usb: gadget: f_tcm: keep port count until LUN teardown completes
published 2026-09-04 2 mo ago modified 2026-10-19 21 d ago also EUVD-2026-71304
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 7%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: f_tcm: keep port count until LUN teardown completes
tcm_usbg_drop_nexus() permits session removal once tpg_port_count reaches zero. However, usbg_port_unlink() currently decrements that count from the fabric_pre_unlink() callback, before core_dev_del_lun() waits for active se_lun references to drain.
If removal of the last LUN races a nexus removal, the latter can observe a zero port count and call target_remove_session(). This frees sess_cmd_map while an in-flight struct usbg_cmd, including its work item, can still be accessed.
Overlapping the last-LUN unlink with nexus removal reproduces this lifetime violation as a DEBUG_OBJECTS "free active" warning for usbg_cmd_work, followed by a target-core BUG/Oops.
The generic target-core unlink path has no callback after core_dev_del_lun() completes. Add an optional fabric_post_unlink() callback and use it for the f_tcm port count. The count now remains nonzero until core_dev_del_lun() has finished draining active LUN references, preventing nexus removal from freeing the session during command completion.
Patch / fix
- Linux Linux 5.10.269, 5.15.220, 6.1.187, 6.6.156, 6.12.108, 6.18.49, 7.1.13, 7.2.3, 7.3
- linux Debian 12 6.1.187-1
- linux Debian 13 6.12.111-1
- linux Debian 14 7.1.13-1
- linux-6.12 Debian 12 6.12.111-1~deb12u1
debian advisories DEBIAN-CVE-2026-80854
- linux Ubuntu 22.04 LTS 5.15.0-202.212
- linux Ubuntu 26.04 LTS 7.0.0-42.42
- linux-aws Ubuntu 22.04 LTS 5.15.0-1119.126
- linux-aws Ubuntu 26.04 LTS 7.0.0-1016.17
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1120.130
- linux-gcp Ubuntu 26.04 LTS 7.0.0-1016.18
- linux-gke Ubuntu 22.04 LTS 5.15.0-1115.121
- linux-ibm Ubuntu 22.04 LTS 5.15.0-1113.117
ubuntu advisories UBUNTU-CVE-2026-80854
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-source openSUSE Tumbleweed 7.2.5-1.1
opensuse advisories openSUSE-SU-2026:11773-1
- git.kernel.org/stable/c/c494c5562ca69b61a82f566e3b87a445d2c28929 commit
- git.kernel.org/stable/c/c1f359d9a5efed458946063de65ddbeaacc4f165 commit
- git.kernel.org/stable/c/178f59a0bccd3f66cdfa5184310f31a58b7257c4 commit
- git.kernel.org/stable/c/ad6f0375d2e93a1d8c015463e5e92dfcb26e311b commit
- git.kernel.org/stable/c/2efbfd42441d3ef8137aff2d59e9835e1d5ae780 commit
- git.kernel.org/stable/c/85aa61fedcb4eb13f3dc5db73f6dc359f41f5d95 commit
- git.kernel.org/stable/c/bbd6aa311a9f4dd17822c7557451458d3d2e980b commit
- git.kernel.org/stable/c/eaa96a8458f54d6cf0954242ab8b1df2a6fccafa commit
- git.kernel.org/stable/c/c39d0916da47d94909391876c9e5bd429ea7b1b9 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-80854 updated cvss 4.7
kernel: usb: gadget: f_tcm: keep port count until LUN teardown completes
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernel Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9 Red Hat OpenShift Container Platform 5 openshift/ose-rhel-coreos-9affected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.18% chance of exploitation in the next 30 days, higher than 7% of all scored CVEs (FIRST EPSS, 2026-11-08).
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/c494c5562ca69b61a82f566e3b87a445d2c28929
- git.kernel.org /stable/c/c1f359d9a5efed458946063de65ddbeaacc4f165
- git.kernel.org /stable/c/178f59a0bccd3f66cdfa5184310f31a58b7257c4
- git.kernel.org /stable/c/ad6f0375d2e93a1d8c015463e5e92dfcb26e311b
- git.kernel.org /stable/c/2efbfd42441d3ef8137aff2d59e9835e1d5ae780
- git.kernel.org /stable/c/85aa61fedcb4eb13f3dc5db73f6dc359f41f5d95
- git.kernel.org /stable/c/bbd6aa311a9f4dd17822c7557451458d3d2e980b
- git.kernel.org /stable/c/eaa96a8458f54d6cf0954242ab8b1df2a6fccafa
- git.kernel.org /stable/c/c39d0916da47d94909391876c9e5bd429ea7b1b9
Sources
- CVE List CVE-2026-80854
- NVD CVE-2026-80854
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.