kernel msg: ebtables bug: please report to author: Wrong len argument BUG: unable to handle kernel paging request at ffffc900013d6b9e kernel msg: ebtables bug: please report to author: entries_size too small IP: ebt_among_mt_check+0xf8/0x3f0 net/bridge/netfilter/ebt_among.c:186 PGD 1dad2f067 P4D 1dad2f067 PUD 1dad30067 PMD 1d52af067 PTE 0 Oops: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) kernel msg: ebtables bug: please report to author: entries_size too small Modules linked in: CPU: 1 PID: 10751 Comm: syz-executor0 Not tainted 4.16.0-rc2+ #241 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ebt_among_mt_check+0xf8/0x3f0 net/bridge/netfilter/ebt_among.c:186 RSP: 0018:ffff8801ca0571a8 EFLAGS: 00010246 kernel msg: ebtables bug: please report to author: Wrong len argument RAX: 0000000000000009 RBX: ffffc900013d00c8 RCX: ffffffff851c04a7 RDX: 0000000000000000 RSI: ffffc90001911000 RDI: ffffc900013d6b9e RBP: ffff8801ca0571d8 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff88614300 R11: 0000000000000000 R12: ffffc900013d00d0 R13: ffffffff851c03e0 R14: ffffc900013d679a R15: ffffffff87701580 FS: 00007feb63645700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc900013d6b9e CR3: 00000001cae3f005 CR4: 00000000001606e0 audit: type=1400 audit(1519659958.780:53): avc: denied { shutdown } for pid=10736 comm="syz-executor6" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_netfilter_socket permissive=1 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 kernel msg: ebtables bug: please report to author: Wrong len argument kernel msg: ebtables bug: please report to author: entries_size too small kernel msg: ebtables bug: please report to author: Wrong len argument kernel msg: ebtables bug: please report to author: entries_size too small 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 do_replace+0x333/0x4b0 net/bridge/netfilter/ebtables.c:1141 do_ebt_set_ctl+0xd4/0x110 net/bridge/netfilter/ebtables.c:1518 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115 ip_setsockopt+0x97/0xa0 net/ipv4/ip_sockglue.c:1261 udp_setsockopt+0x45/0x80 net/ipv4/udp.c:2406 ipv6_setsockopt+0xa0/0x130 net/ipv6/ipv6_sockglue.c:917 udpv6_setsockopt+0x45/0x80 net/ipv6/udp.c:1422 sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2979 SYSC_setsockopt net/socket.c:1850 [inline] SyS_setsockopt+0x189/0x360 net/socket.c:1829 do_syscall_64+0x280/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x453de9 RSP: 002b:00007feb63644c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007feb636456d4 RCX: 0000000000453de9 RDX: 0000000000000080 RSI: 0000000000000000 RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000001088 R09: 0000000000000000 R10: 00000000200000c0 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000004d4 R14: 00000000006f7480 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 cb 02 00 00 <41> 8b 86 04 04 00 00 8d 04 40 44 8d 3c 85 14 04 00 00 eb 1f e8 RIP: ebt_among_mt_check+0xf8/0x3f0 net/bridge/netfilter/ebt_among.c:186 RSP: ffff8801ca0571a8 CR2: ffffc900013d6b9e ---[ end trace 6a965f43533ff69f ]---