exit_mmap+0x44f/0xc80 mm/mmap.c:3354 __mmput+0x115/0x3c0 kernel/fork.c:1346 exec_mmap+0x651/0x6e0 fs/exec.c:1063 begin_new_exec+0x125f/0x1f50 fs/exec.c:1329 load_elf_binary+0x974/0x2620 fs/binfmt_elf.c:996 search_binary_handler fs/exec.c:1797 [inline] exec_binprm fs/exec.c:1839 [inline] bprm_execve+0xaf8/0x17c0 fs/exec.c:1891 do_execveat_common+0x553/0x700 fs/exec.c:1998 do_execve fs/exec.c:2072 [inline] __do_sys_execve fs/exec.c:2148 [inline] __se_sys_execve fs/exec.c:2143 [inline] __x64_sys_execve+0x92/0xb0 fs/exec.c:2143 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f ------------[ cut here ]------------ kernel BUG at mm/filemap.c:1507! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 PID: 2874 Comm: kworker/u8:12 Not tainted 6.10.0-rc6-syzkaller-00067-g8a9c6c40432e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: btrfs-delalloc btrfs_work_helper RIP: 0010:folio_unlock+0x18b/0x2f0 mm/filemap.c:1507 Code: 4c 89 f0 48 25 ff 0f 00 00 74 62 e8 4f d8 c9 ff e9 eb fe ff ff e8 45 d8 c9 ff 4c 89 f7 48 c7 c6 60 8c d3 8b e8 66 c2 10 00 90 <0f> 0b e8 2e d8 c9 ff 4c 89 f7 48 c7 c6 60 95 d3 8b e8 4f c2 10 00 RSP: 0018:ffffc900099876a8 EFLAGS: 00010246 RAX: 7d7fd6090eadc300 RBX: 1ffffd40002dfa40 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8bcabb40 RDI: 0000000000000001 RBP: 00fff0000000412c R08: ffffffff92f7169f R09: 1ffffffff25ee2d3 R10: dffffc0000000000 R11: fffffbfff25ee2d4 R12: ffffea00016fd208 R13: 1ffffd40002dfa41 R14: ffffea00016fd200 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f08c8a3f000 CR3: 000000007c54c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: submit_uncompressed_range+0x36b/0x400 fs/btrfs/inode.c:1141 submit_one_async_extent fs/btrfs/inode.c:1179 [inline] submit_compressed_extents+0x656/0x14a0 fs/btrfs/inode.c:1641 run_ordered_work fs/btrfs/async-thread.c:245 [inline] btrfs_work_helper+0x56b/0xc50 fs/btrfs/async-thread.c:324 process_one_work kernel/workqueue.c:3248 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3329 worker_thread+0x86d/0xd50 kernel/workqueue.c:3409 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:folio_unlock+0x18b/0x2f0 mm/filemap.c:1507 Code: 4c 89 f0 48 25 ff 0f 00 00 74 62 e8 4f d8 c9 ff e9 eb fe ff ff e8 45 d8 c9 ff 4c 89 f7 48 c7 c6 60 8c d3 8b e8 66 c2 10 00 90 <0f> 0b e8 2e d8 c9 ff 4c 89 f7 48 c7 c6 60 95 d3 8b e8 4f c2 10 00 RSP: 0018:ffffc900099876a8 EFLAGS: 00010246 RAX: 7d7fd6090eadc300 RBX: 1ffffd40002dfa40 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8bcabb40 RDI: 0000000000000001 RBP: 00fff0000000412c R08: ffffffff92f7169f R09: 1ffffffff25ee2d3 R10: dffffc0000000000 R11: fffffbfff25ee2d4 R12: ffffea00016fd208 R13: 1ffffd40002dfa41 R14: ffffea00016fd200 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f08c8a3f000 CR3: 000000007c54c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400