syzbot


kernel BUG in __page_table_check_zero (2)

Status: upstream: reported C repro on 2024/10/31 04:54
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+ccc0e1cfdb72b664f0d8@syzkaller.appspotmail.com
First crash: 39d, last: 25d
Cause bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [mm?] kernel BUG in __page_table_check_zero (2) 6 (8) 2024/11/05 21:30
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 kernel BUG in __page_table_check_zero origin:lts-only C inconclusive 3 74d 535d 0/3 upstream: reported C repro on 2023/06/18 21:38
upstream kernel BUG in __page_table_check_zero usb C error done 213 76d 564d 28/28 fixed on 2024/10/22 13:24
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/11/24 02:27 1h01m retest repro upstream OK log
2024/10/31 11:17 26m hdanton@sina.com git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/ mm-hotfixes-unstable OK log

Sample crash report:
------------[ cut here ]------------
kernel BUG at mm/page_table_check.c:157!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 1 UID: 0 PID: 25991 Comm: syz.2.5898 Not tainted 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__page_table_check_zero+0x274/0x350 mm/page_table_check.c:157
Code: c1 0f 8c 39 fe ff ff 48 89 df e8 87 28 f3 ff e9 2c fe ff ff e8 3d 86 8c ff 90 0f 0b e8 35 86 8c ff 90 0f 0b e8 2d 86 8c ff 90 <0f> 0b f3 0f 1e fa 4c 89 f6 48 81 e6 ff 0f 00 00 31 ff e8 f5 8a 8c
RSP: 0018:ffffc900047076e0 EFLAGS: 00010293
RAX: ffffffff820853d3 RBX: dffffc0000000000 RCX: ffff888020b0bc00
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88801c9f404c
RBP: ffff88801c9f404c R08: ffff88801c9f404f R09: 1ffff1100393e809
R10: dffffc0000000000 R11: ffffed100393e80a R12: ffff88801c9f4000
R13: 1ffffffff3481db4 R14: 000000000000000a R15: 0000000000000000
FS:  00007efe273c76c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056418c62c088 CR3: 0000000034554000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 page_table_check_free include/linux/page_table_check.h:41 [inline]
 free_pages_prepare mm/page_alloc.c:1109 [inline]
 __free_pages_ok+0xaa5/0xc70 mm/page_alloc.c:1250
 dec_usb_memory_use_count+0x259/0x350 drivers/usb/core/devio.c:198
 mmap_region+0x2073/0x2940 mm/mmap.c:1577
 do_mmap+0x8f0/0x1000 mm/mmap.c:496
 vm_mmap_pgoff+0x1dd/0x3d0 mm/util.c:588
 ksys_mmap_pgoff+0x4eb/0x720 mm/mmap.c:542
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7efe2657e719
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007efe273c7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007efe26736130 RCX: 00007efe2657e719
RDX: 000000000000000f RSI: 0000000000400000 RDI: 0000000020000000
RBP: 00007efe265f139e R08: 0000000000000006 R09: 0000000000000000
R10: 0000000000011012 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007efe26736130 R15: 00007ffdc7076b28
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__page_table_check_zero+0x274/0x350 mm/page_table_check.c:157
Code: c1 0f 8c 39 fe ff ff 48 89 df e8 87 28 f3 ff e9 2c fe ff ff e8 3d 86 8c ff 90 0f 0b e8 35 86 8c ff 90 0f 0b e8 2d 86 8c ff 90 <0f> 0b f3 0f 1e fa 4c 89 f6 48 81 e6 ff 0f 00 00 31 ff e8 f5 8a 8c
RSP: 0018:ffffc900047076e0 EFLAGS: 00010293
RAX: ffffffff820853d3 RBX: dffffc0000000000 RCX: ffff888020b0bc00
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88801c9f404c
RBP: ffff88801c9f404c R08: ffff88801c9f404f R09: 1ffff1100393e809
R10: dffffc0000000000 R11: ffffed100393e80a R12: ffff88801c9f4000
R13: 1ffffffff3481db4 R14: 000000000000000a R15: 0000000000000000
FS:  00007efe273c76c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f28ab667d60 CR3: 0000000034554000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (32):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/06 10:06 upstream 2e1b3cc9d7f7 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root kernel BUG in __page_table_check_zero
2024/11/05 19:54 upstream 2e1b3cc9d7f7 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce kernel BUG in __page_table_check_zero
2024/11/05 13:53 upstream 2e1b3cc9d7f7 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce kernel BUG in __page_table_check_zero
2024/11/04 04:09 upstream a33ab3f94f51 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce kernel BUG in __page_table_check_zero
2024/11/03 11:57 upstream 3e5e6c9900c3 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce kernel BUG in __page_table_check_zero
2024/11/03 03:07 upstream 11066801dd4b f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce kernel BUG in __page_table_check_zero
2024/11/03 02:51 upstream 11066801dd4b f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in __page_table_check_zero
2024/11/03 02:06 upstream 11066801dd4b f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root kernel BUG in __page_table_check_zero
2024/11/02 23:40 upstream 11066801dd4b f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in __page_table_check_zero
2024/11/02 18:49 upstream 11066801dd4b f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce kernel BUG in __page_table_check_zero
2024/11/02 14:02 upstream 11066801dd4b f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in __page_table_check_zero
2024/11/02 08:43 upstream 11066801dd4b f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root kernel BUG in __page_table_check_zero
2024/11/02 04:18 upstream 6c52d4da1c74 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root kernel BUG in __page_table_check_zero
2024/11/02 01:12 upstream 6c52d4da1c74 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce kernel BUG in __page_table_check_zero
2024/11/01 23:08 upstream 6c52d4da1c74 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce kernel BUG in __page_table_check_zero
2024/10/31 10:40 upstream 4236f913808c fb888278 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce kernel BUG in __page_table_check_zero
2024/10/31 10:27 upstream 4236f913808c fb888278 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce kernel BUG in __page_table_check_zero
2024/10/31 02:58 upstream 4236f913808c fb888278 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root kernel BUG in __page_table_check_zero
2024/10/30 19:51 upstream c1e939a21eb1 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root kernel BUG in __page_table_check_zero
2024/10/30 16:15 upstream c1e939a21eb1 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce kernel BUG in __page_table_check_zero
2024/10/30 13:37 upstream c1e939a21eb1 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in __page_table_check_zero
2024/10/30 08:54 upstream c1e939a21eb1 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce kernel BUG in __page_table_check_zero
2024/10/30 08:02 upstream c1e939a21eb1 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce kernel BUG in __page_table_check_zero
2024/10/29 16:31 upstream e42b1a9a2557 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce kernel BUG in __page_table_check_zero
2024/10/27 05:05 upstream 850925a8133c 65e8686b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in __page_table_check_zero
2024/10/27 04:51 upstream 850925a8133c 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in __page_table_check_zero
2024/11/10 02:15 upstream da4373fbcf00 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 kernel BUG in __page_table_check_zero
2024/11/09 11:29 upstream 50643bbc9eb6 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 kernel BUG in __page_table_check_zero
2024/11/06 14:54 upstream 2e1b3cc9d7f7 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 kernel BUG in __page_table_check_zero
2024/11/06 08:42 upstream 2e1b3cc9d7f7 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 kernel BUG in __page_table_check_zero
2024/11/05 16:04 upstream 2e1b3cc9d7f7 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 kernel BUG in __page_table_check_zero
2024/11/03 11:12 upstream 3e5e6c9900c3 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 kernel BUG in __page_table_check_zero
* Struck through repros no longer work on HEAD.