cveboard RSS feed

CVE-2026-80854

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2026
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

usb: gadget: f_tcm: keep port count until LUN teardown completes

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.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
c52661d60f636d17e26ad834457db333bd1df494affectedgitc494c5562ca69b61a82f566e3b87a445d2c28929UnavailableNone listed
c52661d60f636d17e26ad834457db333bd1df494affectedgitc1f359d9a5efed458946063de65ddbeaacc4f165UnavailableNone listed
c52661d60f636d17e26ad834457db333bd1df494affectedgit178f59a0bccd3f66cdfa5184310f31a58b7257c4UnavailableNone listed
c52661d60f636d17e26ad834457db333bd1df494affectedgitad6f0375d2e93a1d8c015463e5e92dfcb26e311bUnavailableNone listed
c52661d60f636d17e26ad834457db333bd1df494affectedgit2efbfd42441d3ef8137aff2d59e9835e1d5ae780UnavailableNone listed
c52661d60f636d17e26ad834457db333bd1df494affectedgit85aa61fedcb4eb13f3dc5db73f6dc359f41f5d95UnavailableNone listed
c52661d60f636d17e26ad834457db333bd1df494affectedgitbbd6aa311a9f4dd17822c7557451458d3d2e980bUnavailableNone listed
c52661d60f636d17e26ad834457db333bd1df494affectedgiteaa96a8458f54d6cf0954242ab8b1df2a6fccafaUnavailableNone listed
c52661d60f636d17e26ad834457db333bd1df494affectedgitc39d0916da47d94909391876c9e5bd429ea7b1b9UnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
3.5affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver3.5UnavailableNone listed
5.10.269unaffectedsemverUnavailable5.10.*None listed
5.15.220unaffectedsemverUnavailable5.15.*None listed
6.1.187unaffectedsemverUnavailable6.1.*None listed
6.6.156unaffectedsemverUnavailable6.6.*None listed
6.12.108unaffectedsemverUnavailable6.12.*None listed
6.18.49unaffectedsemverUnavailable6.18.*None listed
7.1.13unaffectedsemverUnavailable7.1.*None listed
7.2.3unaffectedsemverUnavailable7.2.*None listed
7.3unaffectedoriginal_commit_for_fixUnavailable*None listed