{"id":"CVE-2026-143163","summary":"net/mlx5e: Fix queue stats access to queues without stats","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: Fix queue stats access to queues without stats\n\nI am seeing the following mlx5e crash in the Meta fleet:\n\n  pc : mlx5e_get_queue_stats_rx+0x4c/0xc8\n  Call trace:\n   mlx5e_get_queue_stats_rx+0x4c/0xc8 (P)\n   netdev_stat_queue_sum+0x78/0x480\n   netdev_nl_qstats_get_dump_one+0xf0/0x268\n   netdev_nl_qstats_get_dumpit+0x7c/0x1f8\n\nWhen dumping device-wide qstats, the core calls the per-queue callbacks\nfor every queue below real_num_{rx,tx}_queues, regardless of whether the\nnetdev is up. Some of those queues have no stats behind them:\n\n - RX stats live in priv-\u003echannel_stats[], which only has entries for\n   channels that have been opened (stats_nch). real_num_rx_queues can\n   be larger, for example after the channel count is raised while the\n   netdev is down, or after opening the channels failed part way.\n\n - TX stats are looked up in priv-\u003etxq2sq_stats[], which is NULL for\n   SQs that were never activated and for HTB queues while the channels\n   are closed.\n\nIn both cases the callback dereferences a NULL pointer. The dump needs\nno privileges, so any user can trigger it.\n\nReturn early for RX queues at or above stats_nch and for TX queues\nwithout SQ stats.","modified":"2026-12-03T11:01:27.911072723Z","published":"2026-12-03T09:20:01.731Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143163.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5722c41774b1c4d6d0ecd43d494ff5fdffd0a0c8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9a24799e219b1699bb1c144248c8c500b9504db5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bae3442c750ffe5aaca0cf1e03dc541742376403"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143163.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143163"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7b66ae536a78216f9c4892533db2d76a8b60a81d"},{"fixed":"5722c41774b1c4d6d0ecd43d494ff5fdffd0a0c8"},{"fixed":"bae3442c750ffe5aaca0cf1e03dc541742376403"},{"fixed":"9a24799e219b1699bb1c144248c8c500b9504db5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143163.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.11.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143163.json"}}],"schema_version":"1.9.2"}