diff options
author | Dexuan Cui <decui@microsoft.com> | 2017-03-02 14:00:53 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-02 23:41:36 +0100 |
commit | 152669bd3cd2407d6f556009b95ee249c0c1a462 (patch) | |
tree | dc032a0eb328b1d4e81224a2d640c67543221201 /drivers/block/cciss_scsi.h | |
parent | Merge tag 'mac80211-for-davem-2017-03-02' of git://git.kernel.org/pub/scm/lin... (diff) | |
download | linux-152669bd3cd2407d6f556009b95ee249c0c1a462.tar.xz linux-152669bd3cd2407d6f556009b95ee249c0c1a462.zip |
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 <decui@microsoft.com>
Cc: "K. Y. Srinivasan" <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Stephen Hemminger <sthemmin@microsoft.com>
Reviewed-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/block/cciss_scsi.h')
0 files changed, 0 insertions, 0 deletions