From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Wang Subject: Re: v4.14-rc3/arm64 DABT exception in atomic_inc() / __skb_clone() Date: Thu, 26 Oct 2017 13:38:59 +0800 Message-ID: <7d13751a-5a7b-ff67-5f00-92e27861b24a@redhat.com> References: <20171020111408.edj24tztxdptte5r@lakrids.cambridge.arm.com> <960D71EC-C1E9-4898-ACBE-543FC09483FF@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Cc: Wei Wei , Dmitry Vyukov , Mark Rutland , linux-arm-kernel@lists.infradead.org, LKML , netdev , David Miller , Willem de Bruijn , syzkaller To: Eric Dumazet , Willem de Bruijn Return-path: Received: from mx1.redhat.com ([209.132.183.28]:44732 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750884AbdJZFjH (ORCPT ); Thu, 26 Oct 2017 01:39:07 -0400 In-Reply-To: Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 2017年10月26日 03:01, Eric Dumazet wrote: > On Wed, Oct 25, 2017 at 11:49 AM, Willem de Bruijn > wrote: > >> From skb->dev and netdev_priv, the tun device has flags 0x1002 == >> IFF_TAP | IFF_NO_PI. This kernel precedes the recent support for >> IFF_NAPI and IFF_NAPI_FRAGS. The allocation most likely happened >> in tun_build_skb from current->task_frag. It would be a previous >> allocation that left alloc_frag->offset unaligned. But perhaps this code >> needs to perform alignment before setting skb->head. At least on >> platforms where atomic on dataref must be aligned. > +1 > > Bug added in commit 66ccbc9c87c2 ("tap: use build_skb() for small packet") Thanks, will post a patch.