__do_replace+0xab/0x980 net/ipv6/netfilter/ip6_tables.c:1063 do_replace net/ipv6/netfilter/ip6_tables.c:1158 [inline] do_ip6t_set_ctl+0xa16/0xce0 net/ipv6/netfilter/ip6_tables.c:1644 nf_setsockopt+0x26c/0x290 net/netfilter/nf_sockopt.c:101 do_sock_setsockopt+0x179/0x1b0 net/socket.c:2296 __sys_setsockopt net/socket.c:2321 [inline] __do_sys_setsockopt net/socket.c:2327 [inline] __se_sys_setsockopt net/socket.c:2324 [inline] __x64_sys_setsockopt+0x13f/0x1b0 net/socket.c:2324 ------------[ cut here ]------------ kernel BUG at mm/filemap.c:868! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 1 UID: 0 PID: 10224 Comm: syz.5.1161 Not tainted 6.16.0-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: 6c ca ff 4c 89 e7 48 c7 c6 00 2e 94 8b e8 0b 99 0e 00 90 0f 0b e8 53 6c ca ff 4c 89 e7 48 c7 c6 e0 24 94 8b e8 f4 98 0e 00 90 <0f> 0b e8 3c 6c ca ff 4c 89 e7 48 c7 c6 00 2e 94 8b e8 dd 98 0e 00 RSP: 0018:ffffc9001c247240 EFLAGS: 00010246 RAX: 7b6eebf6d65a9500 RBX: 0000000000000003 RCX: 0000000000000000 RDX: 0000000000000007 RSI: ffffffff8d982fba RDI: 00000000ffffffff RBP: ffffc9001c2473a8 R08: ffffffff8fa0b3f7 R09: 1ffffffff1f4167e R10: dffffc0000000000 R11: fffffbfff1f4167f R12: ffffea0001c8da00 R13: dffffc0000000000 R14: ffffea0001c8da08 R15: 0000000000000004 FS: 00007f3d6f7f66c0(0000) GS:ffff888125d57000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f29ff1d4f98 CR3: 000000005b4ea000 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+0x74c/0xc70 mm/readahead.c:509 do_async_mmap_readahead mm/filemap.c:3299 [inline] filemap_fault+0x59e/0x1200 mm/filemap.c:3398 __do_fault+0x138/0x390 mm/memory.c:5169 do_read_fault mm/memory.c:5590 [inline] do_fault mm/memory.c:5724 [inline] do_pte_missing mm/memory.c:4251 [inline] handle_pte_fault mm/memory.c:6069 [inline] __handle_mm_fault+0x37ed/0x5620 mm/memory.c:6212 handle_mm_fault+0x2d5/0x7f0 mm/memory.c:6381 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:fault_in_readable+0x8e/0x130 mm/gup.c:2227 Code: a9 00 00 00 0f 01 cb 0f ae e8 4d 85 f6 40 0f 95 c5 4c 89 ff 4c 89 f6 e8 e0 47 bb ff 4d 39 f7 0f 97 c0 40 84 c5 74 43 4d 89 f5 <41> 8a 45 00 88 44 24 07 49 81 e5 00 f0 ff ff 4d 8d a5 00 10 00 00 RSP: 0018:ffffc9001c247aa8 EFLAGS: 00050202 RAX: ffffffff8204e001 RBX: 0000000000000240 RCX: ffff88803383da00 RDX: 0000000000000000 RSI: 0000200000008000 RDI: 0000200000008240 RBP: dffffc0000000001 R08: ffff88803383da00 R09: 0000000000000002 R10: 0000000000000001 R11: 0000000000000000 R12: 00007ffffffff000 R13: 0000200000008000 R14: 0000200000008000 R15: 0000200000008240 fault_in_iov_iter_readable+0x1b4/0x2f0 lib/iov_iter.c:94 generic_perform_write+0x7cc/0x910 mm/filemap.c:4161 shmem_file_write_iter+0xf8/0x120 mm/shmem.c:3467 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x54b/0xa90 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:0x7f3d7198eb69 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:00007f3d6f7f6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f3d71bb6080 RCX: 00007f3d7198eb69 RDX: 000000003af4701e RSI: 0000200000000240 RDI: 0000000000000004 RBP: 00007f3d71a11df1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3d71bb6080 R15: 00007fffe56d7748 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__filemap_add_folio+0x11ad/0x12f0 mm/filemap.c:867 Code: 6c ca ff 4c 89 e7 48 c7 c6 00 2e 94 8b e8 0b 99 0e 00 90 0f 0b e8 53 6c ca ff 4c 89 e7 48 c7 c6 e0 24 94 8b e8 f4 98 0e 00 90 <0f> 0b e8 3c 6c ca ff 4c 89 e7 48 c7 c6 00 2e 94 8b e8 dd 98 0e 00 RSP: 0018:ffffc9001c247240 EFLAGS: 00010246 RAX: 7b6eebf6d65a9500 RBX: 0000000000000003 RCX: 0000000000000000 RDX: 0000000000000007 RSI: ffffffff8d982fba RDI: 00000000ffffffff RBP: ffffc9001c2473a8 R08: ffffffff8fa0b3f7 R09: 1ffffffff1f4167e R10: dffffc0000000000 R11: fffffbfff1f4167f R12: ffffea0001c8da00 R13: dffffc0000000000 R14: ffffea0001c8da08 R15: 0000000000000004 FS: 00007f3d6f7f66c0(0000) GS:ffff888125c57000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb88b0e56c0 CR3: 000000005b4ea000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 00000000000032e7 DR6: 00000000ffff0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: a9 00 00 00 0f test $0xf000000,%eax 5: 01 cb add %ecx,%ebx 7: 0f ae e8 lfence a: 4d 85 f6 test %r14,%r14 d: 40 0f 95 c5 setne %bpl 11: 4c 89 ff mov %r15,%rdi 14: 4c 89 f6 mov %r14,%rsi 17: e8 e0 47 bb ff call 0xffbb47fc 1c: 4d 39 f7 cmp %r14,%r15 1f: 0f 97 c0 seta %al 22: 40 84 c5 test %al,%bpl 25: 74 43 je 0x6a 27: 4d 89 f5 mov %r14,%r13 * 2a: 41 8a 45 00 mov 0x0(%r13),%al <-- trapping instruction 2e: 88 44 24 07 mov %al,0x7(%rsp) 32: 49 81 e5 00 f0 ff ff and $0xfffffffffffff000,%r13 39: 4d 8d a5 00 10 00 00 lea 0x1000(%r13),%r12