============================= 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-executor1/10686: #0: (rcu_read_lock){....}, at: [<000000005b080bf6>] __rds_conn_create+0xe46/0x1b50 net/rds/connection.c:218 stack backtrace: CPU: 0 PID: 10686 Comm: syz-executor1 Not tainted 4.15.0+ #308 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 audit: type=1400 audit(1518377520.860:72): avc: denied { lock } for pid=10684 comm="syz-executor5" path="socket:[28724]" dev="sockfs" ino=28724 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 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:00007fc0ce3f0c68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fc0ce3f16d4 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: 10686, name: syz-executor1 1 lock held by syz-executor1/10686: #0: (rcu_read_lock){....}, at: [<000000005b080bf6>] __rds_conn_create+0xe46/0x1b50 net/rds/connection.c:218 CPU: 0 PID: 10686 Comm: syz-executor1 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:00007fc0ce3f0c68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fc0ce3f16d4 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 irq bypass consumer (token 000000000b3a877e) registration fails: -16 atomic_op 00000000e71ad48d conn xmit_atomic (null) audit: type=1400 audit(1518377522.063:73): avc: denied { getopt } for pid=10798 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=netlink_generic_socket permissive=1 ip6_tables: ip6tables: counters copy to user failed while replacing table SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=10873 comm=syz-executor3 ip6_tables: ip6tables: counters copy to user failed while replacing table SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=10873 comm=syz-executor3 QAT: Invalid ioctl device eql entered promiscuous mode QAT: Invalid ioctl QAT: Invalid ioctl netlink: 416 bytes leftover after parsing attributes in process `syz-executor0'. audit: type=1400 audit(1518377524.360:74): avc: denied { setattr } for pid=11310 comm="syz-executor2" name="cmdline" dev="proc" ino=30326 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=file permissive=1 binder: 11344 RLIMIT_NICE not set binder: BINDER_SET_CONTEXT_MGR already set binder: 11337:11354 ioctl 40046207 0 returned -16 binder: 11337:11344 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 binder: 11337:11354 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 TCP: request_sock_TCPv6: Possible SYN flooding on port 20014. Sending cookies. Check SNMP counters. TCP: request_sock_TCPv6: Possible SYN flooding on port 20014. Sending cookies. Check SNMP counters. audit: type=1400 audit(1518377526.548:75): avc: denied { relabelfrom } for pid=11579 comm="syz-executor4" name="NETLINK" dev="sockfs" ino=30987 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 audit: type=1400 audit(1518377526.588:76): avc: denied { relabelto } for pid=11579 comm="syz-executor4" name="NETLINK" dev="sockfs" ino=30987 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:system_r:kernel_t:s0 tclass=netlink_netfilter_socket permissive=1 binder: 11711:11717 Acquire 1 refcount change on invalid ref 0 ret -22 binder: 11711:11717 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 ALSA: seq fatal error: cannot create timer (-16) binder: 11711:11730 Acquire 1 refcount change on invalid ref 0 ret -22 binder: 11711:11730 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 audit: type=1400 audit(1518377527.557:77): avc: denied { create } for pid=11780 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=netlink_iscsi_socket permissive=1 QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl x_tables: ip_tables: set.4 match: invalid size 48 (kernel) != (user) 40 x_tables: ip_tables: set.4 match: invalid size 48 (kernel) != (user) 40 QAT: Invalid ioctl binder: BINDER_SET_CONTEXT_MGR already set binder: 11961:11973 ioctl 40046207 0 returned -16 binder_alloc: 11961: binder_alloc_buf, no vma binder: 11961:11987 transaction failed 29189/-3, size 0-0 line 2957 binder_alloc: binder_alloc_mmap_handler: 11961 20000000-20002000 already mapped failed -16 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_COMPLETE binder: undelivered transaction 12, process died. IPVS: ftp: loaded support on port[0] = 21 audit: type=1400 audit(1518377528.611:78): avc: denied { map } for pid=12060 comm="syz-executor1" path="/243/file0" dev="tmpfs" ino=31625 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:tmpfs_t:s0 tclass=dir permissive=1 QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl mmap: syz-executor6 (12112): VmData 17305600 exceed data ulimit 166. Update limits or use boot option ignore_rlimit_data. ptrace attach of "/root/syz-executor0"[4162] was attempted by "/root/syz-executor0"[12365] ptrace attach of "/root/syz-executor0"[4162] was attempted by "/root/syz-executor0"[12382] binder: 12472:12487 Acquire 1 refcount change on invalid ref 0 ret -22 binder: 12472:12476 Release 1 refcount change on invalid ref 0 ret -22