binder: 8122:8146 ioctl 40046207 0 returned -16 binder: 8145 RLIMIT_NICE not set ============================= 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/8156: #0: (rcu_read_lock){....}, at: [<00000000ee6b0b09>] __rds_conn_create+0xe46/0x1b50 net/rds/connection.c:218 stack backtrace: CPU: 1 PID: 8156 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 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:00007feb5fc38c68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007feb5fc396d4 RCX: 0000000000453a59 RDX: 0000000000000000 RSI: 0000000020006fc8 RDI: 0000000000000015 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: 8156, name: syz-executor1 1 lock held by syz-executor1/8156: #0: (rcu_read_lock){....}, at: [<00000000ee6b0b09>] __rds_conn_create+0xe46/0x1b50 net/rds/connection.c:218 CPU: 1 PID: 8156 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:00007feb5fc38c68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007feb5fc396d4 RCX: 0000000000453a59 RDX: 0000000000000000 RSI: 0000000020006fc8 RDI: 0000000000000015 RBP: 000000000071bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000004b5 R14: 00000000006f7198 R15: 0000000000000000 atomic_op 00000000fb5ad1b2 conn xmit_atomic (null) mmap: syz-executor2 (8202): VmData 17571840 exceed data ulimit 166. Update limits or use boot option ignore_rlimit_data. x_tables: ip6_tables: rpfilter match: used from hooks OUTPUT, but only valid from PREROUTING x_tables: ip6_tables: rpfilter match: used from hooks OUTPUT, but only valid from PREROUTING ip_tunnel: non-ECT from 0.0.0.0 with TOS=0x3 xt_policy: neither incoming nor outgoing policy selected ip_tunnel: non-ECT from 0.0.0.0 with TOS=0x3 syz-executor5 (8220) used greatest stack depth: 14096 bytes left xt_policy: neither incoming nor outgoing policy selected binder: 8266:8276 transaction failed 29189/-22, size 40-8 line 2842 binder_alloc: binder_alloc_mmap_handler: 8266 20000000-20002000 already mapped failed -16 binder: BINDER_SET_CONTEXT_MGR already set binder: 8266:8287 transaction failed 29189/-22, size 40-8 line 2842 binder: 8266:8285 ioctl 40046207 0 returned -16 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 SELinux: failed to load policy netlink: 24 bytes leftover after parsing attributes in process `syz-executor5'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor5'. SELinux: failed to load policy SELinux: failed to load policy TCP: request_sock_TCPv6: Possible SYN flooding on port 20022. Sending cookies. Check SNMP counters. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=4440 sclass=netlink_route_socket pig=8559 comm=syz-executor4 capability: warning: `syz-executor3' uses deprecated v2 capabilities in a way that may be insecure QAT: Invalid ioctl QAT: Invalid ioctl SELinux: unrecognized netlink message: protocol=0 nlmsg_type=4440 sclass=netlink_route_socket pig=8568 comm=syz-executor4 QAT: Invalid ioctl syz-executor7 (8607) used greatest stack depth: 13872 bytes left kauditd_printk_skb: 8 callbacks suppressed audit: type=1400 audit(1518384914.070:57): avc: denied { setopt } for pid=8654 comm="syz-executor7" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=socket permissive=1 audit: type=1400 audit(1518384914.071:58): avc: denied { ioctl } for pid=8654 comm="syz-executor7" path="socket:[24057]" dev="sockfs" ino=24057 ioctlcmd=0x89e0 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=sock_file permissive=1 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=63 sclass=netlink_route_socket pig=8804 comm=syz-executor3 netlink: 'syz-executor3': attribute type 10 has an invalid length. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=63 sclass=netlink_route_socket pig=8814 comm=syz-executor3 QAT: Invalid ioctl QAT: Invalid ioctl audit: type=1400 audit(1518384915.002:59): avc: denied { create } for pid=8897 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 QAT: Invalid ioctl QAT: Invalid ioctl binder: 8947:8956 BC_ACQUIRE_DONE u0000000000000000 no match binder: 8947:9003 BC_ACQUIRE_DONE u0000000000000000 no match binder: BINDER_SET_CONTEXT_MGR already set binder: 8947:8993 ioctl 40046207 0 returned -16 binder_alloc: 8947: binder_alloc_buf, no vma binder: 8947:9011 transaction failed 29189/-3, size 0-0 line 2957 binder: release 8947:8969 transaction 24 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 24, target dead netlink: 'syz-executor0': attribute type 2 has an invalid length. netlink: 'syz-executor0': attribute type 2 has an invalid length. x_tables: ip_tables: osf match: only valid for protocol 6 x_tables: ip_tables: osf match: only valid for protocol 6 audit: type=1326 audit(1518384916.111:60): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=9141 comm="syz-executor0" exe="/root/syz-executor0" sig=31 arch=c000003e syscall=202 compat=0 ip=0x453a59 code=0x0 ipt_CLUSTERIP: no such interface syz audit: type=1326 audit(1518384916.150:61): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=9141 comm="syz-executor0" exe="/root/syz-executor0" sig=31 arch=c000003e syscall=202 compat=0 ip=0x453a59 code=0x0 ipt_CLUSTERIP: no such interface syz netlink: 8 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor6'. binder: 9294:9298 ioctl c1105511 20f63ef0 returned -22 sctp: [Deprecated]: syz-executor0 (pid 9332) Use of struct sctp_assoc_value in delayed_ack socket option. Use struct sctp_sack_info instead audit: type=1400 audit(1518384917.962:62): avc: denied { map } for pid=9604 comm="syz-executor7" path="/dev/rtc0" dev="devtmpfs" ino=1126 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:clock_device_t:s0 tclass=chr_file permissive=1 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=60160 sclass=netlink_route_socket pig=9715 comm=syz-executor6 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=60160 sclass=netlink_route_socket pig=9730 comm=syz-executor6 audit: type=1400 audit(1518384919.161:63): avc: denied { write } for pid=9804 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_fib_lookup_socket permissive=1 audit: type=1326 audit(1518384919.241:64): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=9833 comm="syz-executor1" exe="/root/syz-executor1" sig=9 arch=c000003e syscall=202 compat=0 ip=0x453a59 code=0x0 audit: type=1326 audit(1518384919.360:65): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=9833 comm="syz-executor1" exe="/root/syz-executor1" sig=9 arch=c000003e syscall=202 compat=0 ip=0x453a59 code=0x0 arp_tables: arptables: counters copy to user failed while replacing table arp_tables: arptables: counters copy to user failed while replacing table insert transport fail, errno -17 IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready binder: 9949:9958 ioctl c1105518 20402ef0 returned -22 binder: send failed reply for transaction 27 to 9949:9950 binder: 9949:9950 ioctl c0306201 200a3000 returned -14 binder: 9949:9950 ioctl c1105518 20402ef0 returned -22 binder: release 9949:9950 transaction 29 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 29, target dead binder: undelivered TRANSACTION_ERROR: 29189 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=10122 comm=syz-executor4 x_tables: ip_tables: socket match: used from hooks INPUT/FORWARD/OUTPUT, but only valid from PREROUTING/INPUT x_tables: ip_tables: socket match: used from hooks INPUT/FORWARD/OUTPUT, but only valid from PREROUTING/INPUT binder: 10264:10269 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 binder: 10264:10269 unknown command 0 binder: 10264:10288 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 binder: 10264:10288 unknown command 0 binder: 10264:10269 ioctl c0306201 20008fd0 returned -22 binder: 10264:10288 ioctl c0306201 20008fd0 returned -22