From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f80.google.com (mail-ot1-f80.google.com [209.85.210.80]) (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 3BCCF3E6DE2 for ; Wed, 18 Mar 2026 15:03:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.80 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773846207; cv=none; b=koX46b22F+otJD5qP5xDZwNOkmm7h9a7PM6YVh2GRFFUIakdEmWzbaWknTmJfLJyI2iXPpyHD/47QlKNLLkWsbNXnMrKZXS/D+QnV7XACFkRYK5LEKX4kldfC5D/fbhXUod26yTWE2Sq3UOfAgcVbwyfSVZhawVv27xZXFue8aU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773846207; c=relaxed/simple; bh=5Ud5CT2mtY2UGvJVWWH9EwkKU3Oni3FmmWHQjYCU28I=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=ONB9sb9zO0NObDAMFhD2M9r/SBU17tmUX7FSWdk6niXPtxMWj3MA+cu0WkTtiyVimI/MKvU0Y7wKXh/eZb6qEJM6zHVlYfWCJm5HV7IWHUoTpGexljfidrRnW8HYnzLfgRGvJb5ybuuqyUPO7jnO9eEEzgURPRiRgjohJReV3As= 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.210.80 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-ot1-f80.google.com with SMTP id 46e09a7af769-7d74be44ccdso6920746a34.1 for ; Wed, 18 Mar 2026 08:03:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773846203; x=1774451003; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=448yYbzRRxq6bdAx7wW1zfDT2Iu6eXFzWfA4H8JFuxY=; b=sJHaZK3STw0aNnAyaYqAedITRlwiBawhrs9Y4O8uy+2RFJiNUae6KDtBbKg1VVAbkU bSKuulve+RxrJ1m6f65BqSnM09rhTjj3nwuL2576JR/EKulHS/ag1e0/Ssxa5gDK2UqJ ofCoKcn2x/Hdb1VDRsh8oNi4Ubh7AoU3dY8fwMXKjxcCSiFAbosHtEbkdbhyCXV1lZFM P71mmsvv7QwSTgRZmWxhY7vpDhclOx3Ut8oO/xBK6LcSr+MbZxEW9hgonDrnbFbHT/WH qOdFSoNI8+S9s0RWTJ6oECWyVrJgtgPgUhiNUkxrU6p35cmAQ/LrpzH8x4rbM4a6Lhcy UiDQ== X-Forwarded-Encrypted: i=1; AJvYcCXvHCFkDkmrARZjY7Ln/AVrTwC3KoFqdOLJtCrjAASWwdeSqx5E/bLU4MABwQD1r8GCgR0qIofYwFJaA3E=@vger.kernel.org X-Gm-Message-State: AOJu0YxLvGsQBLxygm4XKlRcU5WbXs85XIuwnMVrRBDjtjZsA3VXif1k 4k72XGUnPhPRpyYYep3AmBMjfTrAGzQzTpyrCqlSO0A4NqEoV5bQzLogsP3Z5HEtQii/SFMvqVM IsNQPGyDc+MWyLLAkM7YjJ9upSf8pVEWE6aoimo5pUlQRYnjKRWYTlPbqhCI= 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:6808:16a5:b0:455:d3f2:4bf9 with SMTP id 5614622812f47-467ba4167e8mr2193966b6e.30.1773846202215; Wed, 18 Mar 2026 08:03:22 -0700 (PDT) Date: Wed, 18 Mar 2026 08:03:22 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69babeba.050a0220.1b2d94.0003.GAE@google.com> Subject: [syzbot] [mm?] general protection fault in zap_huge_pmd From: syzbot To: Liam.Howlett@oracle.com, akpm@linux-foundation.org, baohua@kernel.org, baolin.wang@linux.alibaba.com, david@kernel.org, dev.jain@arm.com, lance.yang@linux.dev, linux-kernel@vger.kernel.org, linux-mm@kvack.org, ljs@kernel.org, npache@redhat.com, ryan.roberts@arm.com, syzkaller-bugs@googlegroups.com, ziy@nvidia.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: b84a0ebe421c Add linux-next specific files for 20260313 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=119ddd52580000 kernel config: https://syzkaller.appspot.com/x/.config?x=e7280ad1f68b2dce dashboard link: https://syzkaller.appspot.com/bug?extid=de14f7701c22477db718 compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=173b44da580000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1537b8da580000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/09145161a8a9/disk-b84a0ebe.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/b64c254e474c/vmlinux-b84a0ebe.xz kernel image: https://storage.googleapis.com/syzbot-assets/a7c33f5f7f45/bzImage-b84a0ebe.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+de14f7701c22477db718@syzkaller.appspotmail.com Oops: general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] CPU: 1 UID: 0 PID: 5994 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 RIP: 0010:folio_test_anon include/linux/page-flags.h:718 [inline] RIP: 0010:zap_huge_pmd+0x7b1/0x1030 mm/huge_memory.c:2463 Code: 08 00 00 e8 11 e0 92 ff 48 c7 44 24 10 00 00 00 00 4c 8b 3c 24 4c 8d 75 18 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 f7 e8 f1 43 fc ff 49 8b 1e 48 89 de 48 83 RSP: 0018:ffffc90003bb7550 EFLAGS: 00010206 RAX: 0000000000000003 RBX: f000000000000000 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000003 RBP: 0000000000000000 R08: ffff88807cc9802f R09: 1ffff1100f993005 R10: dffffc0000000000 R11: ffffed100f993006 R12: ffff88807cc98028 R13: fffffffffffffa00 R14: 0000000000000018 R15: ffffc90003bb7ac0 FS: 0000000000000000(0000) GS:ffff888124ee0000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000000000c0 CR3: 000000000e94a000 CR4: 00000000003526f0 Call Trace: zap_pmd_range mm/memory.c:1990 [inline] zap_pud_range mm/memory.c:2032 [inline] zap_p4d_range mm/memory.c:2053 [inline] __zap_vma_range+0xa82/0x4bd0 mm/memory.c:2093 unmap_vmas+0x379/0x530 mm/memory.c:2162 exit_mmap+0x280/0xa10 mm/mmap.c:1302 __mmput+0x118/0x430 kernel/fork.c:1180 exit_mm+0x18e/0x250 kernel/exit.c:581 do_exit+0x8b9/0x2490 kernel/exit.c:962 do_group_exit+0x21b/0x2d0 kernel/exit.c:1116 __do_sys_exit_group kernel/exit.c:1127 [inline] __se_sys_exit_group kernel/exit.c:1125 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1125 x64_sys_call+0x221a/0x2240 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdd0b39c799 Code: Unable to access opcode bytes at 0x7fdd0b39c76f. RSP: 002b:00007fff630f1d78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fdd0b39c799 RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000003 R08: 0000000000000000 R09: 00007fdd0b5e63e0 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fdd0b5e63e0 R14: 0000000000000003 R15: 00007fff630f1e30 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:folio_test_anon include/linux/page-flags.h:718 [inline] RIP: 0010:zap_huge_pmd+0x7b1/0x1030 mm/huge_memory.c:2463 Code: 08 00 00 e8 11 e0 92 ff 48 c7 44 24 10 00 00 00 00 4c 8b 3c 24 4c 8d 75 18 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 f7 e8 f1 43 fc ff 49 8b 1e 48 89 de 48 83 RSP: 0018:ffffc90003bb7550 EFLAGS: 00010206 RAX: 0000000000000003 RBX: f000000000000000 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000003 RBP: 0000000000000000 R08: ffff88807cc9802f R09: 1ffff1100f993005 R10: dffffc0000000000 R11: ffffed100f993006 R12: ffff88807cc98028 R13: fffffffffffffa00 R14: 0000000000000018 R15: ffffc90003bb7ac0 FS: 0000000000000000(0000) GS:ffff888124ee0000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000000000c0 CR3: 000000000e94a000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: 08 00 or %al,(%rax) 2: 00 e8 add %ch,%al 4: 11 e0 adc %esp,%eax 6: 92 xchg %eax,%edx 7: ff 48 c7 decl -0x39(%rax) a: 44 24 10 rex.R and $0x10,%al d: 00 00 add %al,(%rax) f: 00 00 add %al,(%rax) 11: 4c 8b 3c 24 mov (%rsp),%r15 15: 4c 8d 75 18 lea 0x18(%rbp),%r14 19: 4c 89 f0 mov %r14,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 4c 89 f7 mov %r14,%rdi 33: e8 f1 43 fc ff call 0xfffc4429 38: 49 8b 1e mov (%r14),%rbx 3b: 48 89 de mov %rbx,%rsi 3e: 48 rex.W 3f: 83 .byte 0x83 --- 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