bisecting fixing commit since c85fb28b6f999db9928b841f63f1beeb3074eeca building syzkaller on 1880b4a9f394370a7d1fcb5c1cfca0fa1127b463 testing commit c85fb28b6f999db9928b841f63f1beeb3074eeca with gcc (GCC) 8.1.0 kernel signature: a512d59d3d32f24295f4696188aa059d16ffa2b55eb07d5622470be2d0df03fa all runs: crashed: WARNING in account_page_dirtied testing current HEAD 659caaf65dc9c7150aa3e80225ec6e66b25ab3ce testing commit 659caaf65dc9c7150aa3e80225ec6e66b25ab3ce with gcc (GCC) 8.1.0 kernel signature: 7e8e0f701e0a6dc824adcd06c60c9a5d1bf78b6b0058769ccee3b0be29a79b3a run #0: crashed: WARNING in account_page_dirtied run #1: crashed: WARNING in account_page_dirtied run #2: crashed: WARNING in account_page_dirtied run #3: crashed: WARNING in account_page_dirtied run #4: crashed: WARNING in account_page_dirtied run #5: crashed: WARNING in account_page_dirtied run #6: crashed: WARNING in account_page_dirtied run #7: crashed: BUG: sleeping function called from invalid context in sta_info_move_state run #8: crashed: WARNING in account_page_dirtied run #9: crashed: WARNING in account_page_dirtied revisions tested: 2, total time: 15m36.302328819s (build: 9m47.337260687s, test: 5m15.757258642s) the crash still happens on HEAD commit msg: Merge tag 'ceph-for-5.10-rc3' of git://github.com/ceph/ceph-client crash: WARNING in account_page_dirtied NILFS (loop3): broken superblock, retrying with spare superblock (blocksize = 2048) NILFS (loop3): mounting unchecked fs NILFS (loop3): recovery complete ------------[ cut here ]------------ WARNING: CPU: 1 PID: 8335 at include/linux/backing-dev.h:286 inode_to_wb include/linux/backing-dev.h:283 [inline] WARNING: CPU: 1 PID: 8335 at include/linux/backing-dev.h:286 account_page_dirtied+0x285/0x330 mm/page-writeback.c:2430 Modules linked in: CPU: 1 PID: 8335 Comm: syz-executor.3 Not tainted 5.10.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:inode_to_wb include/linux/backing-dev.h:283 [inline] RIP: 0010:account_page_dirtied+0x285/0x330 mm/page-writeback.c:2430 Code: a1 9d f1 01 85 c0 0f 85 1a fe ff ff 49 8b 84 24 a8 01 00 00 be ff ff ff ff 48 8d 78 70 e8 83 9d f1 01 85 c0 0f 85 fc fd ff ff <0f> 0b e9 f5 fd ff ff 48 89 de 4c 89 e7 e8 d9 b4 10 00 e9 d7 fd ff RSP: 0018:ffffc9000305f9a0 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffffea00047d6f00 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff840a186f RDI: 0000000000000082 RBP: ffff888110bef858 R08: 0000000000000007 R09: 0000000000012e14 R10: ffffc9000305f868 R11: 0000000000000001 R12: ffff888110befa10 R13: ffff888110bef858 R14: 0000000000000000 R15: ffff888110925498 FS: 00007f2dd88f8700(0000) GS:ffff88813bd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004ff150 CR3: 000000011f498000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __set_page_dirty+0x37/0xf0 fs/buffer.c:608 mark_buffer_dirty+0x143/0x1d0 fs/buffer.c:1137 nilfs_btree_commit_convert_and_insert fs/nilfs2/btree.c:1812 [inline] nilfs_btree_convert_and_insert+0x45b/0x480 fs/nilfs2/btree.c:1877 nilfs_bmap_do_insert fs/nilfs2/bmap.c:111 [inline] nilfs_bmap_insert+0x88/0x110 fs/nilfs2/bmap.c:147 nilfs_mdt_insert_new_block fs/nilfs2/mdt.c:44 [inline] nilfs_mdt_create_block fs/nilfs2/mdt.c:93 [inline] nilfs_mdt_get_block+0x195/0x3f0 fs/nilfs2/mdt.c:254 nilfs_palloc_get_block.isra.12+0x57/0xe0 fs/nilfs2/alloc.c:216 nilfs_palloc_get_entry_block+0x3a/0x40 fs/nilfs2/alloc.c:318 nilfs_dat_prepare_entry fs/nilfs2/dat.c:43 [inline] nilfs_dat_prepare_alloc+0x29/0x50 fs/nilfs2/dat.c:69 nilfs_bmap_prepare_alloc_ptr fs/nilfs2/bmap.h:183 [inline] nilfs_direct_insert+0x146/0x180 fs/nilfs2/direct.c:122 nilfs_bmap_do_insert fs/nilfs2/bmap.c:121 [inline] nilfs_bmap_insert+0xb0/0x110 fs/nilfs2/bmap.c:147 nilfs_get_block+0xd7/0x220 fs/nilfs2/inode.c:97 __block_write_begin_int+0x181/0x620 fs/buffer.c:2011 nilfs_prepare_chunk fs/nilfs2/dir.c:92 [inline] nilfs_make_empty+0x59/0x230 fs/nilfs2/dir.c:591 nilfs_mkdir+0xb9/0x170 fs/nilfs2/namei.c:227 vfs_mkdir+0x101/0x1b0 fs/namei.c:3650 do_mkdirat+0xe7/0x110 fs/namei.c:3673 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45de29 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f2dd88f7c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 0000000000020fc0 RCX: 000000000045de29 RDX: 0000000000000010 RSI: 0000000020000a40 RDI: 0000000000000005 RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffea855e75f R14: 00007f2dd88f89c0 R15: 000000000118bf2c