diff options
author | Andy Lutomirski <[email protected]> | 2016-12-05 18:10:58 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-12-06 11:38:43 -0500 |
commit | e37e2ff350a321ad9c36b588e76f34fbba305be6 (patch) | |
tree | ea9cc96f7d589fe209cccd7af95047d5e631d423 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | dcb17d22e1c2cd72e72190c736349a675362b3bc (diff) |
virtio-net: Fix DMA-from-the-stack in virtnet_set_mac_address()
With CONFIG_VMAP_STACK=y, virtnet_set_mac_address() can be passed a
pointer to the stack and it will OOPS. Copy the address to the heap
to prevent the crash.
Cc: Michael S. Tsirkin <[email protected]>
Cc: Jason Wang <[email protected]>
Cc: Laura Abbott <[email protected]>
Reported-by: [email protected]
Signed-off-by: Andy Lutomirski <[email protected]>
Acked-by: Jason Wang <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions