syzbot


WARNING in unaccount_page_cache_page (2)

Status: upstream: reported syz repro on 2021/05/20 03:59
Reported-by: syzbot+a27538a92c12e153bb2d@syzkaller.appspotmail.com
First crash: 1294d, last: 1264d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in unaccount_page_cache_page 2 1496d 1615d 0/1 auto-closed as invalid on 2021/02/27 18:26
upstream WARNING in unaccount_page_cache_page fs 4 1844d 1832d 0/28 auto-closed as invalid on 2020/03/16 07:39
upstream WARNING in unaccount_page_cache_page (2) fs 1 1700d 1696d 0/28 auto-closed as invalid on 2020/08/07 03:38
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2021/07/19 05:37 17m bisect fix linux-4.19.y error job log
2021/06/19 04:26 34m bisect fix linux-4.19.y OK (0) job log log

Sample crash report:
EXT4-fs error (device loop3): __ext4_new_inode:922: comm syz-executor.3: reserved inode found cleared - inode=1
EXT4-fs error (device loop5): __ext4_new_inode:922: comm syz-executor.5: reserved inode found cleared - inode=1
EXT4-fs (loop2): mount failed
WARNING: CPU: 0 PID: 7525 at mm/filemap.c:250 unaccount_page_cache_page+0x752/0xb80 mm/filemap.c:250
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 7525 Comm: syz-executor.2 Not tainted 4.19.190-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:unaccount_page_cache_page+0x752/0xb80 mm/filemap.c:250
Code: c6 a0 0d 71 88 48 89 ef e8 6b 22 0e 00 0f 0b e8 74 9f e6 ff 48 c7 c6 20 0e 71 88 48 89 ef e8 55 22 0e 00 0f 0b e8 5e 9f e6 ff <0f> 0b 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 80 3c 02
RSP: 0018:ffff88809745fa38 EFLAGS: 00010093
RAX: ffff8880b43c4640 RBX: 0000000000000001 RCX: ffffffff817bbe5b
RDX: 0000000000000000 RSI: ffffffff817bbf12 RDI: 0000000000000007
RBP: ffffea00020145c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88808ff34be0 R14: ffffea0001f0ebc8 R15: 0000000000000000
 delete_from_page_cache_batch+0x191/0xcc0 mm/filemap.c:382
 truncate_inode_pages_range+0x55c/0x1b10 mm/truncate.c:368
 blkdev_fallocate+0x22d/0x3f0 fs/block_dev.c:2032
 vfs_fallocate+0x487/0x9a0 fs/open.c:308
 ksys_fallocate fs/open.c:331 [inline]
 __do_sys_fallocate fs/open.c:339 [inline]
 __se_sys_fallocate fs/open.c:337 [inline]
 __x64_sys_fallocate+0xcf/0x140 fs/open.c:337
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4665d9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8d02679188 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 000000000056c0b0 RCX: 00000000004665d9
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000005
RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000
R10: 000000002811fdff R11: 0000000000000246 R12: 000000000056c0b0
R13: 00007ffd2d707ccf R14: 00007f8d02679300 R15: 0000000000022000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/05/20 03:58 linux-4.19.y 3c8c23092588 a343ba6b .config console log report syz ci2-linux-4-19 WARNING in unaccount_page_cache_page
* Struck through repros no longer work on HEAD.