Messages in this thread | | | Date | Tue, 06 Dec 2016 11:39:01 -0500 (EST) | Subject | Re: [PATCH] virtio-net: Fix DMA-from-the-stack in virtnet_set_mac_address() | From | David Miller <> |
| |
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 <jasowang@redhat.com> > Cc: Laura Abbott <labbott@redhat.com> > Reported-by: zbyszek@in.waw.pl > Signed-off-by: Andy Lutomirski <luto@kernel.org>
Applied, thanks.
| |