Thread (4 messages) flat view 4 messages, 4 authors, 2016-12-06

Re: [PATCH] virtio-net: Fix DMA-from-the-stack in virtnet_set_mac_address()

From: David Miller <davem@davemloft.net>
Date: 2016-12-06 16:39:05
Also in: lkml

From: Andy Lutomirski <luto@kernel.org>
Date: Mon,  5 Dec 2016 18:10:58 -0800
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 <mst@redhat.com>
Cc: Jason Wang <redacted>
Cc: Laura Abbott <redacted>
Reported-by: zbyszek@in.waw.pl
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help