Linux Kernel Fanout Use-After-Free Vulnerability in Packet Release Function

Vulnerability

A use-after-free vulnerability has been identified in the Linux kernel's packet release function. This issue arises from a race condition where the NETDEV_UP event can improperly re-register a socket into a fanout group's array, creating a dangling pointer. The vulnerability exists because the packet release function does not reset a specific counter while holding a lock, allowing a concurrent NETDEV_UP event to interfere with the socket's state. As a result, the socket can be incorrectly added back into the fanout array, leading to potential memory management issues.

Impact

Exploitation of this vulnerability can cause a use-after-free condition, which may lead to memory corruption or arbitrary code execution.

Reproduction

The vulnerability can be reproduced by creating a fanout socket and then triggering the NETDEV_UP event while the socket is still registered. This can be done by manipulating the socket's state to ensure it is in the sklist, and then sending a NETDEV_UP notification, which will re-register the socket into the fanout group's array without proper cleanup.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been patched.

Added: Apr 22, 2026, 2:55 PM
Updated: Apr 22, 2026, 2:55 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
5.6
exploitability
3.9
remediation
7.7
relevance
6.5
threat
4.8
urgency
2.9
incentive
0.0

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