SELinux: unrecognized netlink message: protocol=0 nlmsg_type=31856 sclass=netlink_route_socket pig=30105 comm=syz-executor1 BUG: unable to handle kernel paging request at ffffc900063a5a0e netlink: 'syz-executor4': attribute type 29 has an invalid length. IP: poolsize_invalid net/bridge/netfilter/ebt_among.c:177 [inline] IP: ebt_among_mt_check+0x137/0x390 net/bridge/netfilter/ebt_among.c:201 PGD 1dad2f067 P4D 1dad2f067 PUD 1dad30067 netlink: 8 bytes leftover after parsing attributes in process `syz-executor4'. PMD 1a8921067 PTE 0 Oops: 0000 [#1] SMP KASAN Dumping ftrace buffer: netlink: 'syz-executor4': attribute type 29 has an invalid length. (ftrace buffer empty) Modules linked in: CPU: 0 PID: 30123 Comm: syz-executor2 Not tainted 4.16.0-rc4+ #270 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+0x137/0x390 net/bridge/netfilter/ebt_among.c:201 RSP: 0018:ffff8801d2417208 EFLAGS: 00010246 netlink: 8 bytes leftover after parsing attributes in process `syz-executor4'. RAX: 0000000000000009 RBX: ffffc9000639b298 RCX: ffffffff851c1886 RDX: 0000000000000000 RSI: ffffc90004bee000 RDI: ffffc900063a5a0e RBP: ffff8801d2417240 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff88615380 R11: 0000000000000000 R12: ffffc9000639b2b8 netlink: 'syz-executor4': attribute type 29 has an invalid length. R13: ffffc900063a560a R14: 00000000000008b0 R15: 000000000000042c FS: 00007fba87957700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc900063a5a0e CR3: 00000001cc0c1002 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 netlink: 8 bytes leftover after parsing attributes in process `syz-executor4'. DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: xt_check_match+0x235/0x9c0 net/netfilter/x_tables.c:469 netlink: 'syz-executor4': attribute type 29 has an invalid length. netlink: 8 bytes leftover after parsing attributes in process `syz-executor4'. ebt_check_match net/bridge/netfilter/ebtables.c:374 [inline] ebt_check_entry+0xbc3/0x1e00 net/bridge/netfilter/ebtables.c:704 netlink: 'syz-executor4': attribute type 29 has an invalid length. netlink: 8 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 'syz-executor4': attribute type 29 has an invalid length. translate_table+0xcf5/0x2290 net/bridge/netfilter/ebtables.c:945 netlink: 8 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 'syz-executor4': attribute type 29 has an invalid length. netlink: 8 bytes leftover after parsing attributes in process `syz-executor4'. do_replace_finish+0x79a/0x2620 net/bridge/netfilter/ebtables.c:1002 netlink: 'syz-executor4': attribute type 29 has an invalid length. netlink: 8 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 'syz-executor4': attribute type 29 has an invalid length. 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 dccp_setsockopt+0x85/0xd0 net/dccp/proto.c:576 sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2978 SYSC_setsockopt net/socket.c:1850 [inline] SyS_setsockopt+0x189/0x360 net/socket.c:1829 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x453e69 RSP: 002b:00007fba87956c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fba879576d4 RCX: 0000000000453e69 RDX: 0000000000000080 RSI: 0000000000000000 RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000dc8 R09: 0000000000000000 R10: 00000000200002c0 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000004e9 R14: 00000000006f7678 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 20 02 00 00 <41> 8b 85 04 04 00 00 3d a9 aa aa 0a 77 53 89 45 d0 e8 13 f1 54 RIP: poolsize_invalid net/bridge/netfilter/ebt_among.c:177 [inline] RSP: ffff8801d2417208 RIP: ebt_among_mt_check+0x137/0x390 net/bridge/netfilter/ebt_among.c:201 RSP: ffff8801d2417208 CR2: ffffc900063a5a0e ---[ end trace c6fe2ececb148fd1 ]---