{"id":"CVE-2026-63973","published":"2026-07-19T14:55:59Z","modified":"2026-07-19T14:55:59Z","title":"net: mana: Add NULL guards in teardown path to prevent panic on attach failure","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mana: Add NULL guards in teardown path to prevent panic on attach failure\n\nWhen queue allocation fails partway through, the error cleanup frees\nand NULLs apc->tx_qp and apc->rxqs. Multiple teardown paths such as\nmana_remove(), mana_change_mtu() recovery, and internal error handling\nin mana_alloc_queues() can subsequently call into functions that\ndereference these pointers without NULL checks:\n\n- mana_chn_setxdp() dereferences apc->rxqs[0], causing a NULL pointer\n  dereference panic (CR2: 0000000000000000 at mana_chn_setxdp+0x26).\n- mana_destroy_vport() iterates apc->rxqs without a NULL check.\n- mana_fence_rqs() iterates apc->rxqs without a NULL check.\n- mana_dealloc_queues() iterates apc->tx_qp without a NULL check.\n\nAdd NULL guards for apc->rxqs in mana_fence_rqs(),\nmana_destroy_vport(), and before the mana_chn_setxdp() call. Add a\nNULL guard for apc->tx_qp in mana_dealloc_queues() to skip TX queue\ndraining when TX queues were never allocated or already freed.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00162,"percentile":0.03043,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/da7e4a1aaf397af6a094f640c92d6bc7564c10db","tags":[]},{"url":"https://git.kernel.org/stable/c/95e414f8324385771bdfd6d497a01d5593813ccb","tags":[]},{"url":"https://git.kernel.org/stable/c/26a96fa81496afe7d162d172ccdc8cb9dbc685d2","tags":[]},{"url":"https://git.kernel.org/stable/c/da87896f34e0a51489811d1a684e2953099ca98f","tags":[]},{"url":"https://git.kernel.org/stable/c/0a9c520fdcb1cb2e79c163c12d359b5e1ee40007","tags":[]},{"url":"https://git.kernel.org/stable/c/17bfe0a8c014ee1d542ad352cd6a0a505361664a","tags":[]}],"priority":{"score":0.6,"factors":[{"name":"EPSS percentile","points":0.61}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, < da7e4a1aaf397af6a094f640c92d6bc7564c10db",">= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, < 95e414f8324385771bdfd6d497a01d5593813ccb",">= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, < 26a96fa81496afe7d162d172ccdc8cb9dbc685d2",">= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, < da87896f34e0a51489811d1a684e2953099ca98f",">= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, < 0a9c520fdcb1cb2e79c163c12d359b5e1ee40007",">= ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f, < 17bfe0a8c014ee1d542ad352cd6a0a505361664a"]},{"vendor":"Linux","product":"Linux","versions":["5.13"]}],"euvd":{"id":"EUVD-2026-45746","exploited":false,"provenance":"source"}}