BUG: unable to handle kernel paging request at ffffc900077110bd IP: poolsize_invalid net/bridge/netfilter/ebt_among.c:177 [inline] IP: ebt_among_mt_check+0x1f8/0x390 net/bridge/netfilter/ebt_among.c:193 PGD 1dad2f067 P4D 1dad2f067 PUD 1dad30067 PMD 1b18be067 PTE 0 Oops: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 8070 Comm: syz-executor4 Not tainted 4.16.0-rc4+ #253 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:poolsize_invalid net/bridge/netfilter/ebt_among.c:177 [inline] RIP: 0010:ebt_among_mt_check+0x1f8/0x390 net/bridge/netfilter/ebt_among.c:193 RSP: 0018:ffff8801b2b0f0e0 EFLAGS: 00010246 RAX: 0000000000000008 RBX: ffffc9000771f0f8 RCX: ffffffff851bc706 RDX: 0000000000000000 RSI: ffffc9000418e000 RDI: ffffc900077110bd RBP: ffff8801b2b0f118 R08: ffff8801d1dd2ef0 R09: 0000000000000000 R10: ffffffff88613380 R11: 0000000000000000 R12: ffffc90007710cb9 R13: ffffffff851bc540 R14: 00000000000008e0 R15: ffffffff877010c0 FS: 0000000000000000(0000) GS:ffff8801db300000(0063) knlGS:00000000f77a4b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: ffffc900077110bd CR3: 00000001cbd13005 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: xt_check_match+0x235/0x9c0 net/netfilter/x_tables.c:469 ebt_check_match net/bridge/netfilter/ebtables.c:374 [inline] ebt_check_entry+0xbc3/0x1e00 net/bridge/netfilter/ebtables.c:704 translate_table+0xcf5/0x2290 net/bridge/netfilter/ebtables.c:945 do_replace_finish+0x79a/0x2620 net/bridge/netfilter/ebtables.c:1002 compat_do_replace+0x5f5/0x7d0 net/bridge/netfilter/ebtables.c:2309 compat_do_ebt_set_ctl+0x22a/0x2d0 net/bridge/netfilter/ebtables.c:2350 compat_nf_sockopt net/netfilter/nf_sockopt.c:144 [inline] compat_nf_setsockopt+0x88/0x130 net/netfilter/nf_sockopt.c:156 compat_ip_setsockopt+0x8b/0xd0 net/ipv4/ip_sockglue.c:1285 compat_raw_setsockopt+0xb7/0xd0 net/ipv4/raw.c:879 compat_sock_common_setsockopt+0xb2/0x140 net/core/sock.c:2986 C_SYSC_setsockopt net/compat.c:403 [inline] compat_SyS_setsockopt+0x17c/0x410 net/compat.c:386 do_syscall_32_irqs_on arch/x86/entry/common.c:330 [inline] do_fast_syscall_32+0x3ec/0xf9f arch/x86/entry/common.c:392 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7fa8c99 RSP: 002b:00000000f77a409c EFLAGS: 00000286 ORIG_RAX: 000000000000016e RAX: ffffffffffffffda RBX: 0000000000000013 RCX: 0000000000000000 RDX: 0000000000000080 RSI: 0000000020001080 RDI: 0000000000000e04 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Code: 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 69 01 00 00 <45> 8b ac 24 04 04 00 00 41 81 fd a9 aa aa 0a 77 8f e8 e2 3e 55 RIP: poolsize_invalid net/bridge/netfilter/ebt_among.c:177 [inline] RSP: ffff8801b2b0f0e0 RIP: ebt_among_mt_check+0x1f8/0x390 net/bridge/netfilter/ebt_among.c:193 RSP: ffff8801b2b0f0e0 CR2: ffffc900077110bd ---[ end trace c8461aaf6b5ccf02 ]---