From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6D52CC64E7B for ; Tue, 1 Dec 2020 14:13:42 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D7A1920757 for ; Tue, 1 Dec 2020 14:13:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Mw9HOaWV"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="+uah8n9H" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D7A1920757 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linutronix.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 384058D0006; Tue, 1 Dec 2020 09:13:41 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 333C48D0001; Tue, 1 Dec 2020 09:13:41 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 249A68D0006; Tue, 1 Dec 2020 09:13:41 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0055.hostedemail.com [216.40.44.55]) by kanga.kvack.org (Postfix) with ESMTP id 0E5848D0001 for ; Tue, 1 Dec 2020 09:13:41 -0500 (EST) Received: from smtpin13.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id BB5308249980 for ; Tue, 1 Dec 2020 14:13:40 +0000 (UTC) X-FDA: 77544906600.13.goose68_1d12681273ab Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin13.hostedemail.com (Postfix) with ESMTP id 6FDB318140B69 for ; Tue, 1 Dec 2020 14:13:40 +0000 (UTC) X-HE-Tag: goose68_1d12681273ab X-Filterd-Recvd-Size: 4022 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by imf44.hostedemail.com (Postfix) with ESMTP for ; Tue, 1 Dec 2020 14:13:39 +0000 (UTC) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1606832016; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Skhg6O9p2Trnjrbm81ayS393ZogAa9PiayeejAPB7Ow=; b=Mw9HOaWVR79l72uLb07taz0LhZWUg8d2/HcmPfRcpZ4cCq6AZpzlRRr0IS9gzoIga3r+bO NywKzYVIGI/2M4ARyuCPl0/wuC1Xp5OFqTHMuYEFR/xerUVW4pEyqOwq9RPANMLUr8nnj6 nK9RgMhl6/iHcXlj1MwZtbBiTQlJji+h1+OSgVyxaylqkdMQxxNPKZEBzgS1T4VuBACrXQ 7H1zXyEIEeWWp673BEURkomaOIfS0UWl5PrTTAX9WUAp02CCJRLpzcXYMylMEtig3BnurG 3WDPJBaoWh8ly+UtGwljZirT85nz/Lqkgx/ANbTHgmcfETrHkj5MPa/PVfoMgw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1606832016; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Skhg6O9p2Trnjrbm81ayS393ZogAa9PiayeejAPB7Ow=; b=+uah8n9H51Y4ejsCR0Zmx8WPPwKY1FEz2dTA8w9rlY73cNkQ3nWGd3qzkRRjnXqZVhA9ir 2eJhR8yltoybsLAg== To: Dmitry Vyukov Cc: Walter Wu , Andrew Morton , John Stultz , Stephen Boyd , Tejun Heo , Lai Jiangshan , Marco Elver , Andrey Ryabinin , Alexander Potapenko , Andrey Konovalov , Matthias Brugger , kasan-dev , Linux-MM , LKML , Linux ARM , wsd_upstream , linux-mediatek@lists.infradead.org Subject: Re: [PATCH v4 0/6] kasan: add workqueue and timer stack for generic KASAN In-Reply-To: References: <20200924040152.30851-1-walter-zh.wu@mediatek.com> <87h7rfi8pn.fsf@nanos.tec.linutronix.de> Date: Tue, 01 Dec 2020 15:13:36 +0100 Message-ID: <871rg9hawf.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, Dec 01 2020 at 08:59, Dmitry Vyukov wrote: > On Wed, Sep 30, 2020 at 5:29 PM Thomas Gleixner wrote: >> On Thu, Sep 24 2020 at 12:01, Walter Wu wrote: >> > Syzbot reports many UAF issues for workqueue or timer, see [1] and [2]. >> > In some of these access/allocation happened in process_one_work(), >> > we see the free stack is useless in KASAN report, it doesn't help >> > programmers to solve UAF on workqueue. The same may stand for times. >> > >> > This patchset improves KASAN reports by making them to have workqueue >> > queueing stack and timer stack information. It is useful for programmers >> > to solve use-after-free or double-free memory issue. >> > >> > Generic KASAN also records the last two workqueue and timer stacks and >> > prints them in KASAN report. It is only suitable for generic KASAN. > > Walter, did you mail v5? > Checking statuses of KASAN issues and this seems to be not in linux-next. > >> > [1]https://groups.google.com/g/syzkaller-bugs/search?q=%22use-after-free%22+process_one_work >> > [2]https://groups.google.com/g/syzkaller-bugs/search?q=%22use-after-free%22%20expire_timers >> >> How are these links useful for people who do not have a gurgle account? > > This is a public mailing list archive, so effectively the same way as > lore links ;) Just that it asked me to log in last time. That's why I wrote the above. Today it does not, odd. Thanks, tglx