Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp8787830pxu; Sun, 27 Dec 2020 20:22:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJyjNNGff8kT5ibxDaAH1wqSWV+adAvtBaMKHyQ9JKpz7QPx+U9fu4+8CsezeSpzu5KkbkrQ X-Received: by 2002:a50:fd88:: with SMTP id o8mr40859469edt.386.1609129360138; Sun, 27 Dec 2020 20:22:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609129360; cv=none; d=google.com; s=arc-20160816; b=nR74ljCKMOAc9SmZ+OLOTEi/cjWjvEE70IoXBHPKhBqt43NoDfXkiJ0jPzC/v9sNla Pgt1UCkO6nAJSe1u2il0g3bWPpWY4mhj3mMEqKXB8AVw0uaOcpZCMBGza6cmvF8yKGzV 6Vees9IhLaNogzJs5N2gwYeap7SjnKyq8sENWmLKuQyqFF8Jpura8oRsRAt9wZ+oL3Ai MmuZpTMtcxpgqCjCIbHAVcZOFqOvGgemuGXyQrsG2uDQx4IxOLX/x7yIMuk6Lw+KEK19 vuHsWLB30vB5pFlUhJOXZdYmmCXcLjVMOLPODj5OBAcJGTVZ0sJ55RWSzq9dUfPAH4qh jutQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=pa5xLy2qDxc+uq3HbpERterwMGHDaoImzt4/agoCKIs=; b=lLQInfZKFgqz/S3erT2N71ir/xFNaGfaMjXBOXzYRM/HQ+q9PcsUYDJPLr9ybLl1mW 6SuZeWNLE02JN8tXmYwclKWQaiTGtaPGZbd9xZrYCNmFez1dO/l7u4gDuOPR1EIevSvL qjECUZTS8E90D/8BYK4rI+nDaSMh/CvZO0U4j6Cg5AUYDktBRyHeeHoAdXTkKGmtGM9P CAOtATpPe//JScfed0BYbeyYuIhVs+pZX+As7o756Mg0U2a22Ep3uvhzH5vJ2qOirPly z+W799ip3A/W87KThW9yEpHSW9+AhYbcQfz5Nd8FpR/WbSMtRDZdYwNzrzB3EsWu7WdT Dg/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=HtptWxBr; 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=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b22si17888595eja.62.2020.12.27.20.22.01; Sun, 27 Dec 2020 20:22:40 -0800 (PST) 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=@mediatek.com header.s=dk header.b=HtptWxBr; 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=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726282AbgL1EU1 (ORCPT + 99 others); Sun, 27 Dec 2020 23:20:27 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:59990 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726167AbgL1EU0 (ORCPT ); Sun, 27 Dec 2020 23:20:26 -0500 X-UUID: 22f4a0dbc6904c20a40138dc987cf8d1-20201228 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=pa5xLy2qDxc+uq3HbpERterwMGHDaoImzt4/agoCKIs=; b=HtptWxBrQ8MGZXxYv0F2Z9K45XJBqWwDkHZX9whs/LgnO9+lpat0uip8Y0+2kYFFlJ1Y8VKb9oVKUhh47CRZxVqr0Eyp2Fv+/mZ8KDPJsMBbhLqmirLkjcN8XwM55GYdypNVzQV5DsdeWqq+0pe4HQtBiWbPpW2fzdiCmoQLD64=; X-UUID: 22f4a0dbc6904c20a40138dc987cf8d1-20201228 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1027952524; Mon, 28 Dec 2020 12:19:37 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 28 Dec 2020 12:20:37 +0800 Received: from [172.21.84.99] (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 28 Dec 2020 12:20:37 +0800 Message-ID: <1609129169.6472.1.camel@mtksdccf07> Subject: Re: BUG: unable to handle kernel NULL pointer dereference in call_rcu From: Walter Wu To: Dmitry Vyukov CC: Andrew Morton , Andrey Konovalov , syzbot , Alexey Dobriyan , LKML , Waiman Long , Stephen Rothwell , syzkaller-bugs , Vasily Averin , Andrey Ryabinin , "Alexander Potapenko" Date: Mon, 28 Dec 2020 12:19:29 +0800 In-Reply-To: References: <0000000000005ccf1b05b7665adc@google.com> <20201227114534.1b3f407caaf9ec0e821f56f4@linux-foundation.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-TM-SNTS-SMTP: A66264A3B3863547C86EAA5E7BFB314FCE050F66B8DEA2AA5BE81D57E7DE73512000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gU3VuLCAyMDIwLTEyLTI3IGF0IDIwOjUxICswMTA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