syzbot


BUG: Bad page map (6)

Status: auto-obsoleted due to no activity on 2023/07/09 13:20
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+bd7013d0c6474dfad88b@syzkaller.appspotmail.com
First crash: 174d, last: 174d
Similar bugs (12)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 BUG: Bad page map 1 208d 208d 0/2 auto-obsoleted due to no activity on 2023/06/05 15:46
linux-4.19 BUG: Bad page map (3) 1 440d 440d 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 261d 519d 24/25 fixed on 2023/02/24 13:50
linux-4.19 BUG: Bad page map (2) 10 627d 807d 0/1 auto-closed as invalid on 2022/05/13 11:22
upstream BUG: Bad page map (2) mm syz 127 1853d 1909d 0/25 closed as invalid on 2018/09/05 12:51
upstream BUG: Bad page map mm 1 1912d 1911d 0/25 closed as invalid on 2018/07/08 13:28
upstream BUG: Bad page map (3) kernel 4 1722d 1848d 0/25 auto-closed as invalid on 2019/07/13 00:02
linux-4.19 BUG: Bad page map 2 1124d 1182d 0/1 auto-closed as invalid on 2021/01/01 08:20
upstream BUG: Bad page map (7) mm C done 19 20h53m 22d 18/25 upstream: reported C repro on 2023/09/09 17:12
upstream BUG: Bad page map (4) mm 39 668d 1304d 0/25 auto-closed as invalid on 2022/04/02 04:25
linux-4.14 BUG: Bad page map 1 1169d 1169d 0/1 auto-closed as invalid on 2020/11/16 16:05
android-54 BUG: Bad page map 1 403d 403d 0/2 auto-obsoleted due to no activity on 2022/12/23 04:05

Sample crash report:
BUG: Bad page map in process syz-executor.1  pte:800fffffff899875 pmd:4ca80067
addr:00007ffd8dc73000 vm_flags:00100173 anon_vma:ffff8880159cf990 mapping:0000000000000000 index:7fffffffd
file:(null) fault:0x0 mmap:0x0 read_folio:0x0
CPU: 2 PID: 5192 Comm: syz-executor.1 Not tainted 6.3.0-rc6-syzkaller #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x136/0x150 lib/dump_stack.c:106
 print_bad_pte+0x4e2/0x770 mm/memory.c:519
 vm_normal_page+0x110/0x2a0 mm/memory.c:590
 can_change_pte_writable+0x229/0x7f0 mm/mprotect.c:69
 do_numa_page mm/memory.c:4696 [inline]
 handle_pte_fault mm/memory.c:4930 [inline]
 __handle_mm_fault+0x2c78/0x3e60 mm/memory.c:5065
 handle_mm_fault+0x2ba/0x9c0 mm/memory.c:5211
 do_user_addr_fault+0x475/0x1230 arch/x86/mm/fault.c:1407
 handle_page_fault arch/x86/mm/fault.c:1498 [inline]
 exc_page_fault+0x98/0x170 arch/x86/mm/fault.c:1554
 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x7fdcdc6b0e94
Code: 3c 24 48 89 4c 24 18 e8 aa e7 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 44 89 c7 <48> 89 04 24 e8 e3 e7 ff ff 48 8b 04 24 eb 97 66 2e 0f 1f 84 00 00
RSP: 002b:00007ffd8dc73bf0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000004ab6 RCX: 00007fdcdc6b0e91
RDX: 00007ffd8dc73c30 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007ffd8dc73cbc R08: 0000000000000000 R09: 00007ffd8dcd7080
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032
R13: 000000000006b8eb R14: 0000000000000000 R15: 00007ffd8dc73d20
 </TASK>
