{"id":"CVE-2025-21973","title":"eth: bnxt: fix kernel panic in the bnxt_get_queue_stats{rx | tx}","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\neth: bnxt: fix kernel panic in the bnxt_get_queue_stats{rx | tx}\n\nWhen qstats-get operation is executed, callbacks of netdev_stats_ops\nare called. The bnxt_get_queue_st…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= af7b3b4adda592cb49e202f3617454d5dda4c5b5 < f059a0fd733078c3832fd0f3a3037aa5975d3d36","Linux >= af7b3b4adda592cb49e202f3617454d5dda4c5b5 < adb830085f0fc3a09a0fc8b64fed2e7c8d244665","Linux >= af7b3b4adda592cb49e202f3617454d5dda4c5b5 < f09af5fdfbd9b0fcee73aab1116904c53b199e97","Linux 6.9"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-05T20:37:07.557011Z"},"published":"2025-04-01","updated":"2026-11-05","sourceUpdated":"2026-11-05T20:41:48.227Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-21973","references":[{"url":"https://git.kernel.org/stable/c/f059a0fd733078c3832fd0f3a3037aa5975d3d36"},{"url":"https://git.kernel.org/stable/c/adb830085f0fc3a09a0fc8b64fed2e7c8d244665"},{"url":"https://git.kernel.org/stable/c/f09af5fdfbd9b0fcee73aab1116904c53b199e97"}],"tags":["cve.org"],"epss":0.00196,"epssPercentile":0.09334,"ingestedAt":"2026-11-05T22:38:31.855Z","slug":"CVE-2025-21973","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\neth: bnxt: fix kernel panic in the bnxt_get_queue_stats{rx | tx}\n\nWhen qstats-get operation is executed, callbacks of netdev_stats_ops\nare called. The bnxt_get_queue_stats{rx | tx} collect per-queue stats\nfrom sw_stats in the rings.\nBut {rx | tx | cp}_ring are allocated when the interface is up.\nSo, these rings are not allocated when the interface is down.\n\nThe qstats-get is allowed even if the interface is down. However,\nthe bnxt_get_queue_stats{rx | tx}() accesses cp_ring and tx_ring\nwithout null check.\nSo, it needs to avoid accessing rings if the interface is down.\n\nReproducer:\n ip link set $interface down\n ./cli.py --spec netdev.yaml --dump qstats-get\nOR\n ip link set $interface down\n python ./stats.py\n\nSplat looks like:\n BUG: kernel NULL pointer dereference, address: 0000000000000000\n #PF: supervisor read access in kernel mode\n #PF: error_code(0x0000) - not-present page\n PGD 1680fa067 P4D 1680fa067 PUD 16be3b067 PMD 0\n Oops: Oops: 0000 [#1] PREEMPT SMP NOPTI\n CPU: 0 UID: 0 PID: 1495 Comm: python3 Not tainted 6.14.0-rc4+ #32 5cd0f999d5a15c574ac72b3e4b907341\n Hardware name: ASUS System Product Name/PRIME Z690-P D4, BIOS 0603 11/01/2021\n RIP: 0010:bnxt_get_queue_stats_rx+0xf/0x70 [bnxt_en]\n Code: c6 87 b5 18 00 00 02 eb a2 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 44 01\n RSP: 0018:ffffabef43cdb7e0 EFLAGS: 00010282\n RAX: 0000000000000000 RBX: ffffffffc04c8710 RCX: 0000000000000000\n RDX: ffffabef43cdb858 RSI: 0000000000000000 RDI: ffff8d504e850000\n RBP: ffff8d506c9f9c00 R08: 0000000000000004 R09: ffff8d506bcd901c\n R10: 0000000000000015 R11: ffff8d506bcd9000 R12: 0000000000000000\n R13: ffffabef43cdb8c0 R14: ffff8d504e850000 R15: 0000000000000000\n FS:  00007f2c5462b080(0000) GS:ffff8d575f600000(0000) knlGS:0000000000000000\n CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n CR2: 0000000000000000 CR3: 0000000167fd0000 CR4: 00000000007506f0\n PKRU: 55555554\n Call Trace:\n  <TASK>\n  ? __die+0x20/0x70\n  ? page_fault_oops+0x15a/0x460\n  ? sched_balance_find_src_group+0x58d/0xd10\n  ? exc_page_fault+0x6e/0x180\n  ? asm_exc_page_fault+0x22/0x30\n  ? bnxt_get_queue_stats_rx+0xf/0x70 [bnxt_en cdd546fd48563c280cfd30e9647efa420db07bf1]\n  netdev_nl_stats_by_netdev+0x2b1/0x4e0\n  ? xas_load+0x9/0xb0\n  ? xas_find+0x183/0x1d0\n  ? xa_find+0x8b/0xe0\n  netdev_nl_qstats_get_dumpit+0xbf/0x1e0\n  genl_dumpit+0x31/0x90\n  netlink_dump+0x1a8/0x360\n\n## Affected\n\n- `Linux >= af7b3b4adda592cb49e202f3617454d5dda4c5b5 < f059a0fd733078c3832fd0f3a3037aa5975d3d36`\n- `Linux >= af7b3b4adda592cb49e202f3617454d5dda4c5b5 < adb830085f0fc3a09a0fc8b64fed2e7c8d244665`\n- `Linux >= af7b3b4adda592cb49e202f3617454d5dda4c5b5 < f09af5fdfbd9b0fcee73aab1116904c53b199e97`\n- `Linux 6.9`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}