__fput+0x69d/0xa80 fs/file_table.c:476 task_work_run+0x1d4/0x260 kernel/task_work.c:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x6b5/0x2300 kernel/exit.c:961 do_group_exit+0x21c/0x2d0 kernel/exit.c:1102 get_signal+0x125e/0x1310 kernel/signal.c:3034 ------------[ cut here ]------------ kernel BUG at mm/filemap.c:154! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 1 UID: 0 PID: 8165 Comm: syz.3.436 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:filemap_unaccount_folio+0x44f/0x4a0 mm/filemap.c:154 Code: 9d c9 ff 48 89 df 48 c7 c6 e0 4a 14 8b e8 09 ee 32 ff 90 0f 0b e8 b1 9d c9 ff 48 89 df 48 c7 c6 20 4a 14 8b e8 f2 ed 32 ff 90 <0f> 0b e8 9a 9d c9 ff 48 89 df 48 c7 c6 e0 4a 14 8b e8 db ed 32 ff RSP: 0018:ffffc90003f36e60 EFLAGS: 00010246 RAX: 2c5652f22b269800 RBX: ffffea0001a80000 RCX: 2c5652f22b269800 RDX: 0000000000000007 RSI: ffffffff8d2185e9 RDI: ffff888026c65940 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed1017124863 R12: 0000000000000040 R13: 1ffffd4000350000 R14: 1ffffd4000350001 R15: ffffea0001a80008 FS: 00007f4f219cb6c0(0000) GS:ffff8881269c2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2ffec9 CR3: 0000000036ce0000 CR4: 00000000003526f0 Call Trace: __filemap_remove_folio+0xc3/0x500 mm/filemap.c:223 filemap_remove_folio+0xe6/0x200 mm/filemap.c:253 hugetlb_delete_from_page_cache fs/hugetlbfs/inode.c:331 [inline] remove_inode_single_folio fs/hugetlbfs/inode.c:536 [inline] remove_inode_hugepages+0x593/0x1100 fs/hugetlbfs/inode.c:593 hugetlbfs_punch_hole fs/hugetlbfs/inode.c:716 [inline] hugetlbfs_fallocate+0xbd4/0x1110 fs/hugetlbfs/inode.c:742 vfs_fallocate+0x672/0x7f0 fs/open.c:342 madvise_remove mm/madvise.c:1049 [inline] madvise_vma_behavior+0x3156/0x3a00 mm/madvise.c:1346 madvise_walk_vmas+0x51c/0xa30 mm/madvise.c:1669 madvise_do_behavior+0x38e/0x550 mm/madvise.c:1885 do_madvise+0x183/0x230 mm/madvise.c:1978 __do_sys_madvise mm/madvise.c:1987 [inline] __se_sys_madvise mm/madvise.c:1985 [inline] __x64_sys_madvise+0xa7/0xc0 mm/madvise.c:1985 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4f2440ebe9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4f219cb038 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007f4f24636450 RCX: 00007f4f2440ebe9 RDX: 0000000000000009 RSI: 0000000000600002 RDI: 0000200000000000 RBP: 00007f4f24491e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4f246364e8 R14: 00007f4f24636450 R15: 00007fffd615c5a8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:filemap_unaccount_folio+0x44f/0x4a0 mm/filemap.c:154 Code: 9d c9 ff 48 89 df 48 c7 c6 e0 4a 14 8b e8 09 ee 32 ff 90 0f 0b e8 b1 9d c9 ff 48 89 df 48 c7 c6 20 4a 14 8b e8 f2 ed 32 ff 90 <0f> 0b e8 9a 9d c9 ff 48 89 df 48 c7 c6 e0 4a 14 8b e8 db ed 32 ff RSP: 0018:ffffc90003f36e60 EFLAGS: 00010246 RAX: 2c5652f22b269800 RBX: ffffea0001a80000 RCX: 2c5652f22b269800 RDX: 0000000000000007 RSI: ffffffff8d2185e9 RDI: ffff888026c65940 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed1017124863 R12: 0000000000000040 R13: 1ffffd4000350000 R14: 1ffffd4000350001 R15: ffffea0001a80008 FS: 00007f4f219cb6c0(0000) GS:ffff8881269c2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2ffec9 CR3: 0000000036ce0000 CR4: 00000000003526f0