syzbot


BUG: Bad page map (5)
Status: upstream: reported on 2022/05/01 09:02
Reported-by: syzbot+915f3e317adb0e85835f@syzkaller.appspotmail.com
First crash: 50d, last: 6d06h
similar bugs (7):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: Bad page map (2) 10 134d 314d 0/1 auto-closed as invalid on 2022/05/13 11:22
upstream BUG: Bad page map (2) syz 127 1360d 1416d 0/22 closed as invalid on 2018/09/05 12:51
upstream BUG: Bad page map 1 1419d 1419d 0/22 closed as invalid on 2018/07/08 13:28
upstream BUG: Bad page map (3) 4 1229d 1355d 0/22 auto-closed as invalid on 2019/07/13 00:02
linux-4.19 BUG: Bad page map 2 631d 689d 0/1 auto-closed as invalid on 2021/01/01 08:20
upstream BUG: Bad page map (4) 39 175d 812d 0/22 auto-closed as invalid on 2022/04/02 04:25
linux-4.14 BUG: Bad page map 1 677d 677d 0/1 auto-closed as invalid on 2020/11/16 16:05

Sample crash report:
BUG: Bad page map in process syz-fuzzer  pte:ffffffff801110d3 pmd:231e6c01
addr:00007fff81ff5000 vm_flags:00100073 anon_vma:ffffaf800b744500 mapping:0000000000000000 index:7fff81ff5
file:(null) fault:0x0 mmap:0x0 readpage:0x0
CPU: 1 PID: 2020 Comm: syz-fuzzer Not tainted 5.17.0-rc1-syzkaller-00002-g0966d385830d #0
Hardware name: riscv-virtio,qemu (DT)
Call Trace:
[<ffffffff8000a228>] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:113
[<ffffffff831668cc>] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:119
[<ffffffff831756ba>] __dump_stack lib/dump_stack.c:88 [inline]
[<ffffffff831756ba>] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:106
[<ffffffff83175742>] dump_stack+0x1c/0x24 lib/dump_stack.c:113
[<ffffffff803cdcdc>] print_bad_pte+0x3d4/0x4a0 mm/memory.c:563
[<ffffffff803d1622>] vm_normal_page+0x20c/0x22a mm/memory.c:626
[<ffffffff803d8088>] do_numa_page mm/memory.c:4367 [inline]
[<ffffffff803d8088>] handle_pte_fault mm/memory.c:4577 [inline]
[<ffffffff803d8088>] __handle_mm_fault+0xdc8/0x23a4 mm/memory.c:4705
[<ffffffff803d98fa>] handle_mm_fault+0x296/0x674 mm/memory.c:4803
[<ffffffff8001188e>] do_page_fault+0x308/0xa3c arch/riscv/mm/fault.c:323
[<ffffffff80005724>] ret_from_exception+0x0/0x10

Crashes (8):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-qemu2-riscv64 2022/05/21 11:58 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 7268fa62 .config log report info BUG: Bad page map
ci-qemu2-riscv64 2022/05/19 02:06 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 50c53f39 .config log report info BUG: Bad page map
ci-qemu2-riscv64 2022/05/01 10:57 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 2df221f6 .config log report info BUG: Bad page map
ci-qemu2-riscv64 2022/05/01 09:02 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 2df221f6 .config log report info BUG: Bad page map
ci-qemu2-riscv64 2022/04/22 18:22 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 131df97d .config log report info BUG: Bad page map
ci-qemu2-riscv64 2022/04/22 01:43 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 2738b391 .config log report info BUG: Bad page map
ci-qemu2-riscv64 2022/04/20 07:43 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 7d7bc738 .config log report info BUG: Bad page map
ci-qemu2-riscv64 2022/04/07 12:30 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 53c67432 .config log report info BUG: Bad page map