BUG: Bad page map in process syz-executor.1  pte:800fffffff899875 pmd:4ca80067
addr:00007ffd8dc73000 vm_flags:00100173 anon_vma:ffff8880159cf990 mapping:0000000000000000 index:7fffffffd
file:(null) fault:0x0 mmap:0x0 read_folio:0x0
CPU: 2 PID: 5192 Comm: syz-executor.1 Tainted: G    B              6.3.0-rc6-syzkaller #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x136/0x150 lib/dump_stack.c:106
 print_bad_pte+0x4e2/0x770 mm/memory.c:519
 vm_normal_page+0x110/0x2a0 mm/memory.c:590
 do_numa_page mm/memory.c:4699 [inline]
 handle_pte_fault mm/memory.c:4930 [inline]
 __handle_mm_fault+0x1c57/0x3e60 mm/memory.c:5065
 handle_mm_fault+0x2ba/0x9c0 mm/memory.c:5211
 do_user_addr_fault+0x475/0x1230 arch/x86/mm/fault.c:1407
 handle_page_fault arch/x86/mm/fault.c:1498 [inline]
 exc_page_fault+0x98/0x170 arch/x86/mm/fault.c:1554
 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x7fdcdc6b0e94
Code: 3c 24 48 89 4c 24 18 e8 aa e7 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 44 89 c7 <48> 89 04 24 e8 e3 e7 ff ff 48 8b 04 24 eb 97 66 2e 0f 1f 84 00 00
RSP: 002b:00007ffd8dc73bf0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000004ab6 RCX: 00007fdcdc6b0e91
RDX: 00007ffd8dc73c30 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007ffd8dc73cbc R08: 0000000000000000 R09: 00007ffd8dcd7080
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032
R13: 000000000006b8eb R14: 0000000000000000 R15: 00007ffd8dc73d20
 </TASK>
_swap_info_get: Bad swap file entry 3803d0464cfffdff
BUG: Bad page map in process syz-executor.1  pte:705f736600040048 pmd:4ca80067
addr:00007ffd8dc54000 vm_flags:00100173 anon_vma:ffff8880159cf990 mapping:0000000000000000 index:7ffffffde
file:(null) fault:0x0 mmap:0x0 read_folio:0x0
CPU: 3 PID: 5192 Comm: syz-executor.1 Tainted: G    B D            6.3.0-rc6-syzkaller #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x136/0x150 lib/dump_stack.c:106
 print_bad_pte+0x4e2/0x770 mm/memory.c:519
 zap_pte_range mm/memory.c:1447 [inline]
 zap_pmd_range mm/memory.c:1536 [inline]
 zap_pud_range mm/memory.c:1565 [inline]
 zap_p4d_range mm/memory.c:1586 [inline]
 unmap_page_range+0x2cc4/0x3ce0 mm/memory.c:1607
 unmap_single_vma+0x194/0x2a0 mm/memory.c:1653
 unmap_vmas+0x234/0x380 mm/memory.c:1692
 exit_mmap+0x190/0x7f0 mm/mmap.c:3031
 __mmput+0x128/0x4c0 kernel/fork.c:1207
 mmput+0x60/0x70 kernel/fork.c:1229
 exit_mm kernel/exit.c:563 [inline]
 do_exit+0x9d7/0x2960 kernel/exit.c:856
 do_group_exit+0xd4/0x2a0 kernel/exit.c:1019
 get_signal+0x2315/0x25b0 kernel/signal.c:2859
 arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306
 exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
 exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204
 irqentry_exit_to_user_mode+0x9/0x40 kernel/entry/common.c:310
 exc_page_fault+0xc0/0x170 arch/x86/mm/fault.c:1557
 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x7fdcdc6b0e94
Code: Unable to access opcode bytes at 0x7fdcdc6b0e6a.
RSP: 002b:00007ffd8dc73bf0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000004ab6 RCX: 00007fdcdc6b0e91
RDX: 00007ffd8dc73c30 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007ffd8dc73cbc R08: 0000000000000000 R09: 00007ffd8dcd7080
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032
R13: 000000000006b8eb R14: 0000000000000000 R15: 00007ffd8dc73d20
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/10 13:19 upstream 09a9639e56c0 71147e29 .config console log report info ci-qemu-upstream BUG: Bad page map
* Struck through repros no longer work on HEAD.