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

Summary

CVECVE-2026-63973
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-07-19 16:17:16 UTC
Updated2026-07-19 16:17:16 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.002050000 probability, percentile 0.107240000 (date 2026-07-20)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f da7e4a1aaf397af6a094f640c92d6bc7564c10db git Not specified
CNA Linux Linux affected ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f 95e414f8324385771bdfd6d497a01d5593813ccb git Not specified
CNA Linux Linux affected ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f 26a96fa81496afe7d162d172ccdc8cb9dbc685d2 git Not specified
CNA Linux Linux affected ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f da87896f34e0a51489811d1a684e2953099ca98f git Not specified
CNA Linux Linux affected ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f 0a9c520fdcb1cb2e79c163c12d359b5e1ee40007 git Not specified
CNA Linux Linux affected ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f 17bfe0a8c014ee1d542ad352cd6a0a505361664a git Not specified
CNA Linux Linux affected 5.13 Not specified
CNA Linux Linux unaffected 5.13 semver Not specified
CNA Linux Linux unaffected 6.1.176 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.143 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.93 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.35 6.18.* semver Not specified
CNA Linux Linux unaffected 7.0.12 7.0.* semver Not specified
CNA Linux Linux unaffected 7.1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/da7e4a1aaf397af6a094f640c92d6bc7564c10db 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/26a96fa81496afe7d162d172ccdc8cb9dbc685d2 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/da87896f34e0a51489811d1a684e2953099ca98f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0a9c520fdcb1cb2e79c163c12d359b5e1ee40007 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/95e414f8324385771bdfd6d497a01d5593813ccb 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/17bfe0a8c014ee1d542ad352cd6a0a505361664a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report