syzbot


kernel BUG in __page_table_check_zero

Status: upstream: reported C repro on 2023/05/21 16:20
Subsystems: usb
[Documentation on labels]
Reported-by: syzbot+7a9bbb158a7a1071eb27@syzkaller.appspotmail.com
First crash: 342d, last: 6d23h
Cause bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [mm?] kernel BUG in __page_table_check_zero 0 (4) 2023/11/10 18:06
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 kernel BUG in __page_table_check_zero origin:upstream C 3 3d03h 310d 0/3 upstream: reported C repro on 2023/06/18 21:38
Last patch testing requests (13)
Created Duration User Patch Repo Result
2024/03/31 09:48 24m retest repro upstream error OK
2024/03/31 09:48 23m retest repro upstream error OK
2024/03/12 00:26 17m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/02/26 05:26 20m retest repro upstream report log
2024/01/31 23:40 23m retest repro upstream report log
2024/01/31 23:40 21m retest repro linux-next error OK
2024/01/17 12:30 25m retest repro upstream report log
2023/11/28 10:43 33m retest repro upstream report log
2023/11/14 08:56 15m retest repro upstream report log
2023/11/14 08:56 27m retest repro linux-next report log
2023/11/10 18:06 20m yuran.pereira@hotmail.com patch https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git master error OK
2023/11/10 17:28 21m yuran.pereira@hotmail.com patch https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git master error OK
2023/11/10 15:22 14m yuran.pereira@hotmail.com patch https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git master report log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2024/01/03 10:15 1h52m bisect fix upstream job log (0) log
Cause bisection attempts (2)
Created Duration User Patch Repo Result
2023/11/25 11:59 12h09m bisect upstream error job log (0)
2023/05/18 06:36 12h04m bisect upstream error job log (0)
marked invalid by nogikh@google.com

Sample crash report:
------------[ cut here ]------------
kernel BUG at mm/page_table_check.c:146!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 0 PID: 5069 Comm: syz-executor210 Not tainted 6.8.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
RIP: 0010:__page_table_check_zero+0x2d8/0x4a0 mm/page_table_check.c:146
Code: ff cb e9 b5 fd ff ff e8 e6 36 92 ff 48 ff cb e9 27 fe ff ff e8 d9 36 92 ff 90 0f 0b e8 d1 36 92 ff 90 0f 0b e8 c9 36 92 ff 90 <0f> 0b f3 0f 1e fa 4c 89 f6 48 81 e6 ff 0f 00 00 31 ff e8 91 3b 92
RSP: 0018:ffffc900039d7998 EFLAGS: 00010293
RAX: ffffffff82013577 RBX: dffffc0000000000 RCX: ffff888024579dc0
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff888018c3c04c
RBP: ffff888018c3c04c R08: ffff888018c3c04f R09: 1ffff11003187809
R10: dffffc0000000000 R11: ffffed100318780a R12: 0000000000000000
R13: 1ffffffff289dac4 R14: 000000000000000a R15: ffff888018c3c000
FS:  0000555555aad380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fffb24d4020 CR3: 00000000227f0000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 page_table_check_free include/linux/page_table_check.h:41 [inline]
 free_pages_prepare mm/page_alloc.c:1141 [inline]
 __free_pages_ok+0xc56/0xd70 mm/page_alloc.c:1269
 dec_usb_memory_use_count+0x259/0x350 drivers/usb/core/devio.c:198
 mmap_region+0x134c/0x1fa0 mm/mmap.c:2949
 do_mmap+0x7ae/0xe60 mm/mmap.c:1379
 vm_mmap_pgoff+0x1e2/0x420 mm/util.c:556
 ksys_mmap_pgoff+0x503/0x6e0 mm/mmap.c:1425
 do_syscall_64+0xf9/0x240
 entry_SYSCALL_64_after_hwframe+0x6f/0x77
