# CVE-2026-63972: net: mana: Skip redundant detach on already-detached port

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Published: 2026-07-19T14:55:58.503Z
- Modified: 2026-10-02T19:41:02.587Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from fb9f98e1041a30dd5766620a2a64cb472b54caa9 before c4152b4e28b3e550ec99351bf900e2c24c2608cc; from 3b194343c25084a8d2fa0c0f2c9e80f3080fd732 before 7ae590797f9b5c240aaea5773f5f00977a42a846; from 3b194343c25084a8d2fa0c0f2c9e80f3080fd732 before 5b05aa36ee24297d7296ca58dfd8c448d0e4cda3; from 6.18.33 before 6.18.35; 7.0 (not affected: before 7.0; from 6.18.35 up to 6.18.*; from 7.0.12 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.18.33 before 6.18.35; from 7.0 before 7.0.12; 7.1

## References

- <https://git.kernel.org/stable/c/c4152b4e28b3e550ec99351bf900e2c24c2608cc> (patch)
- <https://git.kernel.org/stable/c/7ae590797f9b5c240aaea5773f5f00977a42a846> (patch)
- <https://git.kernel.org/stable/c/5b05aa36ee24297d7296ca58dfd8c448d0e4cda3> (patch)

## Sources

- CVE List: [CVE-2026-63972](https://www.cve.org/CVERecord?id=CVE-2026-63972), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-63972](https://nvd.nist.gov/vuln/detail/CVE-2026-63972), Public domain, modified 2026-10-02

---

Page: https://cve.day/CVE-2026-63972 · Whole record: https://cve.day/CVE-2026-63972.json · Rebuilt by cve.day 2026-11-25T22:59:28.879Z
