folio_put include/linux/mm.h:1506 [inline] free_page_and_swap_cache+0x1eb/0x250 mm/swap_state.c:305 __tlb_remove_table arch/x86/include/asm/tlb.h:34 [inline] __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x89/0xe0 mm/mmu_gather.c:282 rcu_do_batch kernel/rcu/tree.c:2196 [inline] rcu_core+0x828/0x16b0 kernel/rcu/tree.c:2471 __do_softirq+0x218/0x922 kernel/softirq.c:554 ------------[ cut here ]------------ kernel BUG at mm/filemap.c:2078! invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 1 PID: 13439 Comm: syz-executor.3 Not tainted 6.9.0-rc1-syzkaller-00021-g962490525cff #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:find_lock_entries+0xa03/0xcb0 mm/filemap.c:2078 Code: ff 48 89 ee 48 89 df e8 eb fd cd ff 48 39 eb 0f 82 4c fa ff ff e8 8d 03 ce ff 48 c7 c6 80 a6 37 8b 4c 89 e7 e8 ce d4 0f 00 90 <0f> 0b e8 76 03 ce ff 31 f6 48 89 ef e8 5c 5e fe ff be 08 00 00 00 RSP: 0018:ffffc9000d1cf720 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffffffffffffc0 RCX: ffffc9000d1cf5c8 RDX: ffff8880235d8000 RSI: ffffffff81bf6e32 RDI: ffffffff8b8f4720 RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff1fc2342 R10: ffffffff8fe11a17 R11: 0000000000000003 R12: ffffea0000aed100 R13: dffffc0000000000 R14: ffffc9000d1cf968 R15: ffffc9000d1cf788 FS: 00007fe5419696c0(0000) GS:ffff88806b100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffde109fda8 CR3: 0000000024e8c000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: truncate_inode_pages_range+0x1bd/0xe80 mm/truncate.c:354 kill_bdev block/bdev.c:85 [inline] set_blocksize+0x2a3/0x350 block/bdev.c:161 sb_set_blocksize block/bdev.c:170 [inline] sb_min_blocksize+0xd3/0x1e0 block/bdev.c:186 ext4_load_super fs/ext4/super.c:5025 [inline] __ext4_fill_super fs/ext4/super.c:5222 [inline] ext4_fill_super+0x630/0xab20 fs/ext4/super.c:5699 get_tree_bdev+0x36f/0x610 fs/super.c:1632 vfs_get_tree+0x8f/0x380 fs/super.c:1797 do_new_mount fs/namespace.c:3352 [inline] path_mount+0x14e6/0x1f20 fs/namespace.c:3679 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount fs/namespace.c:3875 [inline] __x64_sys_mount+0x297/0x320 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7fe540c7f4aa Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe541968ef8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fe541968f80 RCX: 00007fe540c7f4aa RDX: 0000000020000000 RSI: 00000000200007c0 RDI: 00007fe541968f40 RBP: 0000000020000000 R08: 00007fe541968f80 R09: 0000000000000080 R10: 0000000000000080 R11: 0000000000000246 R12: 00000000200007c0 R13: 00007fe541968f40 R14: 000000000000077b R15: 0000000020000040 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:find_lock_entries+0xa03/0xcb0 mm/filemap.c:2078 Code: ff 48 89 ee 48 89 df e8 eb fd cd ff 48 39 eb 0f 82 4c fa ff ff e8 8d 03 ce ff 48 c7 c6 80 a6 37 8b 4c 89 e7 e8 ce d4 0f 00 90 <0f> 0b e8 76 03 ce ff 31 f6 48 89 ef e8 5c 5e fe ff be 08 00 00 00 RSP: 0018:ffffc9000d1cf720 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffffffffffffc0 RCX: ffffc9000d1cf5c8 RDX: ffff8880235d8000 RSI: ffffffff81bf6e32 RDI: ffffffff8b8f4720 RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff1fc2342 R10: ffffffff8fe11a17 R11: 0000000000000003 R12: ffffea0000aed100 R13: dffffc0000000000 R14: ffffc9000d1cf968 R15: ffffc9000d1cf788 FS: 00007fe5419696c0(0000) GS:ffff88806b100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffde109fda8 CR3: 0000000024e8c000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400