CVE-2026-80854: usb: gadget: f_tcm: keep port count until LUN teardown completes
Vulnerability summary
CVE-2026-80854 is a vulnerability in linux with no CVSS score yet. EPSS estimates a 0.18% chance of exploitation in the next 30 days, higher than 8% of scored vulnerabilities.
No CVSS vector published; no exploitation reported by the 5 checked sources
CIRCL last checked 06-12-2026
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 27 · Related 21Timeline
- 04-09-2026PublishedVulnerability first disclosed.
- 19-10-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
Risk metrics not yet published.
EPSS trend
Probability
0.18%
Chance of exploitation in the next 30 days
Percentile
8%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.18% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: not stated in public data.
Ubuntu169 products
- linuxAll versions (No fix recorded) | < 5.15.0-202.212 | < 6.8.0-149.149 | < 7.0.0-42.42
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1119.126 | < 6.8.0-1069.74 | < 7.0.0-1016.17
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian2 products
- linux< 6.1.187-1 | < 6.12.111-1 | < 7.1.13-1
- linux-6.12< 6.12.111-1~deb12u1
Linux1 product
- linux≥ c52661d60f636d17e26ad834457db333bd1df494, < c494c5562ca69b61a82f566e3b87a445d2c28929 | ≥ c52661d60f636d17e26ad834457db333bd1df494, < c1f359d9a5efed458946063de65ddbeaacc4f165 | ≥ c52661d60f636d17e26ad834457db333bd1df494, < 178f59a0bccd3f66cdfa5184310f31a58b7257c4 | ≥ c52661d60f636d17e26ad834457db333bd1df494, < ad6f0375d2e93a1d8c015463e5e92dfcb26e311b | ≥ c52661d60f636d17e26ad834457db333bd1df494, < 2efbfd42441d3ef8137aff2d59e9835e1d5ae780 | ≥ c52661d60f636d17e26ad834457db333bd1df494, < 85aa61fedcb4eb13f3dc5db73f6dc359f41f5d95 | ≥ c52661d60f636d17e26ad834457db333bd1df494, < bbd6aa311a9f4dd17822c7557451458d3d2e980b | ≥ c52661d60f636d17e26ad834457db333bd1df494, < eaa96a8458f54d6cf0954242ab8b1df2a6fccafa | ≥ c52661d60f636d17e26ad834457db333bd1df494, < c39d0916da47d94909391876c9e5bd429ea7b1b9 | 3.5
3 vendors · 172 products