syzbot


BUG: Bad page map (3)

Status: upstream: reported on 2022/07/18 21:41
Reported-by: syzbot+db1ce4e1c6b597e483ab@syzkaller.appspotmail.com
First crash: 76d, last: 76d
similar bugs (9):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: Bad page map (5) C 24 5d14h 155d 1/24 upstream: reported C repro on 2022/05/01 09:02
linux-4.19 BUG: Bad page map (2) 10 263d 443d 0/1 auto-closed as invalid on 2022/05/13 11:22
upstream BUG: Bad page map (2) syz 127 1489d 1545d 0/24 closed as invalid on 2018/09/05 12:51
upstream BUG: Bad page map 1 1548d 1548d 0/24 closed as invalid on 2018/07/08 13:28
upstream BUG: Bad page map (3) 4 1358d 1484d 0/24 auto-closed as invalid on 2019/07/13 00:02
linux-4.19 BUG: Bad page map 2 760d 818d 0/1 auto-closed as invalid on 2021/01/01 08:20
upstream BUG: Bad page map (4) 39 304d 940d 0/24 auto-closed as invalid on 2022/04/02 04:25
linux-4.14 BUG: Bad page map 1 805d 805d 0/1 auto-closed as invalid on 2020/11/16 16:05
android-54 BUG: Bad page map 1 39d 39d 0/2 upstream: reported on 2022/08/25 04:05

Sample crash report:
input: syz1 as /devices/virtual/input/input357
batman_adv: Cannot find parent device
BUG: Bad page map in process syz-executor.5  pte:77777779ebfb007 pmd:001df067
addr:00000000e9843d1d vm_flags:180400fb anon_vma:          (null) mapping:000000006a29a9c0 index:b
file:kcov fault:          (null) mmap:kcov_mmap readpage:          (null)
CPU: 1 PID: 13522 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 print_bad_pte.cold+0x1c5/0x222 mm/memory.c:785
batman_adv: Cannot find parent device
 _vm_normal_page+0x21e/0x510 mm/memory.c:897
 zap_pte_range mm/memory.c:1323 [inline]
 zap_pmd_range mm/memory.c:1463 [inline]
 zap_pud_range mm/memory.c:1492 [inline]
 zap_p4d_range mm/memory.c:1513 [inline]
 unmap_page_range+0x1141/0x2c50 mm/memory.c:1534
 unmap_single_vma+0x198/0x300 mm/memory.c:1579
input: syz1 as /devices/virtual/input/input358
 unmap_vmas+0xa9/0x180 mm/memory.c:1609
 exit_mmap+0x2b9/0x530 mm/mmap.c:3093
 __mmput kernel/fork.c:1016 [inline]
 mmput+0x14e/0x4a0 kernel/fork.c:1037
 exit_mm kernel/exit.c:549 [inline]
 do_exit+0xaec/0x2be0 kernel/exit.c:857
 do_group_exit+0x125/0x310 kernel/exit.c:967
 __do_sys_exit_group kernel/exit.c:978 [inline]
 __se_sys_exit_group kernel/exit.c:976 [inline]
 __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:976
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f0171425199
Code: Bad RIP value.
RSP: 002b:00007ffe30d1e008 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007f0171425199
RDX: 00007f01713d7ddb RSI: ffffffffffffffb8 RDI: 0000000000000000
RBP: 0000000000000000 R08: 00007f01715414e8 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffe30d1e0f0
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input359
BUG: Bad rss-counter state mm:000000004a554653 idx:0 val:1
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input361
batman_adv: Cannot find parent device
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input362
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input366
input: syz1 as /devices/virtual/input/input368
input: syz1 as /devices/virtual/input/input369
input: syz1 as /devices/virtual/input/input370
batman_adv: Cannot find parent device
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input373
input: syz1 as /devices/virtual/input/input374
input: syz1 as /devices/virtual/input/input375
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input377
input: syz1 as /devices/virtual/input/input379
input: syz1 as /devices/virtual/input/input381
input: syz1 as /devices/virtual/input/input382
batman_adv: Cannot find parent device
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input385
input: syz1 as /devices/virtual/input/input386
input: syz1 as /devices/virtual/input/input387
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input389
input: syz1 as /devices/virtual/input/input391
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input394
input: syz1 as /devices/virtual/input/input393
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input396
input: syz1 as /devices/virtual/input/input395
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input397
input: syz1 as /devices/virtual/input/input398
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input399
input: syz1 as /devices/virtual/input/input400
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input401
input: syz1 as /devices/virtual/input/input402
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input403
input: syz1 as /devices/virtual/input/input404
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input405
input: syz1 as /devices/virtual/input/input407
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input408
input: syz1 as /devices/virtual/input/input410
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input413
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input415
input: syz1 as /devices/virtual/input/input416
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input418
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input420
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input422
input: syz1 as /devices/virtual/input/input424
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input426
input: syz1 as /devices/virtual/input/input427
input: syz1 as /devices/virtual/input/input430
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input431
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input433
input: syz1 as /devices/virtual/input/input434
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input436
input: syz1 as /devices/virtual/input/input438
input: syz1 as /devices/virtual/input/input439
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input441
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input443
input: syz1 as /devices/virtual/input/input445
input: syz1 as /devices/virtual/input/input446
batman_adv: Cannot find parent device
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input449
input: syz1 as /devices/virtual/input/input450
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input452
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input454
input: syz1 as /devices/virtual/input/input455
input: syz1 as /devices/virtual/input/input457
batman_adv: Cannot find parent device
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input460
input: syz1 as /devices/virtual/input/input461
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input464
input: syz1 as /devices/virtual/input/input465
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input469
input: syz1 as /devices/virtual/input/input470
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input537
input: syz1 as /devices/virtual/input/input538
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input541
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input542
input: syz1 as /devices/virtual/input/input544
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input546
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input548
input: syz1 as /devices/virtual/input/input549
batman_adv: Cannot find parent device
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input552
input: syz1 as /devices/virtual/input/input553
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input555
input: syz1 as /devices/virtual/input/input556
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input559
input: syz1 as /devices/virtual/input/input560
input: syz1 as /devices/virtual/input/input562
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input566
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input569
input: syz1 as /devices/virtual/input/input572
input: syz1 as /devices/virtual/input/input574
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input576
input: syz1 as /devices/virtual/input/input577
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input579
input: syz1 as /devices/virtual/input/input580
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input582
input: syz1 as /devices/virtual/input/input584
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input587
input: syz1 as /devices/virtual/input/input588
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input590
input: syz1 as /devices/virtual/input/input591
input: syz1 as /devices/virtual/input/input593
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input595
input: syz1 as /devices/virtual/input/input598
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input599
input: syz1 as /devices/virtual/input/input601
input: syz1 as /devices/virtual/input/input603
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input605
input: syz1 as /devices/virtual/input/input607
input: syz1 as /devices/virtual/input/input608
input: syz1 as /devices/virtual/input/input610
batman_adv: Cannot find parent device
input: syz1 as /devices/virtual/input/input611
input: syz1 as /devices/virtual/input/input613
input: syz1 as /devices/virtual/input/input615

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-19 2022/07/18 21:40 linux-4.19.y 3f8a27f9e27b ff988920 .config log report info BUG: Bad page map
* Struck through repros no longer work on HEAD.