CVE-2026-63973

net: mana: Add NULL guards in teardown path to prevent panic on attach failure

MEDIUM
5.5
CVSS Score
Published: July 19, 2026 at 02:55 PM UTC
Updated: October 2, 2026 at 07:42 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: net: mana: Add NULL guards in teardown path to prevent panic on attach failure When queue allocation fails partway through, the error cleanup frees and NULLs apc->tx_qp and apc->rxqs. Multiple teardown paths such as mana_remove(), mana_change_mtu() recovery, and internal error handling in mana_alloc_queues() can subsequently call into functions that dereference these pointers without NULL checks: - mana_chn_setxdp() dereferences apc->rxqs[0], causing a NULL pointer dereference panic (CR2: 0000000000000000 at mana_chn_setxdp+0x26). - mana_destroy_vport() iterates apc->rxqs without a NULL check. - mana_fence_rqs() iterates apc->rxqs without a NULL check. - mana_dealloc_queues() iterates apc->tx_qp without a NULL check. Add NULL guards for apc->rxqs in mana_fence_rqs(), mana_destroy_vport(), and before the mana_chn_setxdp() call. Add a NULL guard for apc->tx_qp in mana_dealloc_queues() to skip TX queue draining when TX queues were never allocated or already freed.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.13 ≤ v < 6.1.1765.13 ≤ v < 6.12.935.13 ≤ v < 6.18.355.13 ≤ v < 6.6.1435.13 ≤ v < 7.0.125.13 ≤ v < 7.16.13 ≤ v < 6.18.356.19 ≤ v < 7.0.126.2 ≤ v < 6.6.1436.7 ≤ v < 6.12.937.1 rc17.1 rc27.1 rc37.1 rc47.1 rc5ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f
Vendor states this is fixed in 0a9c520fdcb1cb2e79c163c12d359b5e1ee40007 (fixed)
Vendor states this is fixed in 17bfe0a8c014ee1d542ad352cd6a0a505361664a (fixed)
Vendor states this is fixed in 26a96fa81496afe7d162d172ccdc8cb9dbc685d2 (fixed)
Vendor states this is fixed in 95e414f8324385771bdfd6d497a01d5593813ccb (fixed)
Vendor states this is fixed in da7e4a1aaf397af6a094f640c92d6bc7564c10db (fixed)
Vendor states this is fixed in da87896f34e0a51489811d1a684e2953099ca98f (fixed)
Vendor states this is fixed in 5.13 (unaffected)
Vendor states this is fixed in 6.1.176 (unaffected)
Vendor states this is fixed in 6.12.93 (unaffected)
Vendor states this is fixed in 6.18.35 (unaffected)
Vendor states this is fixed in 6.6.143 (unaffected)
Vendor states this is fixed in 7.0.12 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card