CVE-2026-139567

ice: skip stats handling for channel VSIs on rebuild

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
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]

Analysis

AI-generated

Technical impact

The Linux kernel’s ice driver contains a null‑pointer dereference that triggers a kernel panic during interface reset recovery when a channel VSI is present but its statistics structure is missing. Because ice_vsi_alloc_stat_arrays() returns early for channel VSIs, the corresponding entry in pf->vsi_stats[] is never allocated. Later, ice_vsi_realloc_stat_arrays() dereferences this NULL pointer unconditionally, causing a crash. The vulnerability results in a denial of service by halting the system or requiring a reboot whenever the affected interface is reset while MQPRIO offload is enabled.

Affected Systems

The flaw is present in the Linux kernel’s ice driver; any kernel build that includes the ice Ethernet driver is potentially affected. No specific version numbers are listed, so all current kernel releases that contain the driver must be reviewed for the presence of the unpatched code.

Risk and Exploitability

The bug can be triggered only when an interface using the ice driver is configured with MQPRIO offload and the attacker has the ability to execute privileged commands such as tc and ethtool to delete and add qdisc or reset the interface. The absence of an EPSS score and the exclusion from the KEV catalog mean the current exploitation probability is unknown, but the impact of a kernel crash is severe. Until a patch is available, the safest approach is to avoid resetting the interface under those conditions or disable the offload mode.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the patch for the ice driver.
  • As a temporary workaround, disable MQPRIO offload on the affected interfaces or avoid performing "tc qdisc del/add" while the interface is active; alternatively, reconfigure the interface to eliminate channel VSIs.
  • If neither patch nor reconfiguration is possible, consider unloading the ice driver or installing a kernel that does not load it until an official fix is released.

Generated by OpenCVE AI on November 30, 2026 at 23:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
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]
Title ice: skip stats handling for channel VSIs on rebuild
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:35 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM