folio_batch_release include/linux/folio_batch.h:101 [inline] truncate_inode_pages_range+0x35d/0xef0 mm/truncate.c:452 kill_bdev block/bdev.c:90 [inline] set_blocksize+0x2d1/0x460 block/bdev.c:206 blkdev_bszset+0x19b/0x240 block/ioctl.c:641 blkdev_ioctl+0x513/0x6f0 block/ioctl.c:780 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl fs/ioctl.c:583 [inline] __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f ------------[ cut here ]------------ kernel BUG at mm/filemap.c:858! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 1 UID: 0 PID: 2926 Comm: syz.4.10823 Tainted: G L Y syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP, [Y]=FORCED_BIND Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026 RIP: 0010:__filemap_add_folio+0xfe6/0x1290 mm/filemap.c:858 Code: 1b ba ff 48 c7 c6 00 61 1f 8c 4c 89 ef e8 c2 53 13 00 90 0f 0b e8 8a 1b ba ff 48 c7 c6 60 61 1f 8c 4c 89 ef e8 ab 53 13 00 90 <0f> 0b e8 73 1b ba ff 90 0f 0b 90 e9 12 fc ff ff e8 65 1b ba ff 48 RSP: 0018:ffffc900034a7398 EFLAGS: 00010287 RAX: 000000000001501e RBX: 0000000000112c00 RCX: ffffc9000eac9000 RDX: 0000000000080000 RSI: ffffffff82679978 RDI: ffff8880383c04c4 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff90e05283 R11: 0000000000000001 R12: 0000000000000002 R13: ffffea0001f1ee80 R14: 0000000000000000 R15: 1ffff92000694e9e FS: 00007fc7b40926c0(0000) GS:ffff888122582000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b35120ff8 CR3: 000000003c621000 CR4: 00000000003526f0 Call Trace: filemap_add_folio+0x1d3/0x640 mm/filemap.c:971 ra_alloc_folio mm/readahead.c:470 [inline] page_cache_ra_order+0x602/0xed0 mm/readahead.c:535 do_sync_mmap_readahead mm/filemap.c:3461 [inline] filemap_fault+0x1953/0x3140 mm/filemap.c:3615 __do_fault+0x10b/0x440 mm/memory.c:5634 do_read_fault mm/memory.c:6069 [inline] do_fault+0xb3f/0x1890 mm/memory.c:6203 do_pte_missing mm/memory.c:4763 [inline] handle_pte_fault mm/memory.c:6627 [inline] __handle_mm_fault+0x150b/0x2f60 mm/memory.c:6776 handle_mm_fault+0x363/0xa20 mm/memory.c:6943 faultin_page mm/gup.c:1126 [inline] __get_user_pages+0x8a9/0x2c20 mm/gup.c:1428 populate_vma_page_range+0x2bb/0x450 mm/gup.c:1864 __mm_populate+0x107/0x3a0 mm/gup.c:1967 mm_populate include/linux/mm.h:4447 [inline] vm_mmap_pgoff+0x44a/0x490 mm/util.c:586 ksys_mmap_pgoff+0x3cb/0x610 mm/mmap.c:619 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:96 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:89 [inline] __x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:89 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc7b319f559 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:00007fc7b4092028 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fc7b3426090 RCX: 00007fc7b319f559 RDX: 0000000000000007 RSI: 0000000000b36000 RDI: 0000200000000000 RBP: 00007fc7b3236b20 R08: 0000000000000004 R09: 000000002cb25000 R10: 0000000000028011 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc7b3426128 R14: 00007fc7b3426090 R15: 00007ffed2683f38 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__filemap_add_folio+0xfe6/0x1290 mm/filemap.c:858 Code: 1b ba ff 48 c7 c6 00 61 1f 8c 4c 89 ef e8 c2 53 13 00 90 0f 0b e8 8a 1b ba ff 48 c7 c6 60 61 1f 8c 4c 89 ef e8 ab 53 13 00 90 <0f> 0b e8 73 1b ba ff 90 0f 0b 90 e9 12 fc ff ff e8 65 1b ba ff 48 RSP: 0018:ffffc900034a7398 EFLAGS: 00010287 RAX: 000000000001501e RBX: 0000000000112c00 RCX: ffffc9000eac9000 RDX: 0000000000080000 RSI: ffffffff82679978 RDI: ffff8880383c04c4 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff90e05283 R11: 0000000000000001 R12: 0000000000000002 R13: ffffea0001f1ee80 R14: 0000000000000000 R15: 1ffff92000694e9e FS: 00007fc7b40926c0(0000) GS:ffff888122582000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe00fc13286 CR3: 000000003c621000 CR4: 00000000003526f0