CVE-2026-139567: ice: skip stats handling for channel VSIs on rebuild
In the Linux kernel, the following vulnerability has been resolved:
ice: skip stats handling for channel VSIs on rebuild
icevsiallocstatarrays() returns early for ICEVSICHNL, so a channel VSI never gets an entry in pf->vsistats[]. icevsireallocstatarrays() dereferences that entry unconditionally, and icevsirebuild() calls it before anything else, so the NULL is not filtered out anywhere.
The path is live. iceprepareforreset() removes the queue channels only for resets other than a PFR, so a PFR leaves the channel VSIs in place, and icerebuild() then calls icerebuildchannels(), which rebuilds every ICEVSICHNL 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 numtc 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 iceservicetask [ice] RIP: 0010:icevsirebuild+0x289/0x380 [ice] icerebuildchannels+0xd6/0x320 [ice] icerebuild+0x4f6/0x540 [ice] icedoreset+0x9f/0x1a0 [ice] iceservicetask+0x4a/0x460 [ice]
Affected Software
Event History
Frequently Asked Questions
Which systems are exposed to the NULL dereference?
The affected path requires ADQ using mqprio hardware offload in channel mode, with channel VSIs still active when a PF reset occurs. The described failure happens during PF reset recovery, when the driver rebuilds those channel VSIs.
Is an active mqprio hardware-offload configuration required?
Yes. The described trigger is reset recovery on top of an active mqprio hardware offload configuration; the example uses mqprio with "hw 1" and "mode channel". The issue was not described as affecting systems without that combination.
How can an administrator recognize the risky configuration?
Look for an interface configured with a root mqprio qdisc using hardware offload and channel mode, creating channel VSIs. A PF reset while that configuration remains active reaches the vulnerable rebuild path.