Linux Kernel True Size Calculation Vulnerability in bnxt Ethernet Driver

Vulnerability

A vulnerability exists in the Linux kernel's bnxt Ethernet driver related to the incorrect calculation of the true size of packets when using the mb-xdp feature with XDP_PASS return. This issue arises because the true size is improperly calculated based on the number of fragments, while the shared information was cleared by a previous function. As a result, the driver passes an incorrect true size when converting packets from xdp_buff to sk_buff, leading to potential fragmentation issues.

Impact

Exploitation of this vulnerability can cause a kernel warning and disrupt normal packet processing by improperly handling the coalescing of fragmented packets, according to the Linux kernel commit that introduced the fix.

Reproduction

The vulnerability can be reproduced by setting up two network interfaces with jumbo frames enabled. Interface 1 should have the mb-xdp feature activated and be configured to pass packets, while Interface 2 should be set up to send large ping packets. The incorrect handling of packet sizes will trigger the kernel warning, indicating the vulnerability.

Remediation

Users should update to the latest version of the Linux kernel where this vulnerability has been addressed.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.7
remediation
0.0
relevance
0.0
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.