RIP: 0033:0x7f33b7db90e9
Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fffb243a9c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007fffb243aba8 RCX: 00007f33b7db90e9
RDX: 0000000002000007 RSI: 0000000000400000 RDI: 0000000020000000
RBP: 00007f33b7e2c610 R08: 0000000000000003 R09: 0000000000000000
R10: 0000000000000012 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fffb243ab98 R14: 0000000000000001 R15: 0000000000000001
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__page_table_check_zero+0x2d8/0x4a0 mm/page_table_check.c:146
Code: ff cb e9 b5 fd ff ff e8 e6 36 92 ff 48 ff cb e9 27 fe ff ff e8 d9 36 92 ff 90 0f 0b e8 d1 36 92 ff 90 0f 0b e8 c9 36 92 ff 90 <0f> 0b f3 0f 1e fa 4c 89 f6 48 81 e6 ff 0f 00 00 31 ff e8 91 3b 92
RSP: 0018:ffffc900039d7998 EFLAGS: 00010293
RAX: ffffffff82013577 RBX: dffffc0000000000 RCX: ffff888024579dc0
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff888018c3c04c
RBP: ffff888018c3c04c R08: ffff888018c3c04f R09: 1ffff11003187809
R10: dffffc0000000000 R11: ffffed100318780a R12: 0000000000000000
R13: 1ffffffff289dac4 R14: 000000000000000a R15: ffff888018c3c000
FS:  0000555555aad380(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000080 CR3: 00000000227f0000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (38):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/12 05:13 upstream 841c35169323 77b23aa1 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce kernel BUG in __page_table_check_zero
2023/10/04 05:45 upstream cbf3a2cb156a 65faba36 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root kernel BUG in __page_table_check_zero
2023/06/23 15:07 upstream 8a28a0b6f1a1 09ffe269 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in __page_table_check_zero
2023/05/18 06:32 upstream 1b66c114d161 3bb7af1d .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce kernel BUG in __page_table_check_zero
2023/08/03 02:58 linux-next 626c67169f99 39a91c18 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __page_table_check_zero
2024/02/26 19:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9abbc24128bc edd6a5e9 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in __page_table_check_zero
2024/04/05 21:31 upstream fe46a7dd189e 18ea8213 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in __page_table_check_zero
2024/04/05 19:16 upstream fe46a7dd189e 18ea8213 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root kernel BUG in __page_table_check_zero
2024/04/05 18:49 upstream fe46a7dd189e 18ea8213 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root kernel BUG in __page_table_check_zero
2024/04/05 18:47 upstream 480e035fc4c7 18ea8213 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce kernel BUG in __page_table_check_zero
2024/03/14 21:08 upstream 480e035fc4c7 d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce kernel BUG in __page_table_check_zero
2024/02/12 04:47 upstream 841c35169323 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce kernel BUG in __page_table_check_zero
2023/10/16 17:06 upstream 58720809f527 6388bc36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in __page_table_check_zero
2023/09/24 17:39 upstream 3aba70aed91f 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in __page_table_check_zero
2024/04/05 20:03 upstream fe46a7dd189e 18ea8213 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 kernel BUG in __page_table_check_zero
2024/04/17 12:51 upstream 96fca68c4fbf 18f6e127 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat kernel BUG in __page_table_check_zero
2023/07/29 09:11 upstream f837f0a3c948 92476829 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root kernel BUG in __page_table_check_zero
2023/06/29 17:35 upstream 6e2332e0ab53 134ddc02 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream kernel BUG in __page_table_check_zero
2023/06/24 05:43 upstream 61dabacdad4e 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce kernel BUG in __page_table_check_zero
2023/05/23 08:23 upstream 421ca22e3138 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce kernel BUG in __page_table_check_zero
2023/05/18 06:09 upstream 1b66c114d161 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce kernel BUG in __page_table_check_zero
2023/07/18 00:53 upstream fdf0eaf11452 20f8b3c2 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in __page_table_check_zero
2023/06/29 13:45 upstream 6e2332e0ab53 134ddc02 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in __page_table_check_zero
2023/06/15 18:44 upstream b6dad5178cea ee64538c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in __page_table_check_zero
2023/06/12 08:12 upstream 4c605260bc60 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 kernel BUG in __page_table_check_zero
2023/06/11 14:32 upstream 022ce8862dff 49519f06 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in __page_table_check_zero
2023/05/20 23:13 upstream d635f6cc934b 4bce1a3e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in __page_table_check_zero
2024/04/05 18:56 linux-next 8568bb2ccc27 18ea8213 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __page_table_check_zero
2023/12/03 06:51 linux-next 5eda217cee88 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __page_table_check_zero
2024/04/17 05:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci b5d2afe8745b 18f6e127 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in __page_table_check_zero
2024/04/05 18:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 707081b61156 18ea8213 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in __page_table_check_zero
2023/07/30 19:43 linux-next d7b3af5a77e8 2a0d0f29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in __page_table_check_zero
2023/08/07 19:45 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 86d7896480b0 0ef3dfda .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in __page_table_check_zero
2023/08/04 13:17 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2642b8a18760 74621247 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in __page_table_check_zero
2023/07/28 12:52 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6eaae1980760 92476829 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in __page_table_check_zero
2023/07/27 04:32 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 05d881b85b48 41fe1bae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in __page_table_check_zero
2023/06/17 07:49 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 177239177378 f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in __page_table_check_zero
2023/05/20 17:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci f1fcbaa18b28 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in __page_table_check_zero
* Struck through repros no longer work on HEAD.