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=-0.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 BA4B9C2BA19 for ; Tue, 14 Apr 2020 11:59:20 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 76F0A206A2 for ; Tue, 14 Apr 2020 11:59:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lca.pw header.i=@lca.pw header.b="IFOXCWbM" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 76F0A206A2 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lca.pw Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 0C3108E0003; Tue, 14 Apr 2020 07:59:20 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 074008E0001; Tue, 14 Apr 2020 07:59:20 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EA4A78E0003; Tue, 14 Apr 2020 07:59:19 -0400 (EDT) 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 D04088E0001 for ; Tue, 14 Apr 2020 07:59:19 -0400 (EDT) Received: from smtpin11.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 98E965000 for ; Tue, 14 Apr 2020 11:59:19 +0000 (UTC) X-FDA: 76706315238.11.skin62_51612465ed04b X-HE-Tag: skin62_51612465ed04b X-Filterd-Recvd-Size: 4638 Received: from mail-qv1-f67.google.com (mail-qv1-f67.google.com [209.85.219.67]) by imf19.hostedemail.com (Postfix) with ESMTP for ; Tue, 14 Apr 2020 11:59:19 +0000 (UTC) Received: by mail-qv1-f67.google.com with SMTP id v18so1032197qvx.9 for ; Tue, 14 Apr 2020 04:59:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=7+NC2RpkOf2SbI98FY1bSeaxQhjq9j8fWNpYmPilqT8=; b=IFOXCWbMzuDssZf6ycLUgkISxSiuf2CsSXEDQa2VAVyFmZsNGExERsa00yDBMwSY1u AMmX6M9VsTB3/0M3DwP5yHf0eyMfoJ4WF0qfdGvlttTqQ40phwndif0orRYexZKyDvU4 /7SO8EaeSuU7esDAGWAL053wWZIQE6yJuoxt8mRJL1q6YqRpDsUBcezr5WOKqNmbvPJw q4wGqo2q8tGjDrY1OlrkUQZ/7yIdjXpXlqjX5r2e4QPt4deHgTb14RIQ+NCcqQvqYS2C 9cOMkruOoLt36q/jfbJdbbVHSICik7pnsHoHhbyE+6wJBT2F2SIWfFFFKH182uzdhRlw FbLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=7+NC2RpkOf2SbI98FY1bSeaxQhjq9j8fWNpYmPilqT8=; b=A5VrMYGyIU49Sgs5EDcrWcqSSAKzE+1BY3FLCl4bljdGMb3m39TuNYdiQpRoERPL7H XgzDCU9cHZEII73VgQhvtKnCwJ4y+uc1Q5ihcjLNFOMBcU8x6D+Xv4ahDaasS8kTa6eI 2AXXBuPZr1PXkbajXojh27D2uLAwAhcPriiEXVvEbNpsQ+zXo/EaWUxX629RWEBVtXp0 kBqTeagvsJ434I0+NmkaD1JyZbxX7Vr1rBf56J1GJUtkE0Fsp7DSEFQ3LdRCDgizUgY8 RHwPA6AZMcsmrbqI4IZ5UHJ3y09N/jWKut1QR+MkNBSkF7wVtw+673WiLOn/do2Lw9jc Si+A== X-Gm-Message-State: AGi0PuZkAjWINE8mGDr7jn9oWxVBH9WLYSQkfMNrkoiO3kZsh+R0COra ifvuX6l90ObPi2r7/qbaEl6dKw== X-Google-Smtp-Source: APiQypIGjOUH2uNHcQKWvPdZOxNKnIpWBKuay8+N4jyECDb2JDTqdXtv2gfs5yNy3EBgAH4Dam+RHA== X-Received: by 2002:ad4:548b:: with SMTP id q11mr7157656qvy.129.1586865558333; Tue, 14 Apr 2020 04:59:18 -0700 (PDT) Received: from [192.168.1.183] (pool-71-184-117-43.bstnma.fios.verizon.net. [71.184.117.43]) by smtp.gmail.com with ESMTPSA id w27sm10924164qtc.18.2020.04.14.04.59.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Apr 2020 04:59:17 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Qian Cai Mime-Version: 1.0 (1.0) Subject: Re: [PATCH 0/2] mm: Two small fixes for recent syzbot reports Date: Tue, 14 Apr 2020 07:59:16 -0400 Message-Id: <04E78431-7B62-4FA1-8B1D-51DF7648D9C5@lca.pw> References: Cc: Linus Torvalds , Stephen Rothwell , Andrew Morton , Peter Xu , LKML , Linux-MM , Jens Axboe , Christoph Lameter , Johannes Weiner , syzkaller , Dan Rue In-Reply-To: To: Dmitry Vyukov X-Mailer: iPhone Mail (17D50) 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 Apr 14, 2020, at 7:13 AM, Dmitry Vyukov wrote: >=20 > How do these use-after-free's and locking bugs get past the > unit-testing systems (which syzbot is not) and remain unnoticed for so > long?... > syzbot uses the dumbest VMs (GCE), so everything it triggers during > boot should be triggerable pretty much everywhere. There are many reasons that any early testing would not be able to catch ALL= the syzbot blockers. The Kconfigs are different. For example, I don=E2=80=99t have openvswitch en= abled, so would miss that ovs rcu-list lockdep warning. Same for that use-af= ter-free in net/bluetooth and a warning in sound subsystem. But, notifying Linux-next ML is a good start, so at least we could ask Paul o= r Steve to pull out the commit which enabling rcu-list debugging by default w= ith PROVE_RCU. I learned through that restricted kconfig to some degree of minimal could sa= ve a lot of troubles late on especially those options that I have no way to e= xercise like net/bluetooth and sound currently. It is going to be extra work= s though because those default options in Linux-next or even defconfigs are n= ot always pleasant and would want to enable something I don=E2=80=99t need i= f not given human intervention.=