bisecting fixing commit since f8fbb47c6e86c0b75f8df864db702c3e3f757361 building syzkaller on 3fd2ea69e05557e7e0fef9b68263b4150670671c testing commit f8fbb47c6e86c0b75f8df864db702c3e3f757361 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7820ecaf4fd4fd64f5282a9c070548b3df9a2ee8a328ae50b99e167b38468aa1 all runs: crashed: WARNING in __set_page_dirty testing current HEAD d0ee23f9d78be5531c4b055ea424ed0b489dfe9b testing commit d0ee23f9d78be5531c4b055ea424ed0b489dfe9b compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5e32d617ae08d319f2645d8a46803d8f01552ee3d6897bad4277479be08d2cc6 all runs: crashed: WARNING in __set_page_dirty revisions tested: 2, total time: 20m18.039181377s (build: 13m0.157721907s, test: 6m43.587066772s) the crash still happens on HEAD commit msg: tools: compiler-gcc.h: Guard error attribute use with __has_attribute crash: WARNING in __set_page_dirty ------------[ cut here ]------------ WARNING: CPU: 1 PID: 9089 at include/linux/backing-dev.h:283 inode_to_wb include/linux/backing-dev.h:283 [inline] WARNING: CPU: 1 PID: 9089 at include/linux/backing-dev.h:283 account_page_dirtied mm/page-writeback.c:2452 [inline] WARNING: CPU: 1 PID: 9089 at include/linux/backing-dev.h:283 __set_page_dirty+0x7fc/0xbc0 mm/page-writeback.c:2500 Modules linked in: CPU: 1 PID: 9089 Comm: segctord Not tainted 5.15.0-rc1-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 mm/page-writeback.c:2452 [inline] RIP: 0010:__set_page_dirty+0x7fc/0xbc0 mm/page-writeback.c:2500 Code: c1 ea 03 80 3c 02 00 0f 85 81 03 00 00 49 8b 87 a8 01 00 00 be ff ff ff ff 48 8d 78 70 e8 5c 36 db 06 85 c0 0f 85 01 fa ff ff <0f> 0b e9 fa f9 ff ff 80 3c 02 00 0f 85 7f 03 00 00 48 8b 55 08 48 RSP: 0018:ffffc9000d5df8f8 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff888019f08000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff88cb4880 RDI: ffffffff892080e0 RBP: ffffea0001dbf540 R08: 0000000000000000 R09: ffff8880b9f329cb R10: ffffed10173e6539 R11: 0000000000000009 R12: ffff88805e438520 R13: 0000000000000292 R14: ffff88805e438138 R15: ffff88805e438378 FS: 0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5e7db21168 CR3: 000000006c1c5000 CR4: 0000000000350ee0 Call Trace: mark_buffer_dirty+0x2f3/0x3e0 fs/buffer.c:1108 nilfs_btree_propagate_p fs/nilfs2/btree.c:1889 [inline] nilfs_btree_propagate+0x3f4/0xc80 fs/nilfs2/btree.c:2085 nilfs_bmap_propagate+0x6e/0x150 fs/nilfs2/bmap.c:337 nilfs_collect_dat_data+0x3f/0xa0 fs/nilfs2/segment.c:625 nilfs_segctor_apply_buffers+0x156/0x3f0 fs/nilfs2/segment.c:1009 nilfs_segctor_scan_file+0x35a/0x6c0 fs/nilfs2/segment.c:1058 nilfs_segctor_collect_blocks fs/nilfs2/segment.c:1224 [inline] nilfs_segctor_collect fs/nilfs2/segment.c:1494 [inline] nilfs_segctor_do_construct+0x1377/0x6070 fs/nilfs2/segment.c:2036 nilfs_segctor_construct+0x637/0x940 fs/nilfs2/segment.c:2372 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2480 [inline] nilfs_segctor_thread+0x36d/0xda0 fs/nilfs2/segment.c:2563 kthread+0x38b/0x460 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295