Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp801252ybh; Tue, 21 Jul 2020 08:14:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCSAnGBF0X+QwmMSSNBXHVCLCGbHoohJGg3Ep4X4lh4T9QLpkBM1nHU+s4UsqziVapEkKN X-Received: by 2002:a05:6402:49:: with SMTP id f9mr19912511edu.112.1595344478502; Tue, 21 Jul 2020 08:14:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595344478; cv=none; d=google.com; s=arc-20160816; b=pqgDVeiZgZckbLP0HxwMZSgPA7WeYSs9Y+TWvqR3yqPlSbqQgwBpynzvk0JIiZOeOc vrSBesrYpiW6cT0YKF/5WZBuoJEAEpiN674vhnacMuVckyD2qXb8BMFwS0QiusnuFGeQ tV1gXrmsJgmeq+ckSN6FoLS1lHsk661cBWS/T83XfHzKcIXQ0gXrI4EZSrbWk6ewu/9w T2xjEStZsidow/uqjq9YSJS6eANI5hD3mJ0lkJV6+9+eRKjAkwURPEfTCRQBo34Td3Lt 1OZdLbdeeQZPR2x3T+HOWRbIggQkI0wXKPJa/6/RxWA29wb1e5FnIyyhy8cI/5FD2Vky e+Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=3TtuW/04TloS1NB/dHC1X7GqHd/JNsPJfPJ5kf68fL0=; b=D52szO3Qme3Xn6qMY/+7pPnjx300eNQc8dOglqIGP1OmdY8TbkToasXSnKC/65ED0h EbE7mpZCIH7bDyD1+u/GBxv+iWcXiZV2unor7uiqigyugXlwYqvHu1w3Q1fXuRiys4ZB vkNeHiQjcFQc1hWn0AYzUiTZ9q1eqZ2nsx8z4ZsLehY9LI0IlRWVsPaf5iAiaKEtGnZK t59esGIp2OPCBQlgIGJYy8Tw3YTRQnJs/lfnGUJBYmkndZxKe5yKDXR0IwaohranuV5N dYrQRHtUjtpEs0BZ5OWCzSgT66fSj+i2exRBQv008w8aHFnCam4v/MBzUjlbnPRjIZv3 APmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=RG+hnEbV; 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 dn22si15589816edb.477.2020.07.21.08.14.16; Tue, 21 Jul 2020 08:14:38 -0700 (PDT) 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=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=RG+hnEbV; 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 S1729180AbgGUPLp (ORCPT + 99 others); Tue, 21 Jul 2020 11:11:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727038AbgGUPLo (ORCPT ); Tue, 21 Jul 2020 11:11:44 -0400 Received: from mail-il1-x143.google.com (mail-il1-x143.google.com [IPv6:2607:f8b0:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C79D3C061794 for ; Tue, 21 Jul 2020 08:11:44 -0700 (PDT) Received: by mail-il1-x143.google.com with SMTP id i18so16704511ilk.10 for ; Tue, 21 Jul 2020 08:11:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=3TtuW/04TloS1NB/dHC1X7GqHd/JNsPJfPJ5kf68fL0=; b=RG+hnEbVnEZLYIhoEq3P/qS25v83EeM0lCkrH/UaTFYDBfV6sbTUD+oo9ORs6dw6gm 0EKKSx2+/wqN+x6xbY0jm5aWdiI3SYq3Dex7GzozacLnKDzNblodKzzqp0z7MYP5jnk0 PmoUMNOLiQRmGns+AWoFrFdCGuQA/eQk0IX+ZJGSmpOFo8h4ooB1XHLXao3AmWjIjsfh 7LclEA8krqyv+owanQBYCGQ9LQtb3WhPPzXIXAe3QZAdygKZI3Yhd78Q+jxy/+4LgMyN TnbrojqYL6QImAKsEobrA5w6TjAOx+aV2S/drjYki2VTbsNR1BR/pOZm/ARgwV6q//uk zuIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=3TtuW/04TloS1NB/dHC1X7GqHd/JNsPJfPJ5kf68fL0=; b=ESE10gtHir+h7LH898ivqcohqHHfQvj+ilRng5lMkxX8sU2gBRSRi3FRKmjm3vtF9P 56lsSNX0tZGCw0sV/7xG5IT/595KOMmE8Sss4xdkCuG0HNZX3x4QD4xrB0puhVQME324 TgWMBSVu5z6KD1Nv8UhUdC3g6rrgkE83bCdS3NFpIo4T/1JKbnB8c3tr1Xy9I7kBxzAj zd7aVisBue1J6ml8lbBgRQhuqz7Yr/6yVZOC7yM/oUozIWSI17gXOu1v4Ayi7Xs7aM1R hzxHFyuzQyiIFEzd7DgUaZMuL3f55WKcvii4YQt05DEu5JksP+NkGZwQLiZTtbI3QvPP omXw== X-Gm-Message-State: AOAM531UzsDqw/T3y5kMKDRLRj/jZdwo5BPZwvlSxaj9BfMG5qQNrDXy lQAazjmh9t9v9lnTqM//qw1SHA== X-Received: by 2002:a92:aac8:: with SMTP id p69mr29564102ill.26.1595344304098; Tue, 21 Jul 2020 08:11:44 -0700 (PDT) Received: from [192.168.1.58] ([65.144.74.34]) by smtp.gmail.com with ESMTPSA id t11sm10597765ils.3.2020.07.21.08.11.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Jul 2020 08:11:43 -0700 (PDT) Subject: Re: kernel BUG at include/linux/swapops.h:LINE! To: "Kirill A. Shutemov" , Andrew Morton Cc: syzbot , linux-kernel@vger.kernel.org, linux-mm@kvack.org, syzkaller-bugs@googlegroups.com, Matthew Wilcox , Ralph Campbell , David Hildenbrand , Mike Kravetz , Johannes Weiner References: <000000000000bc4fd705a6e090e2@google.com> <0000000000004c38cd05aad1d13f@google.com> <20200720165144.93189f7825bd28e234a42cb8@linux-foundation.org> <20200721111131.bo3g6qkcvbhpupon@black.fi.intel.com> From: Jens Axboe Message-ID: <16e40194-05ac-536b-303f-d2fd31493229@kernel.dk> Date: Tue, 21 Jul 2020 09:11:41 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200721111131.bo3g6qkcvbhpupon@black.fi.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/21/20 5:11 AM, Kirill A. Shutemov wrote: > On Mon, Jul 20, 2020 at 04:51:44PM -0700, Andrew Morton wrote: >> On Sun, 19 Jul 2020 14:10:19 -0700 syzbot wrote: >> >>> syzbot has found a reproducer for the following issue on: >>> >>> HEAD commit: 4c43049f Add linux-next specific files for 20200716 >>> git tree: linux-next >>> console output: https://syzkaller.appspot.com/x/log.txt?x=12c56087100000 >>> kernel config: https://syzkaller.appspot.com/x/.config?x=2c76d72659687242 >>> dashboard link: https://syzkaller.appspot.com/bug?extid=c48f34012b06c4ac67dd >>> compiler: gcc (GCC) 10.1.0-syz 20200507 >>> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1344abeb100000 >>> >>> IMPORTANT: if you fix the issue, please add the following tag to the commit: >>> Reported-by: syzbot+c48f34012b06c4ac67dd@syzkaller.appspotmail.com >> >> Thanks. >> >> __handle_mm_fault >> ->pmd_migration_entry_wait >> ->migration_entry_to_page >> >> stumbled onto an unlocked page. >> >> I don't immediately see a cause. Perhaps Matthew's "THP prep patches", >> perhaps something else. >> >> Is it possible to perform a bisection? > > Maybe it's related to the new lock_page_async()? Shouldn't be used for any of those paths at all, though of course can't rule out a bug that triggers it somehow. A bisection would be nice. -- Jens Axboe