CVE-2026-80854

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.

Package Linux Kernel
Published 2026-09-04
Last modified 2026-10-19
Patch available
Yes

Affected versions

Linux kernel versions 3.5 and later are affected. Fixed in 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 and their respective stable series.

Affected from
≥ 3.5
Fixed in
✓ 5.10.269 5.10.x ✓ 5.15.220 5.15.x ✓ 6.1.187 6.1.x ✓ 6.6.156 6.6.x ✓ 6.12.108 6.12.x ✓ 6.18.49 6.18.x ✓ 7.1.13 7.1.x ✓ 7.2.3 7.2.x ✓ 7.3

Frequently asked questions

  • What is CVE-2026-80854?

    CVE-2026-80854 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 3.5 onward and has been patched in 5.10.269, 5.15.220, 6.1.187 and others. CVE-2026-80854 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2026-80854?

    Yes. CVE-2026-80854 has been patched. Fixed versions include 5.10.269, 5.15.220, 6.1.187 and others. If you are running Linux kernel 3.5 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-80854 actively exploited?

    No. CVE-2026-80854 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.