Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp1781822rwa; Sun, 21 Aug 2022 17:21:08 -0700 (PDT) X-Google-Smtp-Source: AA6agR7tbX5hZeqoT9vFl0AeMMRi1VOZxXzaDG9Ryc5fofuInAmk+EuC9Vly4+r5QXqT90EzXUse X-Received: by 2002:a17:90b:4c8e:b0:1f7:2083:a91b with SMTP id my14-20020a17090b4c8e00b001f72083a91bmr20336499pjb.119.1661127668129; Sun, 21 Aug 2022 17:21:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1661127668; cv=pass; d=google.com; s=arc-20160816; b=ysGnyvclGi1RrRVZgi6fUPiy4mI5Duqff9VQqTPSc4L92JwZchXjhK1rP5/eWW/2tD CYocBdTC/Q4G4hgBt2YVNqTgsrvBHqgRmkulY3fbO8KeUi2yWPjiPmRUTJcieAAWlTEp 8XdRhmL4GOTUMudw229IWGBi4DJPnppHThtWPi/W1uJcbUMq/s8xIYD4gBgWFy7Ihacg Y93B/ssZ8GMBcFkgIcfzPF2rdiY3kPWXlbVSwq/YiwSRleS3ES8L1NUydd/PR4Q5XuyF +OLYhxOT6VFN2Ql1A38313Qdbu+F6ZDr++THXiYM3vVmXjg3SpYfJ4PsWiOLFw9p8ck9 baqA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=mpQijV+uAlouCoMY2jUu5Zqpy+wvqwjrH/6FTutU39o=; b=FlxkehhoEgs1DkUBaCEw/5rDNQMTmQ75CBSwUgRL5C7qTYbldLah2zVvudWjL8F1Iw vWMGdnN29GtPvr3u89DV6tSicQIGpzFBh/nkxAHHlISCzhJx64BZNPuZ7x10g0+6NpEh DDlAl+/ofx9K6eURvFAmG5KhyQgcJ6Pcvbn9fL1LSM4kdzbvfbZCmvZ3+9ubTl5tPxFq DvwbK4KCgywKYdh8YOdwWB6cASegJlNUDG7bk1D8/K9C+Eensj7NoWoI6fH3R6Jihrou NpPZDt6TH/YKLcNw2fr6K99hm33ZJIM895+of2qXNoNB222Jyvio8ZVOMZzUHf47FJLC Dc1w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=TITw+yag; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c69-20020a633548000000b00429bc2d99d7si12366753pga.137.2022.08.21.17.20.55; Sun, 21 Aug 2022 17:21:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=TITw+yag; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231804AbiHVAKO (ORCPT + 99 others); Sun, 21 Aug 2022 20:10:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229541AbiHVAKM (ORCPT ); Sun, 21 Aug 2022 20:10:12 -0400 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2075.outbound.protection.outlook.com [40.107.243.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F14E91F62C for ; Sun, 21 Aug 2022 17:10:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BetmXyLwoORUFhEcsfYi3c2mlNOotZ0TuX9tQUPmJJy5rbOQ7eFkF/tHcfdsCqgJBR5+UG710W4+NjaVBk1cwl9o60LIcs+pSAEcyGOAoNERqVIHLk8sMFp9uBauHK95beIXQFsyrj35VsyscNT0ZEsw1IONOxkzGgKz5U1Fh3T5DUVqAYPpkFwQDA6kNUSIUilEOVNlNy8cP+Q+4Rwn2v+bv2Xxp65OysMKzj6JfxvdM7e80YK9bnBbFPp+X+7M1z0hgh2iZhvl3zNo3Ts4KFPXnKvQ64I683sv1XtaBg0P+5+BO/N6+QWMbbLVDk7nK2I4dIPFzSLyUnn3sKr1SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mpQijV+uAlouCoMY2jUu5Zqpy+wvqwjrH/6FTutU39o=; b=F4QaMN2R8qjfGckeKcLnyKTVHxl1jao9qicBpMhyaq9u3y9hpOXGQRb+5hWkwv1XMccyjxevRk6MCk9zxyKCCUIjm7HBW7gwP7sIdcDECU83kI4yt20O1tt05lkxCDJmgeW1WHO7tfZ3d+WocqIDfS6brOg7zaN61z2Yz9NMNIpA3jp7YKYs4nAh7kiM8soaDjndNW0N37KuHXOIDklBHgKgtwpprMdW375TnSptNBE1lE9DwoCd1SFH5TVxBFb5WRAqdMrU1xY8bEEQAb1WTzNXaByJAAdsDM/bSiSprejkdw0ktdF0QQQtjqn1Sva6KBY4vdhOscWvY8z2sRYG7A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mpQijV+uAlouCoMY2jUu5Zqpy+wvqwjrH/6FTutU39o=; b=TITw+yagCgOwZGyMuFUt+3eDq04lPr/9jQA1/qsxabfsI2ryp/a2VRmJW7qsCCZysZJ9nzNSgJq5jVBLCpPCO/Bgr0cgF+0oeEqAjRT7PbKMBIJvlhphv3Gc28vcfcEBovH/Vxme9fzoGemBLMlGBBrjB8z2vWvJ1aIVRT6maxPrtm8Up45T6AMdop/QxT9B9NFC9wlaSOCIHYjiUK3jl8W1DQ8y1lltBsRBdIyQ+B3KSgStdsWXGqMUVMLQ+XIngzHinxn5kiv/I4LNhZ9WE5KUcS8coVFr6JpVEQjFdPM10JwQNWhb89G62FdyVe0yGRyE/dwXVuhqLS4usHjlag== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) by SA1PR12MB7125.namprd12.prod.outlook.com (2603:10b6:806:29f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.16; Mon, 22 Aug 2022 00:10:09 +0000 Received: from BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::508d:221c:9c9e:e1a5]) by BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::508d:221c:9c9e:e1a5%8]) with mapi id 15.20.5546.022; Mon, 22 Aug 2022 00:10:09 +0000 Message-ID: <761793f4-cd16-fcc1-8777-f7e032604e1e@nvidia.com> Date: Sun, 21 Aug 2022 17:10:06 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [syzbot] general protection fault in vma_is_shmem Content-Language: en-US To: Andrew Morton Cc: syzbot , hughd@google.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, syzkaller-bugs@googlegroups.com, Alistair Popple , David Hildenbrand , Jason Gunthorpe References: <0000000000002c73fd05e6ba3e0b@google.com> <20220821013246.a706fa7c2d8cb494efdba02e@linux-foundation.org> <0004c00e-e50f-5dcf-20f9-1b8da0822bfd@nvidia.com> <20220821163120.df7d936c9f47b6dc875ab763@linux-foundation.org> From: John Hubbard In-Reply-To: <20220821163120.df7d936c9f47b6dc875ab763@linux-foundation.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BY3PR03CA0006.namprd03.prod.outlook.com (2603:10b6:a03:39a::11) To BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f3e6f654-f7f2-450c-8119-08da83d2acb5 X-MS-TrafficTypeDiagnostic: SA1PR12MB7125:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LIbK/zr8y0sdbrA1XRBY15eCWnNQoXxS0hbM72aAOYzz4iCK1IZ+pWg0sgN2mU35KOoXSnS2yUw/14twxzTVFDYNLE8QSX171CjBo7pB661R2l8bY7ROuEmY0eBfbdGFAOtLKzBD1dmOwY6SrqiohMlUgLVVlGDFUuXH2nE/ndmrfnL/fyD9NEZw8xbDivoIUokoHfnUYktijPzp8ZT/+Dyi/cItppFw7Dz4H4Vk6CqUn4sHlngzDv8PGpm4B0dTES7qkxDXVaiA8Ti8eLm0IwFj5RB8LouYqmbMM3E/35se2pBO1DacuRb9oQFc39rqBYyG7r46OYbFjFprm46lW94FPjN5HhvxZBFTgVkRVJF2GLm3tY4dKQitrnE9DdVLImBK9DZbWmg+suyjt/WhiRTp54IA+HsdlBJG7rhSVKshBSRdO1RmHb+ZrGFX1BSff6ESMZWSUI0o6g84cPxdlXPV23fzTnIX1UvUhB/9z9oHS+D7NzqL3zie8XzzhZrqwnk0NiiqRnWwfIG6a0Jns/127IPbXNVp4XVlLk7/p+oIq3CUVu/w8+WVLAu1MkzqKqIlIIObh3eUgzkOM9JDDvXNjP8xmGkjeFGPLdhRzdnkg/XY+MJOBwiX4uYCpV2UMKP5bus9ZQIsTGa/VD33viFAGH5zAbFx6mBJQ0idXha4vF/dasA1wxow0IA1GR6n9hUm0p0KJJj15xZoxrQu8Qx6qxmniMGpHxkqMmm0yAXc976yRq2XDVsTjxt0HMCjO1/c9kZanEHrDAjkesYGrYQ9nuVJ4qGYwQ6cIiWyY3kJEXledm+m28JlM/yyggbdrMbv/RG8gHW5YtfUEIUIMcuSpvwn/2ZWeCrRN1ZcgnEK38czjWkWWxoVcA8pk7p1 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR12MB4130.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(346002)(39860400002)(396003)(136003)(366004)(376002)(54906003)(66556008)(6916009)(66946007)(8676002)(66476007)(4326008)(86362001)(31696002)(6512007)(316002)(26005)(6666004)(6506007)(53546011)(2616005)(107886003)(186003)(478600001)(83380400001)(966005)(6486002)(5660300002)(41300700001)(8936002)(31686004)(38100700002)(4744005)(2906002)(36756003)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dGVrR2JHeXRtMHQ5WW81VVhXczh1bTRGSDQ2VkZYWW5mQnljYTFOamxCa1pT?= =?utf-8?B?WGdzOS9Bc3pCTCtST3FKTTFaUWh5Nk04RjVVN21TQmI4bDFKUFpjQ0tWUEs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Ulk0ZlljZlFXSTFuZGE3VjRMYlRpUEdT?= =?utf-8?B?aFhzV2xtN0VxcEJNc09SbmYwNjRFbVA2TFYxSXlQU1QrZ0ZRNlBiWndNd2J6?= =?utf-8?B?dk9VVlBEZHlIei9TMG55TkpvLy9XUmYzQmdYcU85SHlmdjluZkRVWjhNVFN0?= =?utf-8?B?ZWhjUUxOM01WbXF1TS9zN1JyeGxxR2owajEwMjNUanFUNm5zVkpCZThYWGZG?= =?utf-8?Q?HPJ1Igb5o5EVQ9QwLfOq4DcRJ?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: f3e6f654-f7f2-450c-8119-08da83d2acb5 X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB4130.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Aug 2022 00:10:09.1075 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Y2E9lfCQiBtDcFzhNhn7lh4KYKwwl2ikntyWcJmuXJjAIT5lDJzigNlLHcY32xOLPhw3TnoCGmOWEg9iG4hhUQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB7125 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/21/22 16:31, Andrew Morton wrote: > On Sun, 21 Aug 2022 16:18:48 -0700 John Hubbard wrote: > >>> vmas[] array. We haven't messed with gup.c much this time around - >>> just one patch from Alistair ("mm/gup.c: simplify and fix >>> check_and_migrate_movable_pages() return codes"). It does touch this >>> area, but I can't immediately see how it could newly cause this. >>> >> >> Neither can I, even after looking at both of these recent commits to >> gup.c in this branch: >> >> commit 4d1225cd5560 ("mm/gup.c: simplify and fix >> check_and_migrate_movable_pages() return codes") >> >> commit 0e5d6dac6b65 ("mm/gup: fix FOLL_FORCE COW security issue and >> remove FOLL_COW") >> >> As you say, a bisection would really help here. > > Might > https://lkml.kernel.org/r/20220821183547.950370-1-syoshida@redhat.com > save us? > > aha yes, that looks right. thanks, -- John Hubbard NVIDIA