binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 ============================= WARNING: suspicious RCU usage 4.16.0-rc1+ #309 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/6059: #0: (rcu_read_lock){....}, at: [<00000000dcddfb78>] __rds_conn_create+0xe46/0x1b50 net/rds/connection.c:218 stack backtrace: CPU: 0 PID: 6059 Comm: syz-executor3 Not tainted 4.16.0-rc1+ #309 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:00007f0b2e53bc68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f0b2e53c6d4 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: 6059, name: syz-executor3 1 lock held by syz-executor3/6059: #0: (rcu_read_lock){....}, at: [<00000000dcddfb78>] __rds_conn_create+0xe46/0x1b50 net/rds/connection.c:218 CPU: 0 PID: 6059 Comm: syz-executor3 Not tainted 4.16.0-rc1+ #309 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:00007f0b2e53bc68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f0b2e53c6d4 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 000000003a766ed9 conn xmit_atomic (null) hrtimer: interrupt took 36562 ns syz-executor0 uses obsolete (PF_INET,SOCK_PACKET) device eql entered promiscuous mode syz-executor4 (6324) used greatest stack depth: 14624 bytes left device syz1 entered promiscuous mode Cannot find add_set index 0 as target Cannot find add_set index 0 as target binder: 6450:6463 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 kauditd_printk_skb: 11 callbacks suppressed audit: type=1400 audit(1518393390.512:37): avc: denied { name_bind } for pid=6454 comm="syz-executor1" src=20004 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:port_t:s0 tclass=dccp_socket permissive=1 device eql entered promiscuous mode binder: 6450:6468 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 syz-executor2 (6518) used greatest stack depth: 13104 bytes left xt_CT: You must specify a L4 protocol, and not use inversions on it. xt_CT: You must specify a L4 protocol, and not use inversions on it. netlink: 8 bytes leftover after parsing attributes in process `syz-executor1'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor1'. netlink: 'syz-executor6': attribute type 1 has an invalid length. QAT: Stopping all acceleration devices. QAT: Stopping all acceleration devices. netlink: 'syz-executor6': attribute type 1 has an invalid length. xt_cluster: this node mask cannot be higher than the total number of nodes xt_cluster: this node mask cannot be higher than the total number of nodes xt_connbytes: Forcing CT accounting to be enabled syz-executor3 (6748) used greatest stack depth: 11968 bytes left syz-executor3 (6738) used greatest stack depth: 9664 bytes left Cannot find add_set index 0 as target Cannot find add_set index 0 as target audit: type=1400 audit(1518393391.961:38): avc: denied { getrlimit } for pid=6785 comm="syz-executor6" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=process permissive=1 audit: type=1400 audit(1518393392.174:39): avc: denied { create } for pid=6847 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 audit: type=1400 audit(1518393392.175:40): avc: denied { write } for pid=6847 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 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=16 sclass=netlink_audit_socket pig=6878 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=16 sclass=netlink_audit_socket pig=6878 comm=syz-executor2 audit: type=1400 audit(1518393392.349:41): avc: denied { prog_load } for pid=6886 comm="syz-executor6" 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 bridge: RTM_NEWNEIGH with invalid state 0x0 bridge: RTM_NEWNEIGH with invalid state 0x0 xt_connbytes: Forcing CT accounting to be enabled bridge: RTM_NEWNEIGH with invalid state 0x0 bridge: RTM_NEWNEIGH with invalid state 0x0 audit: type=1400 audit(1518393392.673:42): avc: denied { read } for pid=6970 comm="syz-executor7" path="socket:[18618]" dev="sockfs" ino=18618 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 device eql entered promiscuous mode dccp_close: ABORT with 1 bytes unread netlink: 'syz-executor2': attribute type 3 has an invalid length. netlink: 'syz-executor2': attribute type 3 has an invalid length. binder: 7268:7271 got transaction with fd, -1, but target does not allow fds binder: 7268:7271 transaction failed 29201/-1, size 24-8 line 3062 binder_alloc: binder_alloc_mmap_handler: 7268 20000000-20002000 already mapped failed -16 binder: BINDER_SET_CONTEXT_MGR already set binder: 7268:7271 ioctl 40046207 0 returned -16 binder_alloc: 7268: binder_alloc_buf, no vma binder: 7268:7282 transaction failed 29189/-3, size 24-8 line 2957 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29201 binder: 7289:7295 got transaction with fd, -1, but target does not allow fds binder: BINDER_SET_CONTEXT_MGR already set binder: 7289:7295 transaction failed 29201/-1, size 24-8 line 3062 binder: 7292:7304 ioctl 40046207 0 returned -16 binder: 7292:7312 got transaction with fd, -1, but target does not allow fds binder: undelivered TRANSACTION_ERROR: 29201 binder: 7292:7312 transaction failed 29201/-1, size 24-8 line 3062 binder: 7328:7329 got transaction with fd, -1, but target does not allow fds binder: undelivered TRANSACTION_ERROR: 29201 binder: 7328:7329 transaction failed 29201/-1, size 24-8 line 3062 binder: undelivered TRANSACTION_ERROR: 29201 binder: 7342:7349 got transaction with fd, -1, but target does not allow fds binder: 7342:7349 transaction failed 29201/-1, size 24-8 line 3062 binder: undelivered TRANSACTION_ERROR: 29201 binder: 7373:7383 got transaction with fd, -1, but target does not allow fds binder: 7373:7383 transaction failed 29201/-1, size 24-8 line 3062 binder: undelivered TRANSACTION_ERROR: 29201 binder: 7425:7429 ioctl c018620b 2009cfe8 returned -14 xt_connbytes: Forcing CT accounting to be enabled audit: type=1400 audit(1518393394.750:43): avc: denied { ipc_lock } for pid=7484 comm="syz-executor5" 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 audit: type=1400 audit(1518393395.078:44): avc: denied { prog_run } for pid=7571 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 xt_CT: No such helper "netbios-ns" xt_CT: No such helper "netbios-ns" device eql entered promiscuous mode xt_CT: No such helper "netbios-ns" xt_CT: No such helper "netbios-ns" binder: 7669:7674 ioctl c0306201 20007000 returned -14 binder: 7669:7685 ioctl c0306201 20007000 returned -14 IPv4: Oversized IP packet from 127.0.0.1 xt_connbytes: Forcing CT accounting to be enabled audit: type=1326 audit(1518393396.748:45): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=8051 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=202 compat=0 ip=0x453a59 code=0x7ffc0000 audit: type=1326 audit(1518393396.754:46): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=8051 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=202 compat=0 ip=0x453a59 code=0x7ffc0000 arp_tables: arptables: counters copy to user failed while replacing table arp_tables: arptables: counters copy to user failed while replacing table mip6: mip6_destopt_init_state: state's mode is not 2: 0 bpf: check failed: parse error device eql entered promiscuous mode bpf: check failed: parse error mip6: mip6_destopt_init_state: state's mode is not 2: 0 xt_CT: You must specify a L4 protocol, and not use inversions on it. mip6: mip6_destopt_init_state: state's mode is not 2: 0 xt_CT: You must specify a L4 protocol, and not use inversions on it. mip6: mip6_destopt_init_state: state's mode is not 2: 0 mip6: mip6_destopt_init_state: state's mode is not 2: 0 SELinux: policydb magic number 0x942af8ae does not match expected magic number 0xf97cff8c SELinux: failed to load policy SELinux: policydb magic number 0x942af8ae does not match expected magic number 0xf97cff8c audit: type=1400 audit(1518393397.677:47): avc: denied { setpcap } for pid=8289 comm="syz-executor6" 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 SELinux: failed to load policy binder: 8321 RLIMIT_NICE not set Empty option to dns_resolver key binder: 8321 RLIMIT_NICE not set IPVS: ftp: loaded support on port[0] = 21 binder: BINDER_SET_CONTEXT_MGR already set binder_alloc: 8319: binder_alloc_buf, no vma binder: 8319:8334 transaction failed 29189/-3, size 0-0 line 2957 binder: 8319:8321 ioctl 40046207 0 returned -16 binder: undelivered TRANSACTION_ERROR: 29189 binder: release 8319:8321 transaction 17 in, still active binder: send failed reply for transaction 17 to 8319:8332 binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29189