bisecting fixing commit since 10b84daddbec72c6b440216a69de9a9605127f7a building syzkaller on 0174c6c8f78a3fdd002a73a5fdf559c1b0ec8c34 testing commit 10b84daddbec72c6b440216a69de9a9605127f7a with gcc (GCC) 8.1.0 kernel signature: 71dfc489441195fb1c36d8cc1e6d7cd008c61d8d1643055cb89718b96e7dae14 all runs: crashed: WARNING in account_page_dirtied testing current HEAD a5dc8300df75e8b8384b4c82225f1e4a0b4d9b55 testing commit a5dc8300df75e8b8384b4c82225f1e4a0b4d9b55 with gcc (GCC) 8.1.0 kernel signature: 8cf9eeb8fa35bb573c9b28dd90c87a446119b7fb568772c8429b28a8491bf19f all runs: crashed: WARNING in account_page_dirtied revisions tested: 2, total time: 16m16.193299777s (build: 9m23.669258301s, test: 6m13.232120923s) the crash still happens on HEAD commit msg: scripts/decode_stacktrace: warn when modpath is needed but is unset crash: WARNING in account_page_dirtied gfs2: fsid=loop2.0: jid=0: Journal head lookup took 292ms gfs2: fsid=loop3.0: found 1 quota changes gfs2: fsid=loop2.0: jid=0: Done gfs2: fsid=loop2.0: first mount done, others may mount ------------[ cut here ]------------ WARNING: CPU: 1 PID: 3577 at include/linux/backing-dev.h:345 inode_to_wb include/linux/backing-dev.h:342 [inline] WARNING: CPU: 1 PID: 3577 at include/linux/backing-dev.h:345 account_page_dirtied+0x680/0x890 mm/page-writeback.c:2432 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 3577 Comm: syz-executor3 Not tainted 5.8.0-rc1-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+0x136/0x187 lib/dump_stack.c:118 panic+0x22a/0x4f5 kernel/panic.c:231 __warn.cold.12+0x25/0x25 kernel/panic.c:600 report_bug+0x1b5/0x260 lib/bug.c:198 exc_invalid_op+0x1be/0x370 arch/x86/kernel/traps.c:235 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:563 RIP: 0010:inode_to_wb include/linux/backing-dev.h:342 [inline] RIP: 0010:account_page_dirtied+0x680/0x890 mm/page-writeback.c:2432 Code: c1 ea 03 80 3c 02 00 0f 85 1e 02 00 00 49 8b 86 a8 01 00 00 be ff ff ff ff 48 8d 78 70 e8 d8 69 7f 05 85 c0 0f 85 38 fb ff ff <0f> 0b e9 31 fb ff ff 4c 89 e6 4c 89 f7 e8 5e 3e 29 00 e9 e2 fa ff RSP: 0018:ffff8881ca2ef808 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff8881d5bd1c20 RCX: ffffffff81b23ac6 RDX: 1ffffffff11286d0 RSI: ffff8881d34440e0 RDI: 0000000000000086 RBP: ffff8881ca2ef838 R08: ffffed103ab7a385 R09: ffffed103ab7a385 R10: ffff8881d5bd1c27 R11: ffffed103ab7a384 R12: ffffea0006c5a840 R13: ffff8881d5bd1a78 R14: ffff8881d5bd1a78 R15: 0000000000000286 __set_page_dirty+0x6f/0x250 fs/buffer.c:609 mark_buffer_dirty+0x2c1/0x3c0 fs/buffer.c:1138 gfs2_unpin+0xdf/0xe00 fs/gfs2/lops.c:107 buf_lo_after_commit+0x129/0x210 fs/gfs2/lops.c:739 lops_after_commit fs/gfs2/lops.h:62 [inline] gfs2_log_flush+0x1092/0x2780 fs/gfs2/log.c:971 do_sync+0x4b0/0xb10 fs/gfs2/quota.c:967 gfs2_quota_sync+0x254/0x4f0 fs/gfs2/quota.c:1310 gfs2_sync_fs+0x41/0xa0 fs/gfs2/super.c:749 __sync_filesystem fs/sync.c:39 [inline] sync_filesystem+0xd7/0x200 fs/sync.c:64 generic_shutdown_super+0x69/0x330 fs/super.c:448 kill_block_super+0x96/0xe0 fs/super.c:1444 gfs2_kill_sb+0x100/0x150 fs/gfs2/ops_fstype.c:1592 deactivate_locked_super+0x7c/0xd0 fs/super.c:335 deactivate_super+0x8a/0xa0 fs/super.c:366 cleanup_mnt+0x204/0x440 fs/namespace.c:1118 __cleanup_mnt+0xd/0x10 fs/namespace.c:1125 task_work_run+0xd8/0x170 kernel/task_work.c:123 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop arch/x86/entry/common.c:216 [inline] __prepare_exit_to_usermode+0x1da/0x1e0 arch/x86/entry/common.c:246 __syscall_return_slowpath+0x5a/0x250 arch/x86/entry/common.c:329 do_syscall_64+0x7b/0xf0 arch/x86/entry/common.c:368 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x4579d7 Code: Bad RIP value. RSP: 002b:00007ffd9d58ba18 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00000000004579d7 RDX: 000000000248e983 RSI: 0000000000000002 RDI: 00007ffd9d58cb80 RBP: 00007ffd9d58cb80 R08: 0000000000000000 R09: 0000000000000009 R10: 0000000000000005 R11: 0000000000000246 R12: 000000000248e940 R13: 0000000000000000 R14: 0000000000000002 R15: 000000000000d282 Kernel Offset: disabled