------------[ cut here ]------------ kernel BUG at lib/string.c:1149! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 29919 Comm: syz-executor.0 Not tainted 5.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:fortify_panic+0xf/0x11 lib/string.c:1149 Code: b5 78 a3 04 48 c7 c7 c0 8f c2 89 58 5b 5d 41 5c 41 5d 41 5e 41 5f e9 30 ba ee ff 48 89 fe 48 c7 c7 80 90 c2 89 e8 21 ba ee ff <0f> 0b e8 90 f9 97 f8 0f b6 f3 48 c7 c7 20 f4 10 8c e8 41 e8 fc fa RSP: 0018:ffffc900030ff500 EFLAGS: 00010282 RAX: 0000000000000022 RBX: ffff888030216e68 RCX: 0000000000000000 RDX: ffff88801723b580 RSI: ffffffff815a6925 RDI: fffff5200061fe92 RBP: ffff88801c0a8220 R08: 0000000000000022 R09: 0000000000000000 R10: ffffffff815a4d7b R11: 0000000000000000 R12: ffff888014bf6000 R13: ffff888030216e00 R14: 1ffff9200061fea2 R15: 0000000000000010 FS: 00007f4fa6b15700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020200000 CR3: 000000002b218000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: strlen include/linux/string.h:325 [inline] strlcpy include/linux/string.h:348 [inline] xt_rateest_tg_checkentry+0x2a5/0x6b0 net/netfilter/xt_RATEEST.c:143 xt_check_target+0x26c/0x9e0 net/netfilter/x_tables.c:1019 check_target net/ipv6/netfilter/ip6_tables.c:529 [inline] find_check_entry.constprop.0+0x7f1/0x9e0 net/ipv6/netfilter/ip6_tables.c:572 translate_table+0xc8b/0x1750 net/ipv6/netfilter/ip6_tables.c:734 do_replace net/ipv6/netfilter/ip6_tables.c:1152 [inline] do_ip6t_set_ctl+0x553/0xb70 net/ipv6/netfilter/ip6_tables.c:1636 nf_setsockopt+0x83/0xe0 net/netfilter/nf_sockopt.c:101 ipv6_setsockopt+0x122/0x180 net/ipv6/ipv6_sockglue.c:1008 tcp_setsockopt+0x136/0x2440 net/ipv4/tcp.c:3597 __sys_setsockopt+0x2db/0x610 net/socket.c:2115 __do_sys_setsockopt net/socket.c:2126 [inline] __se_sys_setsockopt net/socket.c:2123 [inline] __x64_sys_setsockopt+0xba/0x150 net/socket.c:2123 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e149 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f4fa6b14c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045e149 RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000007 RBP: 000000000119bfd0 R08: 0000000000000470 R09: 0000000000000000 R10: 0000000020000080 R11: 0000000000000246 R12: 000000000119bf8c R13: 00000000016afb7f R14: 00007f4fa6b159c0 R15: 000000000119bf8c Modules linked in: ---[ end trace c30ab91778a306c4 ]--- RIP: 0010:fortify_panic+0xf/0x11 lib/string.c:1149 Code: b5 78 a3 04 48 c7 c7 c0 8f c2 89 58 5b 5d 41 5c 41 5d 41 5e 41 5f e9 30 ba ee ff 48 89 fe 48 c7 c7 80 90 c2 89 e8 21 ba ee ff <0f> 0b e8 90 f9 97 f8 0f b6 f3 48 c7 c7 20 f4 10 8c e8 41 e8 fc fa RSP: 0018:ffffc900030ff500 EFLAGS: 00010282 RAX: 0000000000000022 RBX: ffff888030216e68 RCX: 0000000000000000 RDX: ffff88801723b580 RSI: ffffffff815a6925 RDI: fffff5200061fe92 RBP: ffff88801c0a8220 R08: 0000000000000022 R09: 0000000000000000 R10: ffffffff815a4d7b R11: 0000000000000000 R12: ffff888014bf6000 R13: ffff888030216e00 R14: 1ffff9200061fea2 R15: 0000000000000010 FS: 00007f4fa6b15700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020400000 CR3: 000000002b218000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400