syzbot


BUG: Bad page map (2)

Status: auto-obsoleted due to no activity on 2024/01/10 02:50
Reported-by: syzbot+cd81a73cbdc189497261@syzkaller.appspotmail.com
First crash: 199d, last: 199d
Similar bugs (14)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 BUG: Bad page map 1 417d 417d 0/2 auto-obsoleted due to no activity on 2023/06/05 15:46
linux-4.19 BUG: Bad page map (3) 1 649d 649d 0/1 auto-obsoleted due to no activity on 2022/11/15 21:40
upstream BUG: Bad page map (5) mm io-uring C 35 469d 727d 22/26 fixed on 2023/02/24 13:50
linux-4.19 BUG: Bad page map (2) 10 835d 1016d 0/1 auto-closed as invalid on 2022/05/13 11:22
upstream BUG: Bad page map (2) mm syz 127 2061d 2117d 0/26 closed as invalid on 2018/09/05 12:51
upstream BUG: Bad page map mm 1 2120d 2120d 0/26 closed as invalid on 2018/07/08 13:28
upstream BUG: Bad page map (3) kernel 4 1931d 2056d 0/26 auto-closed as invalid on 2019/07/13 00:02
linux-4.19 BUG: Bad page map 2 1332d 1391d 0/1 auto-closed as invalid on 2021/01/01 08:20
upstream BUG: Bad page map (7) mm C done 19 209d 231d 25/26 fixed on 2023/12/21 03:45
android-54 BUG: Bad page map (2) 7 198d 316d 0/2 auto-obsoleted due to no activity on 2024/01/10 18:32
upstream BUG: Bad page map (4) mm 39 877d 1513d 0/26 auto-closed as invalid on 2022/04/02 04:25
linux-4.14 BUG: Bad page map 1 1378d 1378d 0/1 auto-closed as invalid on 2020/11/16 16:05
upstream BUG: Bad page map (6) mm 1 383d 379d 0/26 auto-obsoleted due to no activity on 2023/07/09 13:20
android-54 BUG: Bad page map 1 612d 612d 0/2 auto-obsoleted due to no activity on 2022/12/23 04:05

Sample crash report:
swap_info_get: Bad swap offset entry 3ffffff7fffff
BUG: Bad page map in process syz-executor.3  pte:100000000 pmd:160db0067
addr:0000000020201000 vm_flags:00100077 anon_vma:ffff888175650da8 mapping:0000000000000000 index:20201
file:(null) fault:0x0 mmap:0x0 readpage:0x0
CPU: 0 PID: 13896 Comm: syz-executor.3 Not tainted 5.10.194-syzkaller-00508-ga27512601c2d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118
 dump_stack+0x15/0x17 lib/dump_stack.c:135
 print_bad_pte+0x543/0x560 mm/memory.c:567
 zap_pte_range mm/memory.c:1364 [inline]
 zap_pmd_range mm/memory.c:1434 [inline]
 zap_pud_range mm/memory.c:1463 [inline]
 zap_p4d_range mm/memory.c:1484 [inline]
 unmap_page_range+0x17f2/0x23b0 mm/memory.c:1505
 unmap_single_vma mm/memory.c:1550 [inline]
 unmap_vmas+0x37f/0x4f0 mm/memory.c:1582
 exit_mmap+0x2f2/0x5c0 mm/mmap.c:3350
 __mmput+0x95/0x2d0 kernel/fork.c:1145
 mmput+0x59/0x170 kernel/fork.c:1168
 exit_mm kernel/exit.c:537 [inline]
 do_exit+0xbda/0x2a50 kernel/exit.c:848
 do_group_exit+0x141/0x310 kernel/exit.c:983
 get_signal+0x10a0/0x1410 kernel/signal.c:2782
 arch_do_signal_or_restart+0xbd/0x17c0 arch/x86/kernel/signal.c:805
 handle_signal_work kernel/entry/common.c:145 [inline]
 exit_to_user_mode_loop+0x9b/0xd0 kernel/entry/common.c:169
 exit_to_user_mode_prepare kernel/entry/common.c:199 [inline]
 syscall_exit_to_user_mode+0xc5/0x1d0 kernel/entry/common.c:274
 do_syscall_64+0x40/0x70 arch/x86/entry/common.c:56
 entry_SYSCALL_64_after_hwframe+0x61/0xc6
RIP: 0033:0x7f6d0326dae9
Code: Unable to access opcode bytes at RIP 0x7f6d0326dabf.
RSP: 002b:00007f6d01fae178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f6d0338d128 RCX: 00007f6d0326dae9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f6d0338d128
RBP: 00007f6d0338d120 R08: 00007f6d01fae6c0 R09: 00007f6d01fae6c0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6d0338d12c
R13: 000000000000006e R14: 00007fff8e157480 R15: 00007fff8e157568
BUG: Bad rss-counter state mm:ffff88810cf5a800 type:MM_ANONPAGES val:1
BUG: Bad rss-counter state mm:ffff88810cf5a800 type:MM_SWAPENTS val:-1

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/12 02:41 android13-5.10-lts a27512601c2d 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: Bad page map
* Struck through repros no longer work on HEAD.