Linux Kernel Netmem Transmission Vulnerability for Unreadable Skbs

Vulnerability

A vulnerability in the Linux kernel's handling of netmem packets has been addressed. The issue arose because unreadable netmem packets received (RX) could be incorrectly forwarded to the transmission (TX) path of the device, potentially leading to unsafe interactions with DMA mapping APIs. This vulnerability was present in stable kernel trees, where netmem support for transmission was lacking. The issue has been resolved by preventing the transmission of unreadable skbs, ensuring that such packets do not enter the device's TX path where they could be mishandled.

Impact

The vulnerability could have allowed unreadable netmem packets to be transmitted in a way that could disrupt normal device operations, particularly by causing improper interactions with DMA mapping APIs.

Reproduction

The vulnerability could be reproduced by configuring traffic control (tc) to redirect unreadable netmem packets from the ingress of one network interface to the egress of the same interface. Before the fix, this redirection would cause unreadable skbs to appear in the driver's TX path, where they could be improperly processed by DMA mapping APIs. After applying the fix, unreadable skbs no longer reached the driver's TX path.

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.