folio_batch_release include/linux/folio_batch.h:101 [inline] truncate_inode_pages_range+0x3e0/0xe30 mm/truncate.c:408 kill_bdev block/bdev.c:91 [inline] blkdev_flush_mapping+0x10c/0x2f0 block/bdev.c:715 blkdev_put_whole block/bdev.c:722 [inline] bdev_release+0x422/0x660 block/bdev.c:1147 blkdev_release+0x15/0x20 block/fops.c:680 __fput+0x461/0xa70 fs/file_table.c:512 task_work_run+0x1d9/0x270 kernel/task_work.c:233 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x70f/0x22c0 kernel/exit.c:1004 do_group_exit+0x21b/0x2d0 kernel/exit.c:1147 get_signal+0x1284/0x1330 kernel/signal.c:3038 arch_do_signal_or_restart+0xbc/0x840 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline] exit_to_user_mode_loop+0x104/0x710 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline] do_syscall_64+0x353/0x580 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f ------------[ cut here ]------------ kernel BUG at mm/filemap.c:155! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 6935 Comm: syz.2.426 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 RIP: 0010:filemap_unaccount_folio+0x509/0x550 mm/filemap.c:155 Code: a0 c1 ff 48 89 df 48 c7 c6 40 0b 78 8b e8 df 94 23 ff 90 0f 0b e8 d7 a0 c1 ff 48 89 df 48 c7 c6 00 09 78 8b e8 c8 94 23 ff 90 <0f> 0b e8 c0 a0 c1 ff 48 89 df 48 c7 c6 40 0b 78 8b e8 b1 94 23 ff RSP: 0018:ffffc900080af558 EFLAGS: 00010246 RAX: fee9960f83c97a00 RBX: ffffea0000e097c0 RCX: 0000000000000046 RDX: 0000000000000006 RSI: ffffffff8dbdec30 RDI: ffff88802e049f00 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed10170c4903 R12: ffffea0000e097f0 R13: ffff888027ce59a0 R14: 1ffffd40001c12f8 R15: ffffea0000e097c8 FS: 00007f8458ee96c0(0000) GS:ffff888125a6b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3341fff8 CR3: 0000000040be8000 CR4: 00000000003526f0 Call Trace: delete_from_page_cache_batch+0x16e/0xbc0 mm/filemap.c:334 truncate_inode_pages_range+0x323/0xe30 mm/truncate.c:405 truncate_bdev_range+0xc9/0x100 block/bdev.c:125 blk_ioctl_zeroout block/ioctl.c:239 [inline] blkdev_common_ioctl+0x22d4/0x3240 block/ioctl.c:666 blkdev_ioctl+0x52b/0x750 block/ioctl.c:791 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xff/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f845b0fce59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8458ee9028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f845b376270 RCX: 00007f845b0fce59 RDX: 0000200000000000 RSI: 000000000000127f RDI: 0000000000000003 RBP: 00007f845b192e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f845b376308 R14: 00007f845b376270 R15: 00007fffcc521148 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:filemap_unaccount_folio+0x509/0x550 mm/filemap.c:155 Code: a0 c1 ff 48 89 df 48 c7 c6 40 0b 78 8b e8 df 94 23 ff 90 0f 0b e8 d7 a0 c1 ff 48 89 df 48 c7 c6 00 09 78 8b e8 c8 94 23 ff 90 <0f> 0b e8 c0 a0 c1 ff 48 89 df 48 c7 c6 40 0b 78 8b e8 b1 94 23 ff RSP: 0018:ffffc900080af558 EFLAGS: 00010246 RAX: fee9960f83c97a00 RBX: ffffea0000e097c0 RCX: 0000000000000046 RDX: 0000000000000006 RSI: ffffffff8dbdec30 RDI: ffff88802e049f00 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed10170c4903 R12: ffffea0000e097f0 R13: ffff888027ce59a0 R14: 1ffffd40001c12f8 R15: ffffea0000e097c8 FS: 00007f8458ee96c0(0000) GS:ffff888125a6b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f845b14a540 CR3: 0000000040be8000 CR4: 00000000003526f0