Re: [PATCH net] tun: fix tun_napi_alloc_frags() frag allocator

2018-02-16 Thread David Miller
From: Eric Dumazet Date: Thu, 15 Feb 2018 14:47:15 -0800 > From: Eric Dumazet > > > While fuzzing arm64 v4.16-rc1 with Syzkaller, I've been hitting a > misaligned atomic in __skb_clone: > > atomic_inc(&(skb_shinfo(skb)->dataref)); > >where dataref doesn't have the require

[PATCH net] tun: fix tun_napi_alloc_frags() frag allocator

2018-02-15 Thread Eric Dumazet
From: Eric Dumazet While fuzzing arm64 v4.16-rc1 with Syzkaller, I've been hitting a misaligned atomic in __skb_clone: atomic_inc(&(skb_shinfo(skb)->dataref)); where dataref doesn't have the required natural alignment, and the atomic operation faults. e.g. i often see it