[PATCH] net/netvsc: fix use after free in cache list cleanup

Stephen Hemminger stephen at networkplumber.org
Tue Nov 4 15:45:15 CET 2025


On Mon,  3 Nov 2025 08:37:03 -0800
Stephen Hemminger <stephen at networkplumber.org> wrote:

> The variable cache is referred to by LIST_FOREACH macro
> after was freed. Replace by the standard LIST_FOREACH_SAFE
> from BSD (and other drivers).
> 
> Fixes: 9a9d038c782e ("net/netvsc: cache device parameters for hotplug events")
> Cc: longli at microsoft.com
> Cc: stable at dpdk.org
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>

Queued to next-net.
Added Long Li's Ack based on earlier version


More information about the stable mailing list