Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1537502
| From | Cong Wang <xiyou.wangcong@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: Oops with CONFIG_VMAP_STCK and bond device + virtio-net |
| Date | 2016-12-07 07:00 +0100 |
| Message-ID | <sLDqN-4jB-1@gated-at.bofh.it> (permalink) |
| References | <sLbkS-2IL-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Dec 5, 2016 at 3:53 PM, Laura Abbott <labbott@redhat.com> wrote:
> This looks like an issue with CONFIG_VMAP_STACK since bond_enslave uses
> struct sockaddr from the stack and virtnet_set_mac_address calls
> sg_init_one which triggers BUG_ON(!virt_addr_valid(buf));
>
> I know there have been a lot of CONFIG_VMAP_STACK fixes around but I
> didn't find this one reported yet.
Fixed by:
commit e37e2ff350a321ad9c36b588e76f34fbba305be6
Author: Andy Lutomirski <luto@kernel.org>
Date: Mon Dec 5 18:10:58 2016 -0800
virtio-net: Fix DMA-from-the-stack in virtnet_set_mac_address()
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Oops with CONFIG_VMAP_STCK and bond device + virtio-net Laura Abbott <labbott@redhat.com> - 2016-12-06 01:00 +0100 Re: Oops with CONFIG_VMAP_STCK and bond device + virtio-net Cong Wang <xiyou.wangcong@gmail.com> - 2016-12-07 07:00 +0100
csiph-web