Linux Kernel Ice Driver Out-of-Bounds Access Vulnerability in XSK Socket Management

Vulnerability

A vulnerability in the Linux kernel's ice driver allows for out-of-bounds access to the receive ring array when using eBPF XDP sockets. This issue arises in versions of the kernel that include the affected ice driver, specifically when a user attempts to attach an XSK socket in transmit-only mode to a queue ID without a corresponding receive queue. The ice driver's logic requires both transmit and receive queues to be enabled and assigned an XSK pool, leading to a null pointer dereference and a kernel panic.

Impact

Exploitation of this vulnerability causes a null pointer dereference in the kernel, leading to a crash.

Reproduction

To reproduce this vulnerability, use the 'ethtool' command to set the receive and transmit queue levels for a network interface. Then, use the 'xdpsock' tool to attach an XSK socket in transmit-only mode to a queue ID that lacks a corresponding receive queue. This will trigger the out-of-bounds access to the receive ring array, causing a null pointer dereference and a kernel panic.

Remediation

The vulnerability has been addressed in the Linux kernel. Users should upgrade to the latest version where this issue has been fixed.

Added: Jun 18, 2025, 8:33 PM
Updated: Jun 18, 2025, 8:33 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.3
remediation
0.0
relevance
0.2
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.