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.
Published: 2026-07-19
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability occurs in the Linux kernel’s MANA network driver. When queue allocation fails during attachment, the cleanup path improperly frees and NULLs the tx_qp and rxqs structures. Subsequent teardown or error paths dereference these pointers without performing NULL checks, causing a kernel panic. This results in the entire operating system, leading to a denial of service. The issue involves a NULL pointer dereference (CWE-476).

Affected Systems

Linux kernel installations that include the net:mana driver. The issue affects all kernel releases prior to the commit that added NULL guards. It is not limited to a specific distribution but applies across all distributions shipping the affected kernel version.

Risk and Exploitability

The CVSS severity is moderate due to the ability to trigger a kernel panic. The EPSS score is less than 1%, indicating a relatively low probability of widespread exploitation at this time, but the flaw is listed as NOT in the CISA KEV catalog. Exploitation would likely require an attacker to trigger an allocation failure on the target machine, possibly by sending crafted traffic to the MANA interface. Once the failure occurs, the lack of NULL checks enables an attacker to cause a system crash with no additionally required privileges. Based on the description, it is inferred that the likely attack vector is local or remote network-based, depending on whether the victim can influence the MANA driver’s state.

Generated by OpenCVE AI on August 4, 2026 at 06:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Install the latest Linux kernel that incorporates the commit adding NULL guards to the net:mana driver
  • If a kernel upgrade cannot be applied immediately, configure the kernel’s panic handling (e.g., kernel.panic=10) so the system reboots automatically after a crash, reducing downtime
  • After applying the update and rebooting, restart any affected network services to ensure the MANA driver is reinitialized correctly

Generated by OpenCVE AI on August 4, 2026 at 06:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Sat, 25 Jul 2026 01:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-617

Wed, 22 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Tue, 21 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476
CWE-617

Sun, 19 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
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.
Title net: mana: Add NULL guards in teardown path to prevent panic on attach failure
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-19T14:55:59.263Z

Reserved: 2026-07-19T07:54:57.024Z

Link: CVE-2026-63973

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Low

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-63973 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T06:30:05Z

Weaknesses