============================= WARNING: suspicious RCU usage 4.15.0+ #308 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-executor2/5300: #0: (rcu_read_lock){....}, at: [<0000000019e888f2>] __rds_conn_create+0xe46/0x1b50 net/rds/connection.c:218 stack backtrace: CPU: 1 PID: 5300 Comm: syz-executor2 Not tainted 4.15.0+ #308 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:00007f8cb2f4ec68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f8cb2f4f6d4 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: 5300, name: syz-executor2 1 lock held by syz-executor2/5300: #0: (rcu_read_lock){....}, at: [<0000000019e888f2>] __rds_conn_create+0xe46/0x1b50 net/rds/connection.c:218 CPU: 1 PID: 5300 Comm: syz-executor2 Not tainted 4.15.0+ #308 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:00007f8cb2f4ec68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f8cb2f4f6d4 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 atomic_op 00000000daf634c8 conn xmit_atomic (null) kauditd_printk_skb: 5 callbacks suppressed audit: type=1400 audit(1518390861.630:24): avc: denied { create } for pid=5314 comm="syz-executor7" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=1 audit: type=1400 audit(1518390861.632:25): avc: denied { read } for pid=5314 comm="syz-executor7" path="socket:[14796]" dev="sockfs" ino=14796 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=1 audit: type=1400 audit(1518390861.671:26): avc: denied { write } for pid=5314 comm="syz-executor7" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=1 audit: type=1400 audit(1518390861.758:27): avc: denied { map_create } for pid=5335 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 audit: type=1400 audit(1518390861.764:28): avc: denied { map_read map_write } for pid=5335 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 audit: type=1400 audit(1518390861.990:29): avc: denied { prog_load } for pid=5349 comm="syz-executor0" 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 audit: type=1400 audit(1518390862.035:30): avc: denied { prog_run } for pid=5349 comm="syz-executor0" 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 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=5387 comm=syz-executor2 audit: type=1400 audit(1518390862.048:31): avc: denied { ipc_owner } for pid=5370 comm="syz-executor3" capability=15 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 syz-executor0 (5357) used greatest stack depth: 15784 bytes left audit: type=1400 audit(1518390862.160:32): avc: denied { map } for pid=5401 comm="syz-executor4" path="/dev/ashmem" dev="devtmpfs" ino=1113 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file permissive=1 syz-executor3 uses obsolete (PF_INET,SOCK_PACKET) audit: type=1400 audit(1518390862.343:33): avc: denied { name_bind } for pid=5446 comm="syz-executor0" src=20000 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:port_t:s0 tclass=dccp_socket permissive=1 futex_wake_op: syz-executor4 tries to shift op by -1; fix this program QAT: Invalid ioctl QAT: Invalid ioctl futex_wake_op: syz-executor4 tries to shift op by -1; fix this program QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl tc_dump_action: action bad kind QAT: Invalid ioctl tc_dump_action: action bad kind QAT: Invalid ioctl sg_write: data in/out 219152352/582 bytes for SCSI command 0x0-- guessing data in; program syz-executor5 not setting count and/or reply_len properly QAT: Invalid ioctl capability: warning: `syz-executor0' uses 32-bit capabilities (legacy support in use) Can not set IPV6_FL_F_REFLECT if flowlabel_consistency sysctl is enable Can not set IPV6_FL_F_REFLECT if flowlabel_consistency sysctl is enable capability: warning: `syz-executor0' uses deprecated v2 capabilities in a way that may be insecure RDS: rds_bind could not find a transport for 172.20.0.187, load rds_tcp or rds_rdma? RDS: rds_bind could not find a transport for 172.20.0.187, load rds_tcp or rds_rdma? IPv4: Oversized IP packet from 127.0.0.1 IPv4: Oversized IP packet from 127.0.0.1 ip6t_REJECT: ECHOREPLY is not supported. ip6t_REJECT: ECHOREPLY is not supported. IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready syz-executor2 (5844) used greatest stack depth: 15728 bytes left dccp_invalid_packet: P.type (REQUEST) not Data || [Data]Ack, while P.X == 0 dccp_invalid_packet: P.type (REQUEST) not Data || [Data]Ack, while P.X == 0 TCP: request_sock_TCP: Possible SYN flooding on port 20022. Sending cookies. Check SNMP counters. TCP: request_sock_TCP: Possible SYN flooding on port 20010. Sending cookies. Check SNMP counters. DRBG: could not allocate CTR cipher TFM handle: ctr(aes) syz-executor5 (5929) used greatest stack depth: 15328 bytes left binder: 6026:6033 Acquire 1 refcount change on invalid ref 0 ret -22 binder: 6026:6046 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 6026:6033 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 binder: 6033 RLIMIT_NICE not set SELinux: unrecognized netlink message: protocol=0 nlmsg_type=61187 sclass=netlink_route_socket pig=6054 comm=syz-executor7 binder: 6026:6049 Acquire 1 refcount change on invalid ref 0 ret -22 binder: 6026:6055 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=61187 sclass=netlink_route_socket pig=6063 comm=syz-executor7 binder: 6026:6049 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 binder: 6049 RLIMIT_NICE not set binder: 6058:6061 Release 1 refcount change on invalid ref 3 ret -22 binder: BINDER_SET_CONTEXT_MGR already set binder: 6058:6072 Release 1 refcount change on invalid ref 3 ret -22 binder: 6058:6061 ioctl 40046207 0 returned -16 ip6_tables: ip6tables: counters copy to user failed while replacing table ip6_tables: ip6tables: counters copy to user failed while replacing table BUG: sleeping function called from invalid context at mm/slab.h:420 in_atomic(): 1, irqs_disabled(): 0, pid: 6244, name: syz-executor3 1 lock held by syz-executor3/6244: #0: (rcu_read_lock){....}, at: [<0000000019e888f2>] __rds_conn_create+0xe46/0x1b50 net/rds/connection.c:218 CPU: 0 PID: 6244 Comm: syz-executor3 Tainted: G W 4.15.0+ #308 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_trace+0x299/0x740 mm/slab.c:3605 kmalloc include/linux/slab.h:512 [inline] kzalloc include/linux/slab.h:701 [inline] rds_loop_conn_alloc+0xc8/0x380 net/rds/loop.c:126 __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:00007f0531b1dc68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f0531b1e6d4 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 QAT: Invalid ioctl mip6: mip6_destopt_init_state: state's mode is not 2: 0 mip6: mip6_destopt_init_state: state's mode is not 2: 0 QAT: Invalid ioctl ipt_CLUSTERIP: Please specify destination IP ipt_CLUSTERIP: Please specify destination IP syz-executor6 (6325): /proc/6316/oom_adj is deprecated, please use /proc/6316/oom_score_adj instead. netlink: 96 bytes leftover after parsing attributes in process `syz-executor3'. openvswitch: netlink: Flow get message rejected, Key attribute missing. netlink: 96 bytes leftover after parsing attributes in process `syz-executor3'. openvswitch: netlink: Flow get message rejected, Key attribute missing. l2tp_ppp: tunl 59: set debug=f55d40e mmap: syz-executor6 (6445) uses deprecated remap_file_pages() syscall. See Documentation/vm/remap_file_pages.txt. sctp: [Deprecated]: syz-executor4 (pid 6539) Use of int in max_burst socket option. Use struct sctp_assoc_value instead TCP: request_sock_TCPv6: Possible SYN flooding on port 20030. Sending cookies. Check SNMP counters. could not allocate digest TFM handle ½ha3-512-generic QAT: Invalid ioctl could not allocate digest TFM handle ½ha3-512-generic QAT: Invalid ioctl syz-executor4 (6626) used greatest stack depth: 14560 bytes left device eql entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): eql: link is not ready kauditd_printk_skb: 8 callbacks suppressed audit: type=1400 audit(1518390868.698:42): avc: denied { map } for pid=6684 comm="syz-executor4" path=2F6D656D66643A706F73FB202864656C6574656429 dev="tmpfs" ino=17700 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:tmpfs_t:s0 tclass=file permissive=1 binder: 6697:6707 BC_DEAD_BINDER_DONE 0000000000000000 not found binder: 6697:6707 got reply transaction with no transaction stack binder: 6697:6707 transaction failed 29201/-71, size 0-8 line 2757 binder: 6697:6717 BC_DEAD_BINDER_DONE 0000000000000000 not found binder: 6697:6717 got reply transaction with no transaction stack binder: 6697:6717 transaction failed 29201/-71, size 0-8 line 2757 binder: undelivered TRANSACTION_ERROR: 29201 binder: undelivered TRANSACTION_ERROR: 29201 binder: 6828:6830 Acquire 1 refcount change on invalid ref 0 ret -22 binder: 6828:6830 BC_REQUEST_DEATH_NOTIFICATION invalid ref 2 QAT: Invalid ioctl binder: 6828:6852 Acquire 1 refcount change on invalid ref 0 ret -22 QAT: Invalid ioctl binder: 6828:6852 BC_REQUEST_DEATH_NOTIFICATION invalid ref 2 net_ratelimit: 2 callbacks suppressed dccp_invalid_packet: P.Data Offset(118) too large dccp_invalid_packet: P.Data Offset(118) too large audit: type=1400 audit(1518390869.825:43): avc: denied { validate_trans } for pid=6936 comm="syz-executor4" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:security_t:s0 tclass=security permissive=1 IPv6: Can't replace route, no match found IPv6: Can't replace route, no match found x_tables: ip6_tables: rpfilter match: used from hooks PREROUTING/OUTPUT, but only valid from PREROUTING QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl xt_connbytes: Forcing CT accounting to be enabled