pagetable_free include/linux/mm.h:2949 [inline] pagetable_dtor_free include/linux/mm.h:3047 [inline] __tlb_remove_table+0x2d2/0x3b0 include/asm-generic/tlb.h:220 __tlb_remove_table_free mm/mmu_gather.c:227 [inline] tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0xcab/0x1770 kernel/rcu/tree.c:2861 handle_softirqs+0x283/0x870 kernel/softirq.c:579 run_ksoftirqd+0x9b/0x100 kernel/softirq.c:968 smpboot_thread_fn+0x53f/0xa60 kernel/smpboot.c:160 kthread+0x70e/0x8a0 kernel/kthread.c:463 ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ------------[ cut here ]------------ kernel BUG at mm/filemap.c:868! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 15960 Comm: syz.1.1966 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:__filemap_add_folio+0x11ad/0x12f0 mm/filemap.c:867 Code: 44 c9 ff 4c 89 e7 48 c7 c6 60 3d b4 8b e8 9b 99 31 ff 90 0f 0b e8 53 44 c9 ff 4c 89 e7 48 c7 c6 40 34 b4 8b e8 84 99 31 ff 90 <0f> 0b e8 3c 44 c9 ff 4c 89 e7 48 c7 c6 60 3d b4 8b e8 6d 99 31 ff RSP: 0018:ffffc9000a996f40 EFLAGS: 00010246 RAX: c34d9a28400f9700 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8c0359e0 RDI: 00000000ffffffff RBP: ffffc9000a9970b0 R08: ffffffff8fc3d337 R09: 1ffffffff1f87a66 R10: dffffc0000000000 R11: fffffbfff1f87a67 R12: ffffea0001d5a100 R13: dffffc0000000000 R14: ffffea0001d5a108 R15: 0000000000000002 FS: 00007f50ce58c6c0(0000) GS:ffff888125a08000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2c4f84c286 CR3: 00000000606c2000 CR4: 00000000003526f0 Call Trace: filemap_add_folio+0xd5/0x270 mm/filemap.c:969 ra_alloc_folio mm/readahead.c:448 [inline] page_cache_ra_order+0x643/0xd40 mm/readahead.c:506 do_sync_mmap_readahead+0x25e/0x7a0 mm/filemap.c:-1 filemap_fault+0x62c/0x1200 mm/filemap.c:3446 __do_fault+0x138/0x390 mm/memory.c:5280 do_shared_fault mm/memory.c:5765 [inline] do_fault mm/memory.c:5839 [inline] do_pte_missing mm/memory.c:4362 [inline] handle_pte_fault mm/memory.c:6180 [inline] __handle_mm_fault+0x1847/0x5440 mm/memory.c:6323 handle_mm_fault+0x40a/0x8e0 mm/memory.c:6492 do_user_addr_fault+0x764/0x1390 arch/x86/mm/fault.c:1387 handle_page_fault arch/x86/mm/fault.c:1476 [inline] exc_page_fault+0x76/0xf0 arch/x86/mm/fault.c:1532 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:__put_user_nocheck_4+0x3/0x10 arch/x86/lib/putuser.S:104 Code: d9 0f 01 cb 89 01 31 c9 0f 01 ca c3 cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 01 cb <89> 01 31 c9 0f 01 ca e9 81 44 03 00 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000a9978b8 EFLAGS: 00050202 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000020000037c030 RDX: ffff88802ecada00 RSI: 0000000000000002 RDI: 00000000ffffffff RBP: ffffc9000a997a30 R08: ffffc9000a997667 R09: 1ffff92001532ecc R10: dffffc0000000000 R11: fffff52001532ecd R12: 0000000000000002 R13: dffffc0000000000 R14: 0000000000000000 R15: 000020000037c000 ____sys_recvmsg+0x2ab/0x460 net/socket.c:2847 ___sys_recvmsg+0x1b5/0x510 net/socket.c:2876 do_recvmmsg+0x307/0x770 net/socket.c:2971 __sys_recvmmsg net/socket.c:3045 [inline] __do_sys_recvmmsg net/socket.c:3068 [inline] __se_sys_recvmmsg net/socket.c:3061 [inline] __x64_sys_recvmmsg+0x190/0x240 net/socket.c:3061 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:0x7f50cd78ebe9 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:00007f50ce58c038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f50cd9b6090 RCX: 00007f50cd78ebe9 RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000003 RBP: 00007f50cd811e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f50cd9b6128 R14: 00007f50cd9b6090 R15: 00007ffd0ea55028 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__filemap_add_folio+0x11ad/0x12f0 mm/filemap.c:867 Code: 44 c9 ff 4c 89 e7 48 c7 c6 60 3d b4 8b e8 9b 99 31 ff 90 0f 0b e8 53 44 c9 ff 4c 89 e7 48 c7 c6 40 34 b4 8b e8 84 99 31 ff 90 <0f> 0b e8 3c 44 c9 ff 4c 89 e7 48 c7 c6 60 3d b4 8b e8 6d 99 31 ff RSP: 0018:ffffc9000a996f40 EFLAGS: 00010246 RAX: c34d9a28400f9700 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8c0359e0 RDI: 00000000ffffffff RBP: ffffc9000a9970b0 R08: ffffffff8fc3d337 R09: 1ffffffff1f87a66 R10: dffffc0000000000 R11: fffffbfff1f87a67 R12: ffffea0001d5a100 R13: dffffc0000000000 R14: ffffea0001d5a108 R15: 0000000000000002 FS: 00007f50ce58c6c0(0000) GS:ffff888125b08000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d285a25138 CR3: 00000000606c2000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: d9 0f (bad) (%rdi) 2: 01 cb add %ecx,%ebx 4: 89 01 mov %eax,(%rcx) 6: 31 c9 xor %ecx,%ecx 8: 0f 01 ca clac b: c3 ret c: cc int3 d: cc int3 e: cc int3 f: cc int3 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 90 nop 1f: 90 nop 20: 90 nop 21: 90 nop 22: 90 nop 23: 90 nop 24: 90 nop 25: 90 nop 26: 90 nop 27: 0f 01 cb stac * 2a: 89 01 mov %eax,(%rcx) <-- trapping instruction 2c: 31 c9 xor %ecx,%ecx 2e: 0f 01 ca clac 31: e9 81 44 03 00 jmp 0x344b7 36: 90 nop 37: 90 nop 38: 90 nop 39: 90 nop 3a: 90 nop 3b: 90 nop 3c: 90 nop 3d: 90 nop 3e: 90 nop 3f: 90 nop