DEBIAN-CVE-2026-80854

    Dashboard / Vulnerabilities / DEBIAN-CVE-2026-80854

    DEBIAN-CVE-2026-80854

    Published: 4 Sept 2026Last Modified: 14 Sept 2026
    Upstream:

    Summary:

    Details: 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.

    Affected packages

    Package

    Name: linux

    Purl: pkg:deb/debian/linux?arch=source&distro=bookworm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -6.1.187-1

    Affected versions

    6.1.106-1
    6.1.106-2
    6.1.106-3
    6.1.112-1
    6.1.115-1
    6.1.119-1
    6.1.123-1
    6.1.124-1
    6.1.128-1
    6.1.129-1
    6.1.133-1
    6.1.135-1
    6.1.137-1
    6.1.139-1
    6.1.140-1
    6.1.147-1
    6.1.148-1
    6.1.153-1
    6.1.158-1
    6.1.159-1
    6.1.162-1
    6.1.164-1
    6.1.170-1
    6.1.170-2
    6.1.170-3
    6.1.172-1
    6.1.174-1
    6.1.176-1
    6.1.177-1
    6.1.180-1
    6.1.27-1
    6.1.37-1
    6.1.38-1
    6.1.38-2
    6.1.38-2~bpo11+1
    6.1.38-3
    6.1.38-4
    6.1.38-4~bpo11+1
    6.1.52-1
    6.1.55-1
    6.1.55-1~bpo11+1
    6.1.64-1
    6.1.66-1
    6.1.67-1
    6.1.69-1
    6.1.69-1~bpo11+1
    6.1.76-1
    6.1.76-1~bpo11+1
    6.1.82-1
    6.1.85-1
    6.1.90-1
    6.1.90-1~bpo11+1
    6.1.94-1
    6.1.94-1~bpo11+1
    6.1.98-1
    6.1.99-1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    DEBIAN-CVE-2026-80854 | CVE-DB