[PATCH] netvsc: fix use-after-free in netvsc_change_mtu()
David Miller
davem at davemloft.net
Thu Mar 2 22:43:43 UTC 2017
From: Dexuan Cui <decui at microsoft.com>
Date: Thu, 2 Mar 2017 13:00:53 +0000
> 'nvdev' is freed in rndis_filter_device_remove -> netvsc_device_remove ->
> free_netvsc_device, so we mustn't access it, before it's re-created in
> rndis_filter_device_add -> netvsc_device_add.
>
> Signed-off-by: Dexuan Cui <decui at microsoft.com>
Applied.
More information about the devel
mailing list