============================= 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-executor3/7178: #0: (rcu_read_lock){....}, at: [<000000007a0057a1>] __rds_conn_create+0xe46/0x1b50 net/rds/connection.c:218 stack backtrace: CPU: 1 PID: 7178 Comm: syz-executor3 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_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 SYSC_sendto+0x361/0x5c0 net/socket.c:1747 SyS_sendto+0x40/0x50 net/socket.c:1715 do_syscall_64+0x282/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x26/0x9b RIP: 0033:0x453a59 RSP: 002b:00007fbfe82ecc68 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fbfe82ed6d4 RCX: 0000000000453a59 RDX: 0000000000000001 RSI: 0000000020218000 RDI: 0000000000000013 RBP: 000000000071bea0 R08: 0000000020062000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000004b9 R14: 00000000006f71f8 R15: 0000000000000000 BUG: sleeping function called from invalid context at mm/slab.h:420 in_atomic(): 1, irqs_disabled(): 0, pid: 7178, name: syz-executor3 1 lock held by syz-executor3/7178: #0: (rcu_read_lock){....}, at: [<000000007a0057a1>] __rds_conn_create+0xe46/0x1b50 net/rds/connection.c:218 CPU: 1 PID: 7178 Comm: syz-executor3 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_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 SYSC_sendto+0x361/0x5c0 net/socket.c:1747 SyS_sendto+0x40/0x50 net/socket.c:1715 do_syscall_64+0x282/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x26/0x9b RIP: 0033:0x453a59 RSP: 002b:00007fbfe82ecc68 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fbfe82ed6d4 RCX: 0000000000453a59 RDX: 0000000000000001 RSI: 0000000020218000 RDI: 0000000000000013 RBP: 000000000071bea0 R08: 0000000020062000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000004b9 R14: 00000000006f71f8 R15: 0000000000000000 device syz7 entered promiscuous mode audit: type=1400 audit(1518301957.543:47): avc: denied { getopt } for pid=7216 comm="syz-executor1" 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 syz-executor0 (7248): /proc/7244/oom_adj is deprecated, please use /proc/7244/oom_score_adj instead. xt_CT: You must specify a L4 protocol, and not use inversions on it. netlink: 'syz-executor3': attribute type 20 has an invalid length. xt_CT: You must specify a L4 protocol, and not use inversions on it. netlink: 'syz-executor3': attribute type 20 has an invalid length. device eql entered promiscuous mode audit: type=1400 audit(1518301958.151:48): avc: denied { getattr } for pid=7334 comm="syz-executor3" path="socket:[19989]" dev="sockfs" ino=19989 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 netlink: 40 bytes leftover after parsing attributes in process `syz-executor0'. NFQUEUE: number of queues (438) out of range (got 65951) NFQUEUE: number of queues (438) out of range (got 65951) device eql entered promiscuous mode audit: type=1400 audit(1518301959.037:49): avc: denied { map } for pid=7491 comm="syz-executor4" path="/selinux/status" dev="selinuxfs" ino=19 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:security_t:s0 tclass=file permissive=1 audit: type=1400 audit(1518301959.431:50): avc: denied { map } for pid=7592 comm="syz-executor4" path="/dev/binder0" dev="devtmpfs" ino=8999 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file permissive=1 binder: release 7592:7594 transaction 4 out, still active audit: type=1400 audit(1518301959.440:51): avc: denied { call } for pid=7592 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=binder permissive=1 binder: undelivered TRANSACTION_COMPLETE binder: 7592:7594 BC_DEAD_BINDER_DONE 0000000000000003 not found binder: 7592:7594 BC_FREE_BUFFER uffffffffffffffff no match binder: 7592:7594 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 binder: 7592:7594 DecRefs 0 refcount change on invalid ref 0 ret -22 binder: 7592:7594 BC_INCREFS_DONE uffffffffffffffff no match binder: BINDER_SET_CONTEXT_MGR already set binder: 7592:7607 ioctl 40046207 0 returned -16 binder_alloc: 7592: binder_alloc_buf, no vma binder: 7592:7605 transaction failed 29189/-3, size 0-0 line 2957 binder: 7592:7607 BC_DEAD_BINDER_DONE 0000000000000003 not found binder: 7592:7607 BC_FREE_BUFFER uffffffffffffffff no match binder: 7592:7607 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 binder: 7592:7607 DecRefs 0 refcount change on invalid ref 0 ret -22 binder: 7592:7607 BC_INCREFS_DONE uffffffffffffffff no match binder: undelivered TRANSACTION_ERROR: 29189 binder: send failed reply for transaction 4, target dead audit: type=1400 audit(1518301960.018:52): avc: denied { read } for pid=7620 comm="syz-executor4" path="socket:[20327]" dev="sockfs" ino=20327 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(1518301960.095:53): avc: denied { accept } for pid=7635 comm="syz-executor1" 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 device eql entered promiscuous mode binder: 7718 RLIMIT_NICE not set binder: undelivered death notification, 0000000000000000 audit: type=1400 audit(1518301960.978:54): avc: denied { ioctl } for pid=7749 comm="syz-executor5" path="socket:[20828]" dev="sockfs" ino=20828 ioctlcmd=0x8940 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 xt_CT: netfilter: NOTRACK target is deprecated, use CT instead or upgrade iptables audit: type=1400 audit(1518301961.044:55): avc: denied { name_bind } for pid=7756 comm="syz-executor6" src=20024 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:port_t:s0 tclass=dccp_socket permissive=1 audit: type=1400 audit(1518301961.045:56): avc: denied { node_bind } for pid=7756 comm="syz-executor6" saddr=::1 src=20024 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:node_t:s0 tclass=dccp_socket permissive=1 QAT: Invalid ioctl QAT: Invalid ioctl audit: type=1400 audit(1518301961.748:57): avc: denied { map } for pid=7889 comm="syz-executor6" path="/dev/kvm" dev="devtmpfs" ino=8946 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:kvm_device_t:s0 tclass=chr_file permissive=1 xt_CT: netfilter: NOTRACK target is deprecated, use CT instead or upgrade iptables xt_connbytes: Forcing CT accounting to be enabled binder_alloc: binder_alloc_mmap_handler: 8057 20000000-20002000 already mapped failed -16 binder: BINDER_SET_CONTEXT_MGR already set binder: 8057:8059 ioctl 40046207 0 returned -16 binder_alloc: 8057: binder_alloc_buf, no vma binder: 8057:8059 transaction failed 29189/-3, size 40-0 line 2957 binder: undelivered TRANSACTION_ERROR: 29189 binder: release 8057:8059 transaction 11 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 11, target dead IPVS: ftp: loaded support on port[0] = 21 IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready ip_tunnel: non-ECT from 0.0.0.0 with TOS=0x3 ip_tunnel: non-ECT from 0.0.0.0 with TOS=0x3 netlink: 8 bytes leftover after parsing attributes in process `syz-executor5'. xt_connbytes: Forcing CT accounting to be enabled netlink: 8 bytes leftover after parsing attributes in process `syz-executor5'. audit: type=1400 audit(1518301966.056:58): avc: denied { ipc_lock } for pid=8389 comm="syz-executor0" capability=14 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 netlink: 'syz-executor5': attribute type 1 has an invalid length. audit: type=1400 audit(1518301966.181:59): avc: denied { map } for pid=8407 comm="syz-executor0" path="/70/file0/bus" dev="ramfs" ino=21493 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:ramfs_t:s0 tclass=file permissive=1 netlink: 'syz-executor5': attribute type 1 has an invalid length.