__fput+0x44c/0xa70 fs/file_table.c:468 task_work_run+0x1d4/0x260 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:44 [inline] exit_to_user_mode_loop+0xff/0x4f0 kernel/entry/common.c:75 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline] do_syscall_64+0x2d0/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f ------------[ cut here ]------------ kernel BUG at mm/filemap.c:859! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 7821 Comm: syz.0.408 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:__filemap_add_folio+0x118b/0x12d0 mm/filemap.c:858 Code: 89 c7 ff 4c 89 e7 48 c7 c6 c0 b3 94 8b e8 ed da 2d ff 90 0f 0b e8 b5 89 c7 ff 4c 89 e7 48 c7 c6 a0 aa 94 8b e8 d6 da 2d ff 90 <0f> 0b e8 9e 89 c7 ff 4c 89 e7 48 c7 c6 c0 b3 94 8b e8 bf da 2d ff RSP: 0018:ffffc9001c13f1e0 EFLAGS: 00010246 RAX: 29b0f1b8dfcd8800 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000007 RSI: ffffffff8d997e54 RDI: 00000000ffffffff RBP: ffffc9001c13f360 R08: ffffffff8fa22f77 R09: 1ffffffff1f445ee R10: dffffc0000000000 R11: fffffbfff1f445ef R12: ffffea000093d0c0 R13: dffffc0000000000 R14: ffffea000093d0c8 R15: 0000000000000004 FS: 00007f08de3b36c0(0000) GS:ffff888125c25000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000003580 CR3: 0000000032702000 CR4: 00000000003526f0 Call Trace: filemap_add_folio+0x26d/0x540 mm/filemap.c:966 ra_alloc_folio mm/readahead.c:453 [inline] page_cache_ra_order+0x6a7/0xe50 mm/readahead.c:512 do_sync_mmap_readahead+0x66a/0x870 mm/filemap.c:3400 filemap_fault+0x6ac/0x1290 mm/filemap.c:3549 __do_fault+0x138/0x390 mm/memory.c:5320 do_read_fault mm/memory.c:5755 [inline] do_fault mm/memory.c:5889 [inline] do_pte_missing+0x2208/0x3330 mm/memory.c:4401 handle_pte_fault mm/memory.c:6273 [inline] __handle_mm_fault mm/memory.c:6411 [inline] handle_mm_fault+0x1b26/0x32b0 mm/memory.c:6580 faultin_page mm/gup.c:1126 [inline] __get_user_pages+0x1650/0x29f0 mm/gup.c:1428 populate_vma_page_range+0x29f/0x3a0 mm/gup.c:1860 __mm_populate+0x24c/0x380 mm/gup.c:1963 mm_populate include/linux/mm.h:3748 [inline] vm_mmap_pgoff+0x387/0x4d0 mm/util.c:586 ksys_mmap_pgoff+0x51f/0x760 mm/mmap.c:604 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f08dd58f749 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:00007f08de3b3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f08dd7e6090 RCX: 00007f08dd58f749 RDX: 0000000001000002 RSI: 0000000000b36000 RDI: 0000200000000000 RBP: 00007f08dd613f91 R08: 0000000000000005 R09: 000000002c93a000 R10: 0000000000028011 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f08dd7e6128 R14: 00007f08dd7e6090 R15: 00007ffdece752f8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__filemap_add_folio+0x118b/0x12d0 mm/filemap.c:858 Code: 89 c7 ff 4c 89 e7 48 c7 c6 c0 b3 94 8b e8 ed da 2d ff 90 0f 0b e8 b5 89 c7 ff 4c 89 e7 48 c7 c6 a0 aa 94 8b e8 d6 da 2d ff 90 <0f> 0b e8 9e 89 c7 ff 4c 89 e7 48 c7 c6 c0 b3 94 8b e8 bf da 2d ff RSP: 0018:ffffc9001c13f1e0 EFLAGS: 00010246 RAX: 29b0f1b8dfcd8800 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000007 RSI: ffffffff8d997e54 RDI: 00000000ffffffff RBP: ffffc9001c13f360 R08: ffffffff8fa22f77 R09: 1ffffffff1f445ee R10: dffffc0000000000 R11: fffffbfff1f445ef R12: ffffea000093d0c0 R13: dffffc0000000000 R14: ffffea000093d0c8 R15: 0000000000000004 FS: 00007f08de3b36c0(0000) GS:ffff888125d25000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3f52972a60 CR3: 0000000032702000 CR4: 00000000003526f0