Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4497178ybb; Tue, 14 Apr 2020 08:25:48 -0700 (PDT) X-Google-Smtp-Source: APiQypKHzLiwq9qQVNWtXDNupUjwx6O2zxVniyEjXBSFgAT/+2tQ7r9BGwFzjw68EmxAt9SeZc4n X-Received: by 2002:a17:906:5fd2:: with SMTP id k18mr598282ejv.243.1586877948624; Tue, 14 Apr 2020 08:25:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586877948; cv=none; d=google.com; s=arc-20160816; b=Vq5k3DaBGX56V7DJQpuuzmTmOau3Lt34ROmBsS3gSKC44pzqMbk1HXx3PWq+vdi++f 88t/b2pmCrM4bVEJ1elVCrffhKlSViy3NJq0UIcImyGgxcbxxvR1FDq1M1FAiQ8XNEW4 boaTVU/dfNP/xZ74dgUi6pDerpd4cuM2nVbmdM6o6j+eHpjCUtUHfQ8ogxJCrrLPg0Ml sI7gXyjlPXm8hgPWURxNbJla8kqa6OdqHVtzeNtT1J89KVpx9p2248rJI0kpBEIA3jht 0OTqaZZMBNVlAnSXf1cGWjWUblZW7wuwD4iR94XtlLzVliDctdJdfDLaDNX0TX2XQ41r 0cGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:in-reply-to:cc:references:message-id :date:subject:mime-version:from:content-transfer-encoding :dkim-signature; bh=7+NC2RpkOf2SbI98FY1bSeaxQhjq9j8fWNpYmPilqT8=; b=AQc1QTnRdLvWC2qKb4F6EbNwVJ7kucp2GCCk69UXeMcoVK9IEJvJ9cN1Vb6D0XyI7q Ea6znHt0evkZ+YkwYPclmSSksUpRTYnARwRt7GWi5yDr2OYufVvKyexho+H+yhIi9EbN TgsRYjQOoK1t+dZLESOX5V2s5AzAezkw4g/vzmoxbuEVYu/XDPpt9c05EfeY8rH62m7i aVZcKCNKS/vlfBSRMgJ69RO52EToDpetgX9JHHX7UmzetbuBRiRUgnmEPEh9oCABZl4z Y861U3d8iI5eQgdjZW7g3lPgqTujrQ8+YTbRgHGy7e7IusxuqTg9QwrVN7LNRvhkc/GR FxoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=IFOXCWbM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e6si9195939edc.18.2020.04.14.08.25.24; Tue, 14 Apr 2020 08:25:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for 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=@lca.pw header.s=google header.b=IFOXCWbM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2439738AbgDNL7Z (ORCPT + 99 others); Tue, 14 Apr 2020 07:59:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729583AbgDNL7T (ORCPT ); Tue, 14 Apr 2020 07:59:19 -0400 Received: from mail-qv1-xf43.google.com (mail-qv1-xf43.google.com [IPv6:2607:f8b0:4864:20::f43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40462C061A0C for ; Tue, 14 Apr 2020 04:59:19 -0700 (PDT) Received: by mail-qv1-xf43.google.com with SMTP id di6so313135qvb.10 for ; Tue, 14 Apr 2020 04:59:19 -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=AKkV0kw+KtXcNtpYvyz957slLfwfoprDuRhLA1HVvlcUj8gCkcO0oK9azITAnlvzjH 9f+f7htAp6GtCFFnGpCnN8Zev9duIMJlhF3KkufqNSY+jpotHm6OhidQMY26TqJE7DCO 8sixH69MKhd5JBm5LCZpxtpeZ6WepuZ8uMY/Ib5LL2luinT8DUMhbINMEoMn21NofV4M +yxohm3kPqJDXIRGw4i6rZbyyaMVTszKzYbrc9DM8Th62AniwfwhQ/usooZmL/KuI4Ys 80o1iXH6jJa+DNoN+AlvGR3x/L9KmygrC4ex+Dk4ows+DHmEpEEI4fTV3BjK8p0WwW27 8hpw== X-Gm-Message-State: AGi0Pubu3G/bVSIHPNxMWjx7HUiLiNBab5bzvp3eKY9M/BzHJZcIj77p WRkujDyTLZBZTtiW7TasRCYL2A== 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) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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.=