x_tables: ip_tables: icmp match: only valid for protocol 1 xt_addrtype: ipv6 does not support BROADCAST matching ============================= WARNING: suspicious RCU usage 4.15.0+ #307 Not tainted ----------------------------- ./include/linux/rcupdate.h:302 Illegal context switch in RCU read-side critical section! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 1 lock held by syz-executor0/16985: #0: (rcu_read_lock){....}, at: [<00000000486f4e68>] __rds_conn_create+0xe46/0x1b50 net/rds/connection.c:218 stack backtrace: CPU: 0 PID: 16985 Comm: syz-executor0 Not tainted 4.15.0+ #307 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 lockdep_rcu_suspicious+0x123/0x170 kernel/locking/lockdep.c:4592 rcu_preempt_sleep_check include/linux/rcupdate.h:301 [inline] ___might_sleep+0x385/0x470 kernel/sched/core.c:6093 __might_sleep+0x95/0x190 kernel/sched/core.c:6081 slab_pre_alloc_hook mm/slab.h:420 [inline] slab_alloc mm/slab.c:3365 [inline] kmem_cache_alloc+0x2a2/0x760 mm/slab.c:3539 rds_tcp_conn_alloc+0xa7/0x4e0 net/rds/tcp.c:296 __rds_conn_create+0x112f/0x1b50 net/rds/connection.c:227 rds_conn_create_outgoing+0x3f/0x50 net/rds/connection.c:309 rds_sendmsg+0xda3/0x2390 net/rds/send.c:1126 sock_sendmsg_nosec net/socket.c:630 [inline] sock_sendmsg+0xca/0x110 net/socket.c:640 ___sys_sendmsg+0x767/0x8b0 net/socket.c:2046 __sys_sendmsg+0xe5/0x210 net/socket.c:2080 SYSC_sendmsg net/socket.c:2091 [inline] SyS_sendmsg+0x2d/0x50 net/socket.c:2087 do_syscall_64+0x282/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x26/0x9b RIP: 0033:0x453a59 RSP: 002b:00007f307757dc68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f307757e6d4 RCX: 0000000000453a59 RDX: 0000000000000000 RSI: 0000000020006fc8 RDI: 0000000000000013 RBP: 000000000071bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000004b5 R14: 00000000006f7198 R15: 0000000000000000 BUG: sleeping function called from invalid context at mm/slab.h:420 in_atomic(): 1, irqs_disabled(): 0, pid: 16985, name: syz-executor0 xt_AUDIT: Audit type out of range (valid range: 0..2) 1 lock held by syz-executor0/16985: #0: xt_AUDIT: Audit type out of range (valid range: 0..2) (rcu_read_lock){....}, at: [<00000000486f4e68>] __rds_conn_create+0xe46/0x1b50 net/rds/connection.c:218 CPU: 0 PID: 16985 Comm: syz-executor0 Not tainted 4.15.0+ #307 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 ___might_sleep+0x2b2/0x470 kernel/sched/core.c:6128 __might_sleep+0x95/0x190 kernel/sched/core.c:6081 slab_pre_alloc_hook mm/slab.h:420 [inline] slab_alloc mm/slab.c:3365 [inline] kmem_cache_alloc+0x2a2/0x760 mm/slab.c:3539 rds_tcp_conn_alloc+0xa7/0x4e0 net/rds/tcp.c:296 __rds_conn_create+0x112f/0x1b50 net/rds/connection.c:227 rds_conn_create_outgoing+0x3f/0x50 net/rds/connection.c:309 rds_sendmsg+0xda3/0x2390 net/rds/send.c:1126 sock_sendmsg_nosec net/socket.c:630 [inline] sock_sendmsg+0xca/0x110 net/socket.c:640 ___sys_sendmsg+0x767/0x8b0 net/socket.c:2046 __sys_sendmsg+0xe5/0x210 net/socket.c:2080 SYSC_sendmsg net/socket.c:2091 [inline] SyS_sendmsg+0x2d/0x50 net/socket.c:2087 do_syscall_64+0x282/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x26/0x9b RIP: 0033:0x453a59 RSP: 002b:00007f307757dc68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f307757e6d4 RCX: 0000000000453a59 RDX: 0000000000000000 RSI: 0000000020006fc8 RDI: 0000000000000013 RBP: 000000000071bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000004b5 R14: 00000000006f7198 R15: 0000000000000000 xt_addrtype: ipv6 does not support BROADCAST matching xt_addrtype: ipv6 does not support BROADCAST matching netlink: 3 bytes leftover after parsing attributes in process `syz-executor5'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor5'. xt_addrtype: ipv6 does not support BROADCAST matching device eql entered promiscuous mode audit: type=1400 audit(1518264944.165:117): avc: denied { map_create } for pid=17100 comm="syz-executor5" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=bpf permissive=1 IPv4: Oversized IP packet from 127.0.0.1 device gre0 entered promiscuous mode IPVS: ftp: loaded support on port[0] = 21 IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready xt_connbytes: Forcing CT accounting to be enabled audit: type=1400 audit(1518264947.352:118): avc: denied { map_read map_write } for pid=17643 comm="syz-executor3" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=bpf permissive=1 ptrace attach of "/root/syz-executor4"[6082] was attempted by "/root/syz-executor4"[17810] ptrace attach of "/root/syz-executor4"[6082] was attempted by "/root/syz-executor4"[17805] netlink: 2 bytes leftover after parsing attributes in process `syz-executor7'. netlink: 2 bytes leftover after parsing attributes in process `syz-executor7'. selinux_nlmsg_perm: 36 callbacks suppressed SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=17968 comm=syz-executor3 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=17977 comm=syz-executor3 ptrace attach of "/root/syz-executor1"[4221] was attempted by "/root/syz-executor1"[18012] ptrace attach of "/root/syz-executor1"[4221] was attempted by "/root/syz-executor1"[18023] netlink: 188 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 188 bytes leftover after parsing attributes in process `syz-executor4'. audit: type=1400 audit(1518264949.212:119): avc: denied { setopt } for pid=18221 comm="syz-executor4" 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 Cannot find add_set index 0 as target Cannot find add_set index 0 as target bridge0: Invalid MTU 31 requested, hw min 68 bridge0: Invalid MTU 31 requested, hw min 68 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=282 sclass=netlink_audit_socket pig=18374 comm=syz-executor4 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=282 sclass=netlink_audit_socket pig=18377 comm=syz-executor4 ptrace attach of "/root/syz-executor2"[4216] was attempted by "/root/syz-executor2"[18447] ptrace attach of "/root/syz-executor2"[4216] was attempted by "/root/syz-executor2"[18447] device gre0 entered promiscuous mode device gre0 entered promiscuous mode dccp_invalid_packet: P.Data Offset(0) too small dccp_invalid_packet: P.Data Offset(0) too small xt_limit: Overflow, try lower: 0/0 xt_hashlimit: overflow, try lower: 0/0 xt_limit: Overflow, try lower: 0/0 xt_hashlimit: overflow, try lower: 0/0 xt_limit: Overflow, try lower: 0/0 audit: type=1326 audit(1518264951.398:120): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=18846 comm="syz-executor2" exe="/root/syz-executor2" sig=31 arch=c000003e syscall=202 compat=0 ip=0x453a59 code=0xffff0000 audit: type=1326 audit(1518264951.459:121): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=18846 comm="syz-executor2" exe="/root/syz-executor2" sig=31 arch=c000003e syscall=202 compat=0 ip=0x453a59 code=0xffff0000 device eql entered promiscuous mode xt_limit: Overflow, try lower: 0/0 xt_limit: Overflow, try lower: 0/0 xt_limit: Overflow, try lower: 0/0 netlink: 48 bytes leftover after parsing attributes in process `syz-executor5'. raw_sendmsg: syz-executor4 forgot to set AF_INET. Fix it! netlink: 48 bytes leftover after parsing attributes in process `syz-executor5'. audit: type=1326 audit(1518264952.583:122): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=19196 comm="syz-executor7" exe="/root/syz-executor7" sig=31 arch=c000003e syscall=202 compat=0 ip=0x453a59 code=0xffff0000 audit: type=1326 audit(1518264952.645:123): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=19196 comm="syz-executor7" exe="/root/syz-executor7" sig=31 arch=c000003e syscall=202 compat=0 ip=0x453a59 code=0xffff0000 netlink: 2 bytes leftover after parsing attributes in process `syz-executor1'. netlink: 2 bytes leftover after parsing attributes in process `syz-executor1'.