NILFS (loop1): recovery complete NILFS (loop0): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds NILFS (loop1): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds WARNING: CPU: 1 PID: 14976 at include/linux/backing-dev.h:340 inode_to_wb include/linux/backing-dev.h:340 [inline] WARNING: CPU: 1 PID: 14976 at include/linux/backing-dev.h:340 account_page_dirtied+0x8cc/0xbb0 mm/page-writeback.c:2420 Kernel panic - not syncing: panic_on_warn set ... WARNING: CPU: 0 PID: 15000 at include/linux/backing-dev.h:340 inode_to_wb include/linux/backing-dev.h:340 [inline] WARNING: CPU: 0 PID: 15000 at include/linux/backing-dev.h:340 __test_set_page_writeback+0x1366/0x1750 mm/page-writeback.c:2783 CPU: 1 PID: 14976 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 Modules linked in: panic+0x26a/0x50e kernel/panic.c:186 CPU: 0 PID: 15000 Comm: segctord Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 RIP: 0010:inode_to_wb include/linux/backing-dev.h:340 [inline] RIP: 0010:__test_set_page_writeback+0x1366/0x1750 mm/page-writeback.c:2783 Code: ff ff ff 48 8d 78 70 e8 98 8c ca ff 31 ff 89 c6 89 44 24 18 e8 9b 5e e2 ff 8b 44 24 18 85 c0 0f 85 47 fb ff ff e8 1a 5d e2 ff <0f> 0b e9 3b fb ff ff e8 0e 5d e2 ff 4c 8b 74 24 08 49 83 ee 01 e9 RSP: 0018:ffff888044b07a88 EFLAGS: 00010093 RAX: ffff88809ec2c180 RBX: ffff888042b638b0 RCX: ffffffff81802845 RDX: 0000000000000000 RSI: ffffffff81802856 RDI: 0000000000000005 RBP: ffffea0002a7f280 R08: 0000000000000001 R09: 0000000000000000 __warn.cold+0x20/0x5a kernel/panic.c:541 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888042b63a40 R15: ffff888042b638b8 report_bug+0x262/0x2b0 lib/bug.c:183 FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 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 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8cd105f1b8 CR3: 000000009321d000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: set_page_writeback include/linux/page-flags.h:497 [inline] nilfs_begin_page_io+0x18a/0x250 fs/nilfs2/segment.c:1639 nilfs_segctor_prepare_write fs/nilfs2/segment.c:1689 [inline] nilfs_segctor_do_construct+0x484f/0x8360 fs/nilfs2/segment.c:2065 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038 RIP: 0010:inode_to_wb include/linux/backing-dev.h:340 [inline] RIP: 0010:account_page_dirtied+0x8cc/0xbb0 mm/page-writeback.c:2420 Code: 88 01 00 00 be ff ff ff ff 48 8d 78 70 e8 ec e1 ca ff 31 ff 89 c3 89 c6 e8 f1 b3 e2 ff 85 db 0f 85 39 f9 ff ff e8 74 b2 e2 ff <0f> 0b e9 2d f9 ff ff e8 68 b2 e2 ff 4c 89 e6 4c 89 ef e8 9d b3 2d RSP: 0018:ffff888043b76ec8 EFLAGS: 00010012 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90006916000 RDX: 000000000000103c RSI: ffffffff817fd2fc RDI: 0000000000000005 RBP: ffff88803ec47b48 R08: 0000000000000000 R09: 0000000000000000 nilfs_segctor_construct+0x764/0xae0 fs/nilfs2/segment.c:2372 R10: 0000000000000005 R11: 0000000000000000 R12: ffffea0002788dc0 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2480 [inline] nilfs_segctor_thread+0x3cb/0xf50 fs/nilfs2/segment.c:2563 R13: ffff88803ec479c0 R14: ffff88803ec47838 R15: ffffea0002788dc8 __set_page_dirty+0x7f/0x3e0 fs/buffer.c:582 mark_buffer_dirty+0x424/0x5c0 fs/buffer.c:1111 nilfs_btree_commit_convert_and_insert fs/nilfs2/btree.c:1812 [inline] nilfs_btree_convert_and_insert+0xed5/0x1250 fs/nilfs2/btree.c:1877 kthread+0x33f/0x460 kernel/kthread.c:259 nilfs_bmap_do_insert fs/nilfs2/bmap.c:111 [inline] nilfs_bmap_insert+0x2a1/0x3f0 fs/nilfs2/bmap.c:147 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 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+0x59a/0xd40 fs/nilfs2/mdt.c:254 irq event stamp: 364 hardirqs last enabled at (363): [] mod_lruvec_page_state include/linux/memcontrol.h:713 [inline] hardirqs last enabled at (363): [] dec_lruvec_page_state include/linux/memcontrol.h:1215 [inline] hardirqs last enabled at (363): [] clear_page_dirty_for_io+0xb3b/0xee0 mm/page-writeback.c:2699 hardirqs last disabled at (364): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (364): [] _raw_spin_lock_irqsave+0x66/0xc0 kernel/locking/spinlock.c:152 softirqs last enabled at (46): [] __do_softirq+0x678/0x980 kernel/softirq.c:318 softirqs last disabled at (25): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (25): [] irq_exit+0x215/0x260 kernel/softirq.c:412 nilfs_palloc_get_block+0xc4/0x2b0 fs/nilfs2/alloc.c:216 ---[ end trace 01f3f491014dd6c5 ]--- nilfs_palloc_get_entry_block+0x17b/0x230 fs/nilfs2/alloc.c:318 nilfs_dat_prepare_entry fs/nilfs2/dat.c:43 [inline] nilfs_dat_prepare_alloc fs/nilfs2/dat.c:69 [inline] nilfs_dat_prepare_alloc+0x61/0xb0 fs/nilfs2/dat.c:61 nilfs_bmap_prepare_alloc_ptr fs/nilfs2/bmap.h:183 [inline] nilfs_btree_prepare_convert_and_insert fs/nilfs2/btree.c:1745 [inline] nilfs_btree_convert_and_insert+0xe00/0x1250 fs/nilfs2/btree.c:1873 nilfs_bmap_do_insert fs/nilfs2/bmap.c:111 [inline] nilfs_bmap_insert+0x2a1/0x3f0 fs/nilfs2/bmap.c:147 nilfs_get_block+0x4d5/0x970 fs/nilfs2/inode.c:96 __block_write_begin_int+0x46c/0x17b0 fs/buffer.c:1978 __block_write_begin fs/buffer.c:2028 [inline] block_write_begin+0x58/0x2e0 fs/buffer.c:2087 nilfs_write_begin+0xa5/0x1b0 fs/nilfs2/inode.c:267 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3170 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295 generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323 call_write_iter include/linux/fs.h:1821 [inline] do_iter_readv_writev+0x668/0x790 fs/read_write.c:681 do_iter_write+0x182/0x5d0 fs/read_write.c:960 vfs_writev+0x153/0x2e0 fs/read_write.c:1005 do_pwritev+0x1b6/0x270 fs/read_write.c:1094 __do_sys_pwritev2 fs/read_write.c:1153 [inline] __se_sys_pwritev2 fs/read_write.c:1144 [inline] __x64_sys_pwritev2+0xeb/0x150 fs/read_write.c:1144 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f4324e7d0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f43233ef168 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007f4324f9cf80 RCX: 00007f4324e7d0f9 RDX: 0000000000000001 RSI: 00000000200000c0 RDI: 0000000000000004 RBP: 00007f4324ed8ae9 R08: 0000000000000000 R09: 0000000000000011 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc1e61402f R14: 00007f43233ef300 R15: 0000000000022000 Kernel Offset: disabled Rebooting in 86400 seconds..