Bug 2502437 (CVE-2026-63972) - CVE-2026-63972 kernel: net: mana: Skip redundant detach on already-detached port
Summary: CVE-2026-63972 kernel: net: mana: Skip redundant detach on already-detached port
Keywords:
Status: NEW
Alias: CVE-2026-63972
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-19 16:08 UTC by OSIDB Bzimport
Modified: 2026-07-21 16:06 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-19 16:08:04 UTC
In the Linux kernel, the following vulnerability has been resolved:

net: mana: Skip redundant detach on already-detached port

When mana_per_port_queue_reset_work_handler() runs after a previous
detach succeeded but attach failed, the port is left in a detached
state with apc->tx_qp and apc->rxqs already freed. Calling
mana_detach() again unconditionally leads to NULL pointer dereferences
during queue teardown.

Add an early exit in mana_detach() when the port is already in
detached state (!netif_device_present) for non-close callers, making
it safe to call idempotently. This allows the queue reset handler and
other recovery paths to simply retry mana_attach() without redundant
teardown.

Comment 1 Mauro Matteo Cascella 2026-07-21 16:02:25 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026071900-CVE-2026-63972-403c@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.