kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 3 PID: 13949 Comm: syz-executor.2 Not tainted 5.5.0-rc5-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 RIP: 0010:__read_once_size include/linux/compiler.h:199 [inline] RIP: 0010:net_generic include/net/netns/generic.h:45 [inline] RIP: 0010:xt_rateest_put+0xa1/0x440 net/netfilter/xt_RATEEST.c:77 Code: 85 77 01 fb 45 84 f6 0f 84 68 02 00 00 e8 37 76 01 fb 49 8d bd 68 13 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 6c 03 00 00 4d 8b b5 68 13 00 00 e8 29 af ed fa RSP: 0018:ffffc900023df940 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88802a41b700 RCX: ffffc9000e7bc000 RDX: 000000000000026d RSI: ffffffff8673b0b9 RDI: 0000000000001368 RBP: ffffc900023df970 R08: ffff88805e20d1c0 R09: ffffed1005a4703d R10: ffffed1005a4703c R11: ffff88802d2381e3 R12: 000000000000002d R13: 0000000000000000 R14: 0000000000000001 R15: ffffffff8673b470 FS: 00007f903383b700(0000) GS:ffff88802d300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f297a10ba20 CR3: 000000005fa56000 CR4: 0000000000340ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: xt_rateest_tg_destroy+0x72/0xa0 net/netfilter/xt_RATEEST.c:175 cleanup_entry net/ipv4/netfilter/arp_tables.c:509 [inline] translate_table+0x11f4/0x1d80 net/ipv4/netfilter/arp_tables.c:587 do_replace net/ipv4/netfilter/arp_tables.c:981 [inline] do_arpt_set_ctl+0x317/0x650 net/ipv4/netfilter/arp_tables.c:1461 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x77/0xd0 net/netfilter/nf_sockopt.c:115 ip_setsockopt net/ipv4/ip_sockglue.c:1260 [inline] ip_setsockopt+0xdf/0x100 net/ipv4/ip_sockglue.c:1240 udp_setsockopt+0x68/0xb0 net/ipv4/udp.c:2639 sock_common_setsockopt+0x94/0xd0 net/core/sock.c:3149 __sys_setsockopt+0x261/0x4c0 net/socket.c:2117 __do_sys_setsockopt net/socket.c:2133 [inline] __se_sys_setsockopt net/socket.c:2130 [inline] __x64_sys_setsockopt+0xbe/0x150 net/socket.c:2130 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45afd9 Code: bd b1 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 8b b1 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f903383ac88 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 000000000072bf00 RCX: 000000000045afd9 RDX: 0000000000000060 RSI: 0a02000000000000 RDI: 0000000000000003 RBP: 0000000000000005 R08: 0000000000000430 R09: 0000000000000000 R10: 00000000200008c0 R11: 0000000000000246 R12: 00007f903383b6d4 R13: 00000000004ba3c0 R14: 00000000006f88b8 R15: 00000000ffffffff Modules linked in: ---[ end trace 4ecfaff46f5f3344 ]--- RIP: 0010:__read_once_size include/linux/compiler.h:199 [inline] RIP: 0010:net_generic include/net/netns/generic.h:45 [inline] RIP: 0010:xt_rateest_put+0xa1/0x440 net/netfilter/xt_RATEEST.c:77 Code: 85 77 01 fb 45 84 f6 0f 84 68 02 00 00 e8 37 76 01 fb 49 8d bd 68 13 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 6c 03 00 00 4d 8b b5 68 13 00 00 e8 29 af ed fa RSP: 0018:ffffc900023df940 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88802a41b700 RCX: ffffc9000e7bc000 RDX: 000000000000026d RSI: ffffffff8673b0b9 RDI: 0000000000001368 RBP: ffffc900023df970 R08: ffff88805e20d1c0 R09: ffffed1005a4703d R10: ffffed1005a4703c R11: ffff88802d2381e3 R12: 000000000000002d R13: 0000000000000000 R14: 0000000000000001 R15: ffffffff8673b470 FS: 00007f903383b700(0000) GS:ffff88802d200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000625208 CR3: 000000005fa56000 CR4: 0000000000340ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400