---
id: CVE-2026-63972
title: |-
  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 p…
summary: |-
  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 p…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-476
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 6.18.33, < 6.18.35'
  - 'linux_kernel >= 7.0, < 7.0.12'
  - linux_kernel = 7.1
patched:
  - linux_kernel 7.0.12
published: '2026-07-19'
updated: '2026-10-02'
sourceUpdated: '2026-10-02T19:41:02.587'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-63972'
references:
  - url: 'https://git.kernel.org/stable/c/5b05aa36ee24297d7296ca58dfd8c448d0e4cda3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/7ae590797f9b5c240aaea5773f5f00977a42a846'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c4152b4e28b3e550ec99351bf900e2c24c2608cc'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00592
epssPercentile: 0.46372
ingestedAt: '2026-10-02T22:33:09.808Z'
---

## Overview

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.

## Affected

- `linux_kernel >= 6.18.33, < 6.18.35`
- `linux_kernel >= 7.0, < 7.0.12`
- `linux_kernel = 7.1`

## Remediation

Upgrade past the affected range:

- `linux_kernel 7.0.12`
