Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5490397pxb; Wed, 26 Jan 2022 13:16:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJz7Sa7oT0XRzpBUdw4AlT36JUnv7dNhhfEnnNWXaZ+/Mv7wY13ugmEx7hAS8ppvz5kVgBIq X-Received: by 2002:aa7:91cc:: with SMTP id z12mr282083pfa.37.1643231777410; Wed, 26 Jan 2022 13:16:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643231777; cv=none; d=google.com; s=arc-20160816; b=tt2YxP7AQemOWkIWeNSZouKY7ffrEX4qfvbAOpXbwDmIZH4U51xBk2gyAFcVsFJjTS hZ1tBIxsbvjnvLVNl9yH4freGfhBYaKil0LspyAfinO/SQOdejCL8yaFDZvKoBmySd7K ftkdCRSCR+21XHuOMExUDLo/LnaMsdyeTjL54cRrHq3yVLJYq9S3a+c7Jo0TdEMRMkWz j49kk6u1TbkKdUKFQv4o8FV3pf+YjP7Vtf5HuVz6DamYq6ZdYtpYnoc7NAVuqCYkfosM XrXxdrYpFm8XZocpqdbG7rX4yOfqiiQGDcN+jhP8ofELIKYCoMm6YMjE8aqB1tOhEN3m KNGA== 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=EpKbbi8If8FEZ41RpRjGsQUgi5Ly7DPWQgM8YNkUuFM=; b=0DpLKGor9Ia5EcSeXR0+ltnhUluDOb7NT9qiwVTLoV4BTjRl2cYHehby4337QhRpSA LwoEcnAPlokfXVqLTkq2V0mIwKxlOXsrsMQwAdI9t01LYoKmiq2GU9yBWOhWYpbd69G5 bcaGykzmCI6l71ftT5Fq7ZcLyyIuBDPuCH8NdlpEgOkmQPr7/ZN2o85mMjeNRmo5mxxC IdYItHGajxawbz8jJ3MoMf5Z2t6k17QADjMns9B25ZtkROoAfXBf/EeAvYkS5ZIU28qA 7heVtCzcY19nBFOx5g0a/Eb3r227fmTuT+Tr5eIbxMn3BXAb25jkWrqw0OAmmUKLs+Af +qzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@soleen.com header.s=google header.b=GYV8COX4; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bj7si316814plb.408.2022.01.26.13.16.05; Wed, 26 Jan 2022 13:16:17 -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=@soleen.com header.s=google header.b=GYV8COX4; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241473AbiAZMqs (ORCPT + 99 others); Wed, 26 Jan 2022 07:46:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234178AbiAZMqr (ORCPT ); Wed, 26 Jan 2022 07:46:47 -0500 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95752C06161C for ; Wed, 26 Jan 2022 04:46:46 -0800 (PST) Received: by mail-ej1-x62e.google.com with SMTP id a8so38671391ejc.8 for ; Wed, 26 Jan 2022 04:46:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=soleen.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EpKbbi8If8FEZ41RpRjGsQUgi5Ly7DPWQgM8YNkUuFM=; b=GYV8COX4chqvZKYYDsg1d65DhuqAftl7wfKlqfjE5qaHDkRbOTvD4+3PHXkbcp91h4 SZVPGemrx/PCrpTY9k2zjkBXxe32gIRJRAPANZB23wK0GYgcqAA9Kt5ZnXECCDIyOgsk P/yNaZKYQ/PS9Wu06w2TzSlw6lzPF3hr2y28FQf6a/VTrxtX98H8qZZFwXkG1TVNQpP/ X2pM5oOcs9UY+z9L9DlMbx9/zgHxFczb97qvuTJXX7zr44QZhvInje1oo3juCyNViJTF 1Qwlfuflr1gwQN2uVHEx78ue6dKAT+PP6bUCBHWi8PI1SCjOXFMOYHYm7kE2qX47Qnrb mCSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EpKbbi8If8FEZ41RpRjGsQUgi5Ly7DPWQgM8YNkUuFM=; b=MPKgu3NG6btL5o6E+NdDkuUisi9fay4H/RSFGYDb8/eY7LGV1tIQ/IBkQxRMM6pGqD aseW7L3Kf0b2HZsi/w7iKCOhJd6Fol/2LaaRN+cP1O9lhpOxlLJsa2s0XzpS3NYGKiRX z+D0V6tWNstNRYc8uE91LIk2Wm8LnFW3GLUgikVMci1eAFtSJce7lyI5xyJS+PPqzhma HlJ3jHolBUqT+aXUys/1ZJ9bz+Scay5nJszzzTi8HRZe8X9ZKyfSI9H/17tbvm0K7ZuH +nKpeRfYmdEd6FNuNydMw29mtpWmY+0+9LSemgbjqFm6+1dwZCmkDBsbixd4FjTcvXm+ Qwwg== X-Gm-Message-State: AOAM531aBQEmP7qQeGn+0o0CfD768FxNgZkJPdXQbf3vY4z1snKLtNXH zbbH+4VIdcO//M0kcGL/UHcKB7lN57agCOfefNWAuQ== X-Received: by 2002:a17:907:7d8c:: with SMTP id oz12mr897545ejc.320.1643201205147; Wed, 26 Jan 2022 04:46:45 -0800 (PST) MIME-Version: 1.0 References: <20220126060514.1574935-1-pasha.tatashin@soleen.com> <20220126060514.1574935-5-pasha.tatashin@soleen.com> <61833f93-31b5-206f-b8c7-a2e55091ac@google.com> In-Reply-To: <61833f93-31b5-206f-b8c7-a2e55091ac@google.com> From: Pasha Tatashin Date: Wed, 26 Jan 2022 07:46:09 -0500 Message-ID: Subject: Re: [PATCH v3 4/4] mm/page_table_check: check entries at pmd levels To: David Rientjes Cc: LKML , linux-mm , Andrew Morton , Paul Turner , Wei Xu , Greg Thelen , Ingo Molnar , Will Deacon , Mike Rapoport , Dave Hansen , "H. Peter Anvin" , "Aneesh Kumar K.V" , Jiri Slaby , Muchun Song , Fusion Future , Hugh Dickins , Zi Yan , Anshuman Khandual Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 26, 2022 at 1:45 AM David Rientjes wrote: > > On Wed, 26 Jan 2022, Pasha Tatashin wrote: > > > syzbot detected a case where the page table counters were not properly > > updated. > > > > Is there a Reported-by tag that syzbot wants us to use to track this? Google internal syzbot found it, so I did not add Reported-by as there is no public e-mail to reference. However, I added all the necessary steps to repro this problem to the cover letter. > > > This looks right, I'm wondering if we want to add a > mmap_assert_write_locked(mm) to collapse_and_free_pmd(). Good idea, I will add it in the next revision. Thanks, Pasha