Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp3544789pxb; Tue, 20 Apr 2021 10:33:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhQPl9bEM6UwD9O9xvcEV6H1QFJuIrxM+rmiycDl2ahgnOukhoiwsNHS2xfSEm3GfUbVe1 X-Received: by 2002:a17:90a:3b0f:: with SMTP id d15mr6078597pjc.235.1618940032427; Tue, 20 Apr 2021 10:33:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618940032; cv=none; d=google.com; s=arc-20160816; b=O1qP7O0BiB7aFOCLqqapMu89aFNjn8UPl94DFhLvC2KfW2wyxtylIg3Q9wmzYQW4tx tUhT2uJ1DjFmrjmm37jHjf1j2hp0oatzF61bNDCKOO2t5EayI5kAlqZz/E2hMPgOGz/S rSGxfOje6Ib0uBL0sAt0pIb4XUfGlgltZPzKu2h49ln1VuiMMM5upGD3TqbNJy8VFvwJ bQyyavTco8stlk+Wl5XUDOzNURTLaA9+g5mm5im753p8mHTK7aSO6m8ZjGF6y2WwJqx9 BL/RiZWOSBYsxhMTSf4sM/Vc4h8HsOWfuNIBK28kT/M6AyGv903TMfAQgoTjPw0oF4XA JkyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=8gplG+9IWvQuoNRL+JXMPE+0PdJp+Z/VjGIXtau6h+I=; b=wRhsy5uXAmY6M5iFdogRItxWkoOB/j2CN0tBc+2GOv2iyV5Ad6tVNdH2YuOQiUBRpU L3SMEZU6fYd5GdhtTUchBsUPWsPSgNrOvG1BLbrSXBSfvTms8ab3y67SpnKQfgZdHXp1 8+G5SwQYku/vGwLg828f1bdeaGV1z7CdBoZjTRR30L7LCocMrSgUpEDDf4i/OF3ye1YO CNQ7PF1ULwrFlZqGXfJ4mZU+sLMCh3hZhtxYuc8rbQ8TvZnQpzEd6jHOnpvjzu+tmdR9 bD5cuuiydfHBHU2JYrSmjcf1sLqDggOqrqzb+lpdRwDxuVYQDK49COj+BFsQ5ohF1v0B yKNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h11A4XqV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j13si24116143pfa.196.2021.04.20.10.33.40; Tue, 20 Apr 2021 10:33:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h11A4XqV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233470AbhDTRc5 (ORCPT + 99 others); Tue, 20 Apr 2021 13:32:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233381AbhDTRcy (ORCPT ); Tue, 20 Apr 2021 13:32:54 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8E7AC06174A for ; Tue, 20 Apr 2021 10:32:22 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id g5so52781523ejx.0 for ; Tue, 20 Apr 2021 10:32:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8gplG+9IWvQuoNRL+JXMPE+0PdJp+Z/VjGIXtau6h+I=; b=h11A4XqVQ5m+6C611s/dtODxxzHe4778dEl548tUa84MqdLN/1XV7WK1IMzUSSN9Od VnvgJdVbSHQ/ImL9hfmZeA/wPSbzQWrsgOeMqo4LrMFTgKVLQXo/kssnETIoiOSNqXF2 +9CKxEzjfMwY19mG4Z7SY4V9KjsQEt4vbNotk2uwPu8nZYZW2of5Fu6ATNssl2Jl+ADN KprCeg0geSqGm1BuM/VAe8s2otgrvGsf50x9RNc8/FX5fX/n4m1wYTTYc3OgXUnis36k 6JhVjFqzN1QdwciBjvJBIkgOj6l410ZvUVqd9RdJqPWewVChWgInz7coHNkFB8O18R2f UZ1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8gplG+9IWvQuoNRL+JXMPE+0PdJp+Z/VjGIXtau6h+I=; b=oCRM5auO/ncqsa2Pd9RpQWfuQsBj37QUwRYz72ge0MOWpnEZYs9ZIyoOaTTqgVITyC kB1vkRusZiNDFBLXSVG6JGCREPmgrHY2bN83l7TTHaIk6saMVoOyCg9VUM2sBtfdJneX 0p8VjRA3Qt10khcFK3OAWoOjcQI5HC5r/Ed4ZhoQ3xPHggzQzkLqW0Mq6FVTsw0Dgxfh XPGfL63lSbdLbJdlQGXFjngaB1MPkDu0v/qMpY/gKjByCnCjEEO0O6PkDEOEaH9jsk+V YCvStds+okChrviKgiFh65/cG0UBB/O1mHUgS8Ewxml+2Lx2kbebKbQRRGeK+RPNdYBs tvcw== X-Gm-Message-State: AOAM530Efrg11zi8f8eXZA4joz1j+542BKhtl7t5Q3hzqB6k9iNPIRUu RB7dNJnTRMsHwM1DiEdcipmujwf5fMDlAMAqc8sUjA== X-Received: by 2002:a17:906:4e51:: with SMTP id g17mr14564426ejw.18.1618939941345; Tue, 20 Apr 2021 10:32:21 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Naresh Kamboju Date: Tue, 20 Apr 2021 23:02:10 +0530 Message-ID: Subject: Re: BUG: KASAN: use-after-free in page_to_skb.isra.0+0x300/0x418 To: Eric Dumazet Cc: virtualization@lists.linux-foundation.org, Linux-Next Mailing List , open list , lkft-triage@lists.linaro.org, linux-mm , Guenter Roeck , Mat Martineau , Xuan Zhuo , Jason Wang , "Michael S. Tsirkin" , Alan Bennett Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 20 Apr 2021 at 19:47, Eric Dumazet wrote: > > On Tue, Apr 20, 2021 at 3:45 PM Naresh Kamboju > wrote: > > > > Following kernel BUG reported on qemu-arm64 running linux next 20210420 > > the config is enabled with KASAN. > > > > steps to reproduce: > > ---------------------------- > > - Build the arm64 kernel with KASAN enabled. > > - boot it with below command and you will notice > > /usr/bin/qemu-system-aarch64 -cpu host -machine virt,accel=kvm > > -nographic -net nic,model=virtio,macaddr=BA:DD:AD:CC:09:10 -net tap -m > > 1024 -monitor none -kernel kernel/Image.gz --append "console=ttyAMA0 > > root=/dev/vda rw" -hda > > rootfs/rpb-console-image-lkft-juno-20210414125244-133.rootfs.ext4 -m > > 4096 -smp 4 -nographic > > > > > > crash log: > > ------------- > > > > This is the fifth report, have you tried the proposed fix ? > > https://patchwork.kernel.org/project/netdevbpf/patch/20210420094341.3259328-1-eric.dumazet@gmail.com/ I have tested your patch now and the reported issue got fixed. Tested-by: Naresh Kamboju Tested log link, https://lkft.validation.linaro.org/scheduler/job/2555544#L208 - Naresh