__fput+0x68e/0xa70 fs/file_table.c:476 task_work_run+0x1d4/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xec/0x110 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f ------------[ cut here ]------------ kernel BUG at mm/filemap.c:1498! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 21290 Comm: syz.1.3490 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:folio_unlock+0x13d/0x160 mm/filemap.c:1498 Code: 28 c9 ff 48 89 df 48 c7 c6 20 3e 94 8b e8 5b 67 31 ff 90 0f 0b e8 a3 28 c9 ff 48 89 df 48 c7 c6 40 34 94 8b e8 44 67 31 ff 90 <0f> 0b e8 8c 28 c9 ff 48 89 df 48 c7 c6 20 3e 94 8b e8 2d 67 31 ff RSP: 0018:ffffc9000b7c7888 EFLAGS: 00010246 RAX: cf0cf07c5e787100 RBX: ffffea00012628c0 RCX: 0000000000000000 RDX: 0000000000000007 RSI: ffffffff8d9b9e62 RDI: 00000000ffffffff RBP: ffffc9000b7c7c48 R08: ffffffff8fa3a537 R09: 1ffffffff1f474a6 R10: dffffc0000000000 R11: fffffbfff1f474a7 R12: 1ffffd400024c519 R13: 00fff20000000020 R14: ffffea00012628c8 R15: dffffc0000000000 FS: 00007f3cb7ea76c0(0000) GS:ffff888125c15000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3cb294 CR3: 000000004563d000 CR4: 0000000000350ef0 Call Trace: netfs_perform_write+0x14fc/0x1ae0 fs/netfs/buffered_write.c:407 netfs_file_write_iter+0x17d/0x4a0 fs/netfs/buffered_write.c:491 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 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:0x7f3cb6f8eba9 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:00007f3cb7ea7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f3cb71d5fa0 RCX: 00007f3cb6f8eba9 RDX: 000000000000003c RSI: 0000200000000880 RDI: 0000000000000007 RBP: 00007f3cb7011e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f3cb71d6038 R14: 00007f3cb71d5fa0 R15: 00007ffec64fee08 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:folio_unlock+0x13d/0x160 mm/filemap.c:1498 Code: 28 c9 ff 48 89 df 48 c7 c6 20 3e 94 8b e8 5b 67 31 ff 90 0f 0b e8 a3 28 c9 ff 48 89 df 48 c7 c6 40 34 94 8b e8 44 67 31 ff 90 <0f> 0b e8 8c 28 c9 ff 48 89 df 48 c7 c6 20 3e 94 8b e8 2d 67 31 ff RSP: 0018:ffffc9000b7c7888 EFLAGS: 00010246 RAX: cf0cf07c5e787100 RBX: ffffea00012628c0 RCX: 0000000000000000 RDX: 0000000000000007 RSI: ffffffff8d9b9e62 RDI: 00000000ffffffff RBP: ffffc9000b7c7c48 R08: ffffffff8fa3a537 R09: 1ffffffff1f474a6 R10: dffffc0000000000 R11: fffffbfff1f474a7 R12: 1ffffd400024c519 R13: 00fff20000000020 R14: ffffea00012628c8 R15: dffffc0000000000 FS: 00007f3cb7ea76c0(0000) GS:ffff888125d15000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055556e5fe5c8 CR3: 000000004563d000 CR4: 0000000000350ef0