aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorDexuan Cui <[email protected]>2017-03-02 13:00:53 +0000
committerDavid S. Miller <[email protected]>2017-03-02 14:41:36 -0800
commit152669bd3cd2407d6f556009b95ee249c0c1a462 (patch)
treedc032a0eb328b1d4e81224a2d640c67543221201 /lib/memory-notifier-error-inject.c
parent35576ee17f7c15a5ec776570088fd2eff1dbdc2d (diff)
netvsc: fix use-after-free in netvsc_change_mtu()
'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 <[email protected]> Cc: "K. Y. Srinivasan" <[email protected]> Cc: Haiyang Zhang <[email protected]> Cc: Stephen Hemminger <[email protected]> Reviewed-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions