{"id":"CVE-2026-139567","state":"PUBLISHED","title":"ice: skip stats handling for channel VSIs on rebuild","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nice: skip stats handling for channel VSIs on rebuild\n\nice_vsi_alloc_stat_arrays() returns early for ICE_VSI_CHNL, so a channel\nVSI never gets an entry in pf->vsi_stats[]. ice_vsi_realloc_stat_arrays()\ndereferences that entry unconditionally, and ice_vsi_rebuild() calls it\nbefore anything else, so the NULL is not filtered out anywhere.\n\nThe path is live. ice_prepare_for_reset() removes the queue channels only\nfor resets other than a PFR, so a PFR leaves the channel VSIs in place,\nand ice_rebuild() then calls ice_rebuild_channels(), which rebuilds every\nICE_VSI_CHNL VSI it finds. A PF reset with ADQ (mqprio hardware offload)\nconfigured thus dereferences NULL.\n\nThat combination is reset recovery on top of an active mqprio offload,\nwhich is why it went unnoticed. It was found while refactoring this code,\nnot reported by a user.\n\nI'm leaning towards removing our limited (compared to OOT ADQ) support,\nbut it's outside of this series. Bug could be triggered by:\n\n  tc qdisc del dev \"$IF\" root 2>/dev/null || true\n  tc qdisc add dev \"$IF\" root mqprio num_tc 2 \\\n    map 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 \\\n    queues 2@0 2@2 hw 1 mode channel\n  sleep 3\n  ethtool --reset \"$IF\" irq dma filter offload\n\nWorkqueue: ice ice_service_task [ice]\nRIP: 0010:ice_vsi_rebuild+0x289/0x380 [ice]\n ice_rebuild_channels+0xd6/0x320 [ice]\n ice_rebuild+0x4f6/0x540 [ice]\n ice_do_reset+0x9f/0x1a0 [ice]\n ice_service_task+0x4a/0x460 [ice]","publishedAt":"2026-11-30T13:35:57.162Z","updatedAt":"2026-11-30T13:35:57.162Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"feddf6c09c44339a75a54322573ae14ef226404b","status":"affected","lessThan":"74d28237a78e0fee379a3031146ad740378a6f85","versionType":"git"},{"version":"5995ef88e3a8c2b014f51256a88be8e336532ce7","status":"affected","lessThan":"a15180cc0bcfd20d4f0d8ad6656164b7ade2211d","versionType":"git"},{"version":"5995ef88e3a8c2b014f51256a88be8e336532ce7","status":"affected","lessThan":"4a72e88813b7cef1122a49ceefef952a46d6eccc","versionType":"git"},{"version":"5995ef88e3a8c2b014f51256a88be8e336532ce7","status":"affected","lessThan":"6d7ca893c85c50c1adbcb44c2765ed0ec72d3e1b","versionType":"git"},{"version":"5995ef88e3a8c2b014f51256a88be8e336532ce7","status":"affected","lessThan":"3fca849c965333f387aa02dca02326ce3abd1305","versionType":"git"},{"version":"6.6.26","status":"affected","lessThan":"6.6.163","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/ice/ice_lib.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/ice/ice_lib.c"]}],"references":["https://git.kernel.org/stable/c/74d28237a78e0fee379a3031146ad740378a6f85","https://git.kernel.org/stable/c/a15180cc0bcfd20d4f0d8ad6656164b7ade2211d","https://git.kernel.org/stable/c/4a72e88813b7cef1122a49ceefef952a46d6eccc","https://git.kernel.org/stable/c/6d7ca893c85c50c1adbcb44c2765ed0ec72d3e1b","https://git.kernel.org/stable/c/3fca849c965333f387aa02dca02326ce3abd1305"],"weaknesses":[],"ingestedAt":"2026-11-30T13:52:04.503Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139567.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139567","state":"PUBLISHED","datePublished":"2026-11-30T13:35:57.162Z","dateUpdated":"2026-11-30T13:35:57.162Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.941Z"},"containers":{"cna":{"title":"ice: skip stats handling for channel VSIs on rebuild","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nice: skip stats handling for channel VSIs on rebuild\n\nice_vsi_alloc_stat_arrays() returns early for ICE_VSI_CHNL, so a channel\nVSI never gets an entry in pf->vsi_stats[]. ice_vsi_realloc_stat_arrays()\ndereferences that entry unconditionally, and ice_vsi_rebuild() calls it\nbefore anything else, so the NULL is not filtered out anywhere.\n\nThe path is live. ice_prepare_for_reset() removes the queue channels only\nfor resets other than a PFR, so a PFR leaves the channel VSIs in place,\nand ice_rebuild() then calls ice_rebuild_channels(), which rebuilds every\nICE_VSI_CHNL VSI it finds. A PF reset with ADQ (mqprio hardware offload)\nconfigured thus dereferences NULL.\n\nThat combination is reset recovery on top of an active mqprio offload,\nwhich is why it went unnoticed. It was found while refactoring this code,\nnot reported by a user.\n\nI'm leaning towards removing our limited (compared to OOT ADQ) support,\nbut it's outside of this series. Bug could be triggered by:\n\n  tc qdisc del dev \"$IF\" root 2>/dev/null || true\n  tc qdisc add dev \"$IF\" root mqprio num_tc 2 \\\n    map 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 \\\n    queues 2@0 2@2 hw 1 mode channel\n  sleep 3\n  ethtool --reset \"$IF\" irq dma filter offload\n\nWorkqueue: ice ice_service_task [ice]\nRIP: 0010:ice_vsi_rebuild+0x289/0x380 [ice]\n ice_rebuild_channels+0xd6/0x320 [ice]\n ice_rebuild+0x4f6/0x540 [ice]\n ice_do_reset+0x9f/0x1a0 [ice]\n ice_service_task+0x4a/0x460 [ice]"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"feddf6c09c44339a75a54322573ae14ef226404b","status":"affected","lessThan":"74d28237a78e0fee379a3031146ad740378a6f85","versionType":"git"},{"version":"5995ef88e3a8c2b014f51256a88be8e336532ce7","status":"affected","lessThan":"a15180cc0bcfd20d4f0d8ad6656164b7ade2211d","versionType":"git"},{"version":"5995ef88e3a8c2b014f51256a88be8e336532ce7","status":"affected","lessThan":"4a72e88813b7cef1122a49ceefef952a46d6eccc","versionType":"git"},{"version":"5995ef88e3a8c2b014f51256a88be8e336532ce7","status":"affected","lessThan":"6d7ca893c85c50c1adbcb44c2765ed0ec72d3e1b","versionType":"git"},{"version":"5995ef88e3a8c2b014f51256a88be8e336532ce7","status":"affected","lessThan":"3fca849c965333f387aa02dca02326ce3abd1305","versionType":"git"},{"version":"6.6.26","status":"affected","lessThan":"6.6.163","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/ice/ice_lib.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/ice/ice_lib.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/74d28237a78e0fee379a3031146ad740378a6f85"},{"url":"https://git.kernel.org/stable/c/a15180cc0bcfd20d4f0d8ad6656164b7ade2211d"},{"url":"https://git.kernel.org/stable/c/4a72e88813b7cef1122a49ceefef952a46d6eccc"},{"url":"https://git.kernel.org/stable/c/6d7ca893c85c50c1adbcb44c2765ed0ec72d3e1b"},{"url":"https://git.kernel.org/stable/c/3fca849c965333f387aa02dca02326ce3abd1305"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:35:57.162Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.26","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}