============================= 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 $/6856: #0: (rcu_read_lock){....}, at: [<000000003909b658>] __rds_conn_create+0xe46/0x1b50 net/rds/connection.c:218 stack backtrace: CPU: 0 PID: 6856 Comm: $ 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:00007f6fa7f5bc68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f6fa7f5c6d4 RCX: 0000000000453a59 RDX: 0000000000000000 RSI: 0000000020fc5fc8 RDI: 0000000000000013 RBP: 000000000071bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000004a7 R14: 00000000006f7048 R15: 0000000000000000 BUG: sleeping function called from invalid context at mm/slab.h:420 in_atomic(): 1, irqs_disabled(): 0, pid: 6856, name: $ 1 lock held by $/6856: #0: (rcu_read_lock){....}, at: [<000000003909b658>] __rds_conn_create+0xe46/0x1b50 net/rds/connection.c:218 CPU: 0 PID: 6856 Comm: $ 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:00007f6fa7f5bc68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f6fa7f5c6d4 RCX: 0000000000453a59 RDX: 0000000000000000 RSI: 0000000020fc5fc8 RDI: 0000000000000013 RBP: 000000000071bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000004a7 R14: 00000000006f7048 R15: 0000000000000000 audit: type=1400 audit(1518381349.640:42): avc: denied { setpcap } for pid=6949 comm="syz-executor4" capability=8 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 Cannot find del_set index 0 as target Cannot find del_set index 0 as target binder: BINDER_SET_CONTEXT_MGR already set binder: 7000:7008 ioctl 40046207 0 returned -16 binder_alloc: 7000: binder_alloc_buf, no vma binder: 7000:7022 transaction failed 29189/-3, size 40-0 line 2957 netlink: 17 bytes leftover after parsing attributes in process `syz-executor1'. netlink: 17 bytes leftover after parsing attributes in process `syz-executor1'. binder: undelivered TRANSACTION_ERROR: 29189 binder: release 7000:7008 transaction 14 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 14, target dead syz-executor4 (7080): /proc/7074/oom_adj is deprecated, please use /proc/7074/oom_score_adj instead. QAT: Invalid ioctl QAT: Invalid ioctl netlink: 4 bytes leftover after parsing attributes in process `syz-executor4'. x_tables: ip_tables: cgroup match: used from hooks FORWARD, but only valid from INPUT/OUTPUT/POSTROUTING audit: type=1400 audit(1518381351.216:43): avc: denied { map } for pid=7290 comm="syz-executor5" path="/dev/sg0" dev="devtmpfs" ino=70 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:scsi_generic_device_t:s0 tclass=chr_file permissive=1 QAT: Invalid ioctl QAT: Invalid ioctl audit: type=1400 audit(1518381351.404:44): avc: denied { prog_run } for pid=7331 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=bpf permissive=1 audit: type=1400 audit(1518381351.430:45): avc: denied { net_bind_service } for pid=7333 comm="syz-executor4" capability=10 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 Cannot find add_set index 3 as target audit: type=1400 audit(1518381351.858:46): avc: denied { create } for pid=7455 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_fib_lookup_socket permissive=1 sock: sock_set_timeout: `syz-executor5' (pid 7530) tries to set negative timeout sock: sock_set_timeout: `syz-executor5' (pid 7538) tries to set negative timeout binder_alloc: binder_alloc_mmap_handler: 7612 20000000-20002000 already mapped failed -16 QAT: Invalid ioctl QAT: Invalid ioctl kauditd_printk_skb: 6 callbacks suppressed audit: type=1400 audit(1518381353.130:53): avc: denied { map } for pid=7698 comm="syz-executor6" path="/92/file0/bus" dev="ramfs" ino=23676 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:ramfs_t:s0 tclass=file permissive=1 audit: type=1400 audit(1518381353.271:54): avc: denied { net_bind_service } for pid=5937 comm="kworker/u5:1" capability=10 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=cap_userns permissive=1 hrtimer: interrupt took 25281 ns TCP: request_sock_TCPv6: Possible SYN flooding on port 20022. Sending cookies. Check SNMP counters. netlink: 'syz-executor7': attribute type 2 has an invalid length. netlink: 'syz-executor7': attribute type 2 has an invalid length. audit: type=1400 audit(1518381353.500:55): avc: denied { setopt } for pid=7798 comm="syz-executor2" 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(1518381353.623:56): avc: denied { net_broadcast } for pid=7806 comm="syz-executor7" capability=11 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 audit: type=1400 audit(1518381353.810:57): avc: denied { getopt } for pid=7870 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=netlink_crypto_socket permissive=1 SELinux: Invalid class 85 SELinux: unknown mount option SELinux: Invalid class 85 SELinux: unknown mount option sock: sock_set_timeout: `syz-executor3' (pid 8033) tries to set negative timeout sock: sock_set_timeout: `syz-executor3' (pid 8037) tries to set negative timeout netlink: 1204 bytes leftover after parsing attributes in process `syz-executor1'. netlink: 1204 bytes leftover after parsing attributes in process `syz-executor1'. netlink: 1204 bytes leftover after parsing attributes in process `syz-executor1'. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=8083 comm=syz-executor1 IPv4: Oversized IP packet from 127.0.0.1 audit: type=1400 audit(1518381354.856:58): avc: denied { net_admin } for pid=4225 comm="syz-executor6" capability=12 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 audit: type=1400 audit(1518381354.857:59): avc: denied { dac_read_search } for pid=8118 comm="syz-executor5" capability=2 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 audit: type=1400 audit(1518381354.857:60): avc: denied { net_raw } for pid=8118 comm="syz-executor5" capability=13 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 IPv4: Oversized IP packet from 127.0.0.1 device eql entered promiscuous mode xt_CT: netfilter: NOTRACK target is deprecated, use CT instead or upgrade iptables binder: 8397 RLIMIT_NICE not set syz-executor1 (8379) used greatest stack depth: 14240 bytes left binder: BINDER_SET_CONTEXT_MGR already set binder: 8394:8406 ioctl 40046207 0 returned -16 binder: undelivered death notification, 0000000000000000 binder: 8412:8417 transaction failed 29189/-22, size 0-0 line 2842 binder: BINDER_SET_CONTEXT_MGR already set binder: 8409:8429 ioctl 40046207 0 returned -16 binder: 8409:8429 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 binder: 8412:8436 transaction failed 29189/-22, size 0-0 line 2842 binder: undelivered death notification, 0000000000000000 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 binder: BINDER_SET_CONTEXT_MGR already set binder: 8443:8449 ioctl 40046207 0 returned -16 binder_alloc: 8443: binder_alloc_buf, no vma binder: 8443:8447 transaction failed 29189/-3, size 40-0 line 2957 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_COMPLETE binder: undelivered transaction 24, process died. QAT: Invalid ioctl QAT: Invalid ioctl xt_socket: unknown flags 0xf8 Cannot find add_set index 0 as target QAT: Invalid ioctl Cannot find add_set index 0 as target TCP: request_sock_TCP: Possible SYN flooding on port 20014. Sending cookies. Check SNMP counters. QAT: Invalid ioctl 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? binder: 8743:8756 ioctl c0286404 2000c577 returned -22 binder: release 8743:8747 transaction 27 out, still active binder: send failed reply for transaction 27, target dead binder: 8743:8756 transaction failed 29189/-22, size 0-0 line 2842 binder: 8743:8756 ioctl c0286404 2000c577 returned -22 xprt_adjust_timeout: rq_timeout = 0! binder: undelivered TRANSACTION_ERROR: 29189 xprt_adjust_timeout: rq_timeout = 0! syz-executor3 (8794) used greatest stack depth: 13520 bytes left IPv4: Oversized IP packet from 127.0.0.1 IPv4: Oversized IP packet from 127.0.0.1