Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1787021lqm; Fri, 3 May 2024 06:41:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVjrBWmST3MB64mbMwWQYVsMq5xgyL+xOLfKl1fm/ikqBiIYBxVmcrQCk6j5mJ7fIPQDhv26nd7HnijHySf4bcrmzI0AUSk7tqwEoO9qw== X-Google-Smtp-Source: AGHT+IGbYRd7lPwcFK64KNKvdU5XNfTKbangX45tR+Jm41dydKP5EmNGJvq8cySYWS1PQHJr9uE5 X-Received: by 2002:a05:6a21:920d:b0:1af:86da:3f7 with SMTP id tl13-20020a056a21920d00b001af86da03f7mr1282733pzb.4.1714743698610; Fri, 03 May 2024 06:41:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714743698; cv=pass; d=google.com; s=arc-20160816; b=beWZyozkSPDpWRA4TNuquORQMAuKghSJrRdPHhHPcyuwiNjsrcto8bvbHUerqoaNkU a+n4Ix08s7hM4otgrbix4gCEqECuumOkgIMzPzOmRB5OxslBGQmu+PdL95Vgd5YAL31J +Iw0wwEwJGFzN0DkQsclLfUgMDfx5D/DQfKTn4h5QHBUThwsDNhAjitfnaTE3lVA69QN X8NeWVrhIY/vkgwaH8kznIPhe7n9iXz6jgUfjCXeuLvk4x2k0wxGfcvaOtdaM/E4vTC8 BroNuhPdK6YjZvYUNoxM4z1FhIusySs97rdKq0MxXORzsS2NE2oFFAxPY5ASt50YpQeD dEAQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:message-id:date:mime-version:list-unsubscribe :list-subscribe:list-id:precedence; bh=pHF73fXV9YBzhlAyLN1LlD3cj+yK8oEXzez72G9MWbY=; fh=qMAnqc70MjBOnCfRQwStzBMR2KYDGrOxvhEJu/CdB/k=; b=ti5ljCxbmWjMeP83aTeTgtcf6DBgf3sjzr/ECtApPG0T/nLHE0edYf7b3JsZkK0p9b irMQeBg8d+9wYPUPdcwMbZdWm8YPBx5cLRg8jOZGVePcdQnZ/wtpSz8G8rfHWFkhzkQG czM4mpaOfPD8qQx/0jaYouSo3UOJCemFYMrc4UDq9PdvR6HQo4LY2bMP8dFScx5Yhnhu 33di8T3vm+T/Usc6zaTuNahHDMDqNduzZib99LFmFjDHRJ7jkpXcwPSPATIB7a25Is2n ZRokLdT7Hog38tQA22JHCG6h32bsQpXEiqbkpcXMFyeMmjfErvofMBvX+RrpAXwoj6a+ MrVg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-kernel+bounces-167717-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167717-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q18-20020a656852000000b0061d6d5c71adsi1141443pgt.636.2024.05.03.06.41.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 06:41:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167717-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-kernel+bounces-167717-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167717-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 310F328403F for ; Fri, 3 May 2024 13:41:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C801A153BCE; Fri, 3 May 2024 13:41:30 +0000 (UTC) Received: from mail-il1-f200.google.com (mail-il1-f200.google.com [209.85.166.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D203E1474BF for ; Fri, 3 May 2024 13:41:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714743690; cv=none; b=VPnF9kprQrCMvE6WfNg6Y5Vq7Lq36GZwSHaG0UMsj+FwV20TJPRAu75MbWCIP0UvMcxXl1Hq55cWBWzzcbSs29zxFjjFr0eJAJ/BB5215GwnLIaznPXq6ENu14pAc2JI9MIsMzybdoaXHwLx7YmKnNkuip7P5gf5iVxbnqDWn1E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714743690; c=relaxed/simple; bh=YzBsIJFXDqLgDA3FCpHuVIFrGfe1FFzjhQ/UF8NhHI0=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=a3BGXVYNDMtORysPA42JEaCRD0qWIXtGIIEsB6yiZCW+LXX2RKyaqC729ohMNuc4siODhpmjN2IqJ+CNE9EU4FricVVz826D7nO++GAsvRVYAQIA5As4Q7gvNC1fCluvIVTpH+ZoNvU88xLQ8wrfD0bNnsQsO55JsqD2usuIfiU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.166.200 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-il1-f200.google.com with SMTP id e9e14a558f8ab-36c5d1c48d3so26748475ab.1 for ; Fri, 03 May 2024 06:41:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714743688; x=1715348488; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=pHF73fXV9YBzhlAyLN1LlD3cj+yK8oEXzez72G9MWbY=; b=FpysVhGcGCPaJJDOtfHC/X14rBRTnaJbygKgbKyxYm2waLIiUMbIb1bleLPry2HQie CdIJy3LSpexyL1MQp18gDHyUCmctl4jb+b8OkloJsJ3KkS85u0EjdG+jL/orzNvC+PzF worqeDppe2RBfXye1/t6dmXKfgp56UlvqxmZJ5YNFCewtkgcN/pBvXa4x/xu2SDbiCO5 nLk3GPQndluOAVPODEXt8R87lnuw5iZdUxziU2L+OoX9O1XWisAooKeulnKp9v5fP7EX s1QayMMA86YSTZZZjUhcwJOs54RIEKPmT+fhGvt8tAu1mt4Fp9mWWDuOm38oHi7ka1Fu 560Q== X-Forwarded-Encrypted: i=1; AJvYcCV9SMF5iLJP6WjdeS1Asr8jMgPNfNJd+DuNjyBvD2M7888f9rfYUEnWy127A9Bm6ERCVSZC0Gvyu2LRU59Ul9Z63Amyk1Z5fr/DxVVo X-Gm-Message-State: AOJu0YysavJ5sgoNysA9NGpnyp1yJ0swCajxrM6OhmKb2Cd5hTEHvzAp IURof+ZK2c5ekj4p2YO1ZXN0SgxV+8wAv2Bp15vB0Mk+1JSTitSkLbmSbIniZugCMuatmHVqbB+ vBuwzymp0tprIHydS4EdBoK7yPaCx9mmsUdhl8AIke6GUpkg9etCGOPM= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6e02:1389:b0:36c:4c3c:e16 with SMTP id d9-20020a056e02138900b0036c4c3c0e16mr93724ilo.2.1714743688106; Fri, 03 May 2024 06:41:28 -0700 (PDT) Date: Fri, 03 May 2024 06:41:28 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000006923bb06178ce04a@google.com> Subject: [syzbot] [mm?] [io-uring?] WARNING in hpage_collapse_scan_pmd (2) From: syzbot To: akpm@linux-foundation.org, axboe@kernel.dk, io-uring@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: e67572cd2204 Linux 6.9-rc6 git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=1067d2f8980000 kernel config: https://syzkaller.appspot.com/x/.config?x=3310e643b6ef5d69 dashboard link: https://syzkaller.appspot.com/bug?extid=5ea2845f44caa77f5543 compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10874a40980000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/d3c4905a7f32/disk-e67572cd.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/9e4d1fc8f9c1/vmlinux-e67572cd.xz kernel image: https://storage.googleapis.com/syzbot-assets/4616b77edaee/bzImage-e67572cd.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+5ea2845f44caa77f5543@syzkaller.appspotmail.com ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5288 at arch/x86/include/asm/pgtable.h:403 pte_uffd_wp arch/x86/include/asm/pgtable.h:403 [inline] WARNING: CPU: 1 PID: 5288 at arch/x86/include/asm/pgtable.h:403 hpage_collapse_scan_pmd+0xd32/0x14c0 mm/khugepaged.c:1316 Modules linked in: CPU: 1 PID: 5288 Comm: syz-executor.4 Not tainted 6.9.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:pte_uffd_wp arch/x86/include/asm/pgtable.h:403 [inline] RIP: 0010:hpage_collapse_scan_pmd+0xd32/0x14c0 mm/khugepaged.c:1316 Code: 90 90 e9 4b f6 ff ff 4c 8b 64 24 48 e8 f7 ee 9e ff 31 ff 4c 89 ee e8 fd e9 9e ff 4d 85 ed 0f 84 b5 01 00 00 e8 df ee 9e ff 90 <0f> 0b 90 41 be 09 00 00 00 0f b6 6c 24 47 48 8b 5c 24 10 e9 fb fa RSP: 0018:ffffc90003abf9b0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88807a402000 RCX: ffffffff81eed643 RDX: ffff888021ddbc00 RSI: ffffffff81eed651 RDI: 0000000000000007 RBP: 000000006897fc67 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000002 R12: 0000000020800000 R13: 0000000000000002 R14: 0000000000000400 R15: ffff88801e4dcc00 FS: 00007fd661dde6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7e57ed9ba1 CR3: 0000000025328000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: madvise_collapse+0x738/0xb10 mm/khugepaged.c:2761 madvise_vma_behavior+0x202/0x1b20 mm/madvise.c:1074 madvise_walk_vmas+0x1cf/0x2c0 mm/madvise.c:1248 do_madvise+0x309/0x640 mm/madvise.c:1428 __do_sys_madvise mm/madvise.c:1441 [inline] __se_sys_madvise mm/madvise.c:1439 [inline] __x64_sys_madvise+0xa9/0x110 mm/madvise.c:1439 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd66227dea9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd661dde0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007fd6623ac050 RCX: 00007fd66227dea9 RDX: 0000000000000019 RSI: 00000000dfc3efff RDI: 00000000203c1000 RBP: 00007fd6622ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fd6623ac050 R15: 00007ffd98c8dfa8 --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing. If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup