ice: skip stats handling for channel VSIs on rebuild
Summary
| CVE | CVE-2026-139567 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:19:37 UTC |
| Updated | 2026-11-30 14:19:37 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
ice: skip stats handling for channel VSIs on rebuild
ice_vsi_alloc_stat_arrays() returns early for ICE_VSI_CHNL, so a channel
VSI never gets an entry in pf->vsi_stats[]. ice_vsi_realloc_stat_arrays()
dereferences that entry unconditionally, and ice_vsi_rebuild() calls it
before anything else, so the NULL is not filtered out anywhere.
The path is live. ice_prepare_for_reset() removes the queue channels only
for resets other than a PFR, so a PFR leaves the channel VSIs in place,
and ice_rebuild() then calls ice_rebuild_channels(), which rebuilds every
ICE_VSI_CHNL VSI it finds. A PF reset with ADQ (mqprio hardware offload)
configured thus dereferences NULL.
That combination is reset recovery on top of an active mqprio offload,
which is why it went unnoticed. It was found while refactoring this code,
not reported by a user.
I'm leaning towards removing our limited (compared to OOT ADQ) support,
but it's outside of this series. Bug could be triggered by:
tc qdisc del dev "$IF" root 2>/dev/null || true
tc qdisc add dev "$IF" root mqprio num_tc 2 \
map 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 \
queues 2@0 2@2 hw 1 mode channel
sleep 3
ethtool --reset "$IF" irq dma filter offload
Workqueue: ice ice_service_task [ice]
RIP: 0010:ice_vsi_rebuild+0x289/0x380 [ice]
ice_rebuild_channels+0xd6/0x320 [ice]
ice_rebuild+0x4f6/0x540 [ice]
ice_do_reset+0x9f/0x1a0 [ice]
ice_service_task+0x4a/0x460 [ice] |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected feddf6c09c44339a75a54322573ae14ef226404b 74d28237a78e0fee379a3031146ad740378a6f85 git |
Not specified |
| CNA |
Linux |
Linux |
affected 5995ef88e3a8c2b014f51256a88be8e336532ce7 a15180cc0bcfd20d4f0d8ad6656164b7ade2211d git |
Not specified |
| CNA |
Linux |
Linux |
affected 5995ef88e3a8c2b014f51256a88be8e336532ce7 4a72e88813b7cef1122a49ceefef952a46d6eccc git |
Not specified |
| CNA |
Linux |
Linux |
affected 5995ef88e3a8c2b014f51256a88be8e336532ce7 6d7ca893c85c50c1adbcb44c2765ed0ec72d3e1b git |
Not specified |
| CNA |
Linux |
Linux |
affected 5995ef88e3a8c2b014f51256a88be8e336532ce7 3fca849c965333f387aa02dca02326ce3abd1305 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.6.26 6.6.163 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 6.8 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.8 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.163 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.119 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.65 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.6 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/6d7ca893c85c50c1adbcb44c2765ed0ec72d3e1b |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/a15180cc0bcfd20d4f0d8ad6656164b7ade2211d |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/4a72e88813b7cef1122a49ceefef952a46d6eccc |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/74d28237a78e0fee379a3031146ad740378a6f85 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/3fca849c965333f387aa02dca02326ce3abd1305 |
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 |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.