From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751507AbdJZFjJ (ORCPT ); Thu, 26 Oct 2017 01:39:09 -0400 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 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 35B4133A17C Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=jasowang@redhat.com Subject: Re: v4.14-rc3/arm64 DABT exception in atomic_inc() / __skb_clone() To: Eric Dumazet , Willem de Bruijn Cc: Wei Wei , Dmitry Vyukov , Mark Rutland , linux-arm-kernel@lists.infradead.org, LKML , netdev , David Miller , Willem de Bruijn , syzkaller References: <20171020111408.edj24tztxdptte5r@lakrids.cambridge.arm.com> <960D71EC-C1E9-4898-ACBE-543FC09483FF@gmail.com> From: Jason Wang Message-ID: <7d13751a-5a7b-ff67-5f00-92e27861b24a@redhat.com> Date: Thu, 26 Oct 2017 13:38:59 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Thu, 26 Oct 2017 05:39:07 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.