Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1520385lqp; Mon, 15 Apr 2024 08:43:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXkWPtqrOIE/ffUm5Fz3lBILq6RCsZiCbLvP+nHDo4RYdi+kJcl6LXK10bPrZDxTRuiNntWUa6U5S10w5LAytGxy5BbJV72EDMcjhTQ+A== X-Google-Smtp-Source: AGHT+IFjV+aDDhxrby4rhqSKE3FlkBZ/PZzI0j8ECE0F5dZ1PvF3nxMSTcAJAqztPbnMjIdNeE7/ X-Received: by 2002:a05:622a:189f:b0:432:e7ae:16ec with SMTP id v31-20020a05622a189f00b00432e7ae16ecmr13172302qtc.43.1713195819956; Mon, 15 Apr 2024 08:43:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713195819; cv=pass; d=google.com; s=arc-20160816; b=zB+Eb/7dKKtmPE4aAXfC6t3n3q1tFRFIcKxCgnqOzX69307ns0cYUYUx1kGBVyBejR zbR07ONcSd46FPUXNP0VbB7j9Uj48NDwydd+Won6KjbliPz7nAWuRLX+2S4A5Qr3yv4A u/UAHc+YIPRMv8eqIC8yzaNB2mR3NxnNHzy9tlXJoOnd+8KJAScp73QULr8eNnKLHGPR KCRJS3HJukQOaVkm7eb+iWkBJJU+LfwsjYo6d8xUBxXHj2Rm6fxgit2o6GFvuufnAA0Y +WXRT3L5wHDVdAkRG+hMH0CW7yZgznrAJM6bZZN9QJ8lpFSbs7wYCcdp0hdqkd3l+HIf RMBw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=zKI8JI2JVtueDvfCh2ciyoRp7Mesn9PR1z6aZyw0Ixo=; fh=wf69yc1ep+ZGcMcW8GM/zTxoZfiGYH30YGAQYbXceA0=; b=UY9wTTnWUjWz0DdacG/ndz1TznHHPWDu0SN5udYLPMxbQQbpa/qxMa8war0sbXHBz0 8Uip24GcDOXsTR+7v3K7t9EcBhJoIxk9QS/XdyDkIyXzHw7nYDnEq7mu7BZXrVGHh9hv Xaiz3IF+8H2tmmG0Ojdmrx8BdSihG9QbJvh2sPfKbjjt2mRTjePl0lBmmmrTpFfETUSg t0jozPG40VQsWPWyeW96xqC7+Mjgybp1d3j8F/ejTAQV2qnRrRQd5OH1Mw5k695mOhXt twfT61eituABnI9uGT4CZWcRcQUUdyPSHHiHD20KjbPHdVUTCuL7d41DAvkpBrC6YbwY JB/w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=CPXQTqaw; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-145479-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145479-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t27-20020a05622a181b00b004364bdb0364si10505398qtc.515.2024.04.15.08.43.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 08:43:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-145479-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=CPXQTqaw; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-145479-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145479-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id ACE4C1C20DA8 for ; Mon, 15 Apr 2024 15:43:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 99F957A702; Mon, 15 Apr 2024 15:43:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="CPXQTqaw" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3A960745FA for ; Mon, 15 Apr 2024 15:43:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713195804; cv=none; b=VxfFBfypdYGgmQwfby71ATuWmDPeGP6MtuJu/QvHUZvcGOH2+oVMXGCVlnc0340soyTDeQk8yobjIstCCBLIzZMQUhTfeBq9nAwEjnBnVq+JVmgb8fL3Srkk9605XUsDPAHepyQ1mSI06zQZcpqqj6lNk2EUsz2EH3tYF/yBYL8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713195804; c=relaxed/simple; bh=RW3d7vTJghgiMV437lhTjGgUKySV6NdqsxYM3udeZKQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=aTw62FHWpHa2jfIUk7KVi1zMrJL4FM/KfG8rRPd5t3B3nJPDWtmxG73z3ZvGp4jzEadR9Ni7H6R/rTdNEimPA0iPVTVBVC6tc2q+F9Zt7i0FWltdAMDJByEBCMPe5QhftviHTI9+GjfcPbFDYz6StmPF9gQI7rdMcItKphyctRs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=CPXQTqaw; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1713195802; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zKI8JI2JVtueDvfCh2ciyoRp7Mesn9PR1z6aZyw0Ixo=; b=CPXQTqawcmzrsTLTIz2hoZg/cHli2uvB2tN5eCqkhADjX6aOqCcv0a9Mi51UKx9XwpQRQ0 1hcewBSngLSMybcW9wDOMoZS8klxXcW9g6SmlAJXxiAMqwh03/Zdk9Q3GMslhbw5V6tZXG DU+SVve/AYaHlpTnhK/p9nPVRFI2Qgs= Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-465-mTipFDouN72LIau7fSngZA-1; Mon, 15 Apr 2024 11:43:20 -0400 X-MC-Unique: mTipFDouN72LIau7fSngZA-1 Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-78ec9b4f850so40058485a.0 for ; Mon, 15 Apr 2024 08:43:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713195800; x=1713800600; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=zKI8JI2JVtueDvfCh2ciyoRp7Mesn9PR1z6aZyw0Ixo=; b=E4NaRpnI75TCvPYNObm/SrslOPypgcfgAOU3NQ1vP/QOzu5cXB4werHiZhSAuuKLKy vArT+K9n922UHvAgPUoP890/jzngshlkLHJGY8+Cx23gZUiWvP0FCcd6774wl4lw7gze R3RZAmFO8w2KVRnrV22b2PY+zFexkczKhXfe0pvJh1dfMvjmFQQ4tSfjOKqazbkxjgyT 1XUyEmfX4wcwUwLvgodxwmIiEa0wbNxxkj9OotjbLUkoL4ZC9Vg569Pyd1RK4jXgo/uR zf3J7J/xJJAbPaB5u06pbAsjuAAay+EQGN5OFnAbfm1jTfvRf0RzVNB03JMIOS0uKCH5 u7pg== X-Forwarded-Encrypted: i=1; AJvYcCXSEaddJymqJ/LIF+4+Xi5dDF4yA4pSKOueIJYg6NsytQ1bppiIyE4VW+QMNsFH42BYqZYNc9PcdWtsfpTQi1+qj1bW9XzaRpPJmQYQ X-Gm-Message-State: AOJu0Yxe4ZMpLo2TI+p/vlPqlrsEyMD8lFKiNQND7/qed4GhF1vP6IZe XYEN94LEhmaJjS1PnRkgaFQVazjKFpWlnXkk5i9W5j5PoYW9ZzqFWW/jNnS7cFXY800XWujFrCT qPlElffCcoXfFZVZNsq81Y3cglw83Jj7F38mcn3DW0g0CZT3qs4LeDMElIoThUA== X-Received: by 2002:a05:620a:248a:b0:78d:7760:e797 with SMTP id i10-20020a05620a248a00b0078d7760e797mr12240616qkn.2.1713195799908; Mon, 15 Apr 2024 08:43:19 -0700 (PDT) X-Received: by 2002:a05:620a:248a:b0:78d:7760:e797 with SMTP id i10-20020a05620a248a00b0078d7760e797mr12240592qkn.2.1713195799358; Mon, 15 Apr 2024 08:43:19 -0700 (PDT) Received: from x1n (pool-99-254-121-117.cpe.net.cable.rogers.com. [99.254.121.117]) by smtp.gmail.com with ESMTPSA id v27-20020a05620a123b00b0078eec8445dbsm854807qkj.47.2024.04.15.08.43.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 08:43:19 -0700 (PDT) Date: Mon, 15 Apr 2024 11:43:17 -0400 From: Peter Xu To: Andrew Morton Cc: syzbot , linux-kernel@vger.kernel.org, linux-mm@kvack.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [mm?] WARNING in try_to_migrate_one (2) Message-ID: References: <0000000000001a87b90613389171@google.com> <000000000000dce0530615c89210@google.com> <20240411125513.b779991117a4dea92ce77269@linux-foundation.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20240411125513.b779991117a4dea92ce77269@linux-foundation.org> On Thu, Apr 11, 2024 at 12:55:13PM -0700, Andrew Morton wrote: > On Wed, 10 Apr 2024 19:04:21 -0700 syzbot wrote: > > > syzbot has found a reproducer for the following issue on: > > Thanks. > > > HEAD commit: 480e035fc4c7 Merge tag 'drm-next-2024-03-13' of https://gi.. > > git tree: upstream > > console+strace: https://syzkaller.appspot.com/x/log.txt?x=14db82bd180000 > > kernel config: https://syzkaller.appspot.com/x/.config?x=1e5b814e91787669 > > dashboard link: https://syzkaller.appspot.com/bug?extid=ddf4b4c0005944105a9e > > compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=13111a4d180000 > > Seems to be userfaultfd related. > > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=156ae155180000 I can't easily trigger with the reproducer, neither did I get more information from the syzbot reproducer, and it doesn't include an UFFDIO_REGISTER. Before go reading more on syzbot itself on this specific reproducer, I'll see whether I can come up with something better than commit c2da319c2e2: I don't remember the details why I didn't do the sanity check when updating the pgtable rather than walking it. I'll give it a shot this time. Thanks, -- Peter Xu