binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 binder: 29396:29405 transaction failed 29189/-22, size 0-0 line 2842 ============================= WARNING: suspicious RCU usage 4.15.0+ #307 Not tainted ----------------------------- binder: 29396:29408 transaction failed 29189/-22, size 0-8 line 2842 ./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/29404: #0: (rcu_read_lock){....}, at: [<000000009639d0f3>] __rds_conn_create+0xe46/0x1b50 net/rds/connection.c:218 binder: undelivered TRANSACTION_ERROR: 29189 stack backtrace: CPU: 0 PID: 29404 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 binder: undelivered TRANSACTION_ERROR: 29189 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:00007f5ed9b3ac68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f5ed9b3b6d4 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: 29404, name: syz-executor3 1 lock held by syz-executor3/29404: #0: (rcu_read_lock){....}, at: [<000000009639d0f3>] __rds_conn_create+0xe46/0x1b50 net/rds/connection.c:218 CPU: 0 PID: 29404 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+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:00007f5ed9b3ac68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f5ed9b3b6d4 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 binder_alloc: 29419: binder_alloc_buf, no vma binder: 29419:29430 transaction failed 29189/-3, size 0-0 line 2957 binder_alloc: 29419: binder_alloc_buf, no vma binder: 29419:29443 transaction failed 29189/-3, size 0-8 line 2957 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 binder_alloc: 29450: binder_alloc_buf, no vma binder: 29450:29460 transaction failed 29189/-3, size 0-0 line 2957 binder_alloc: 29450: binder_alloc_buf, no vma binder: 29450:29470 transaction failed 29189/-3, size 0-8 line 2957 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 binder_alloc: 29484: binder_alloc_buf, no vma binder: 29484:29489 transaction failed 29189/-3, size 0-0 line 2957 binder_alloc: 29484: binder_alloc_buf, no vma binder: 29484:29496 transaction failed 29189/-3, size 0-8 line 2957 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 binder: 29517:29521 transaction failed 29189/-22, size 0-8 line 2842 binder: undelivered TRANSACTION_ERROR: 29189 binder: 29540:29543 transaction failed 29189/-22, size 0-8 line 2842 binder: undelivered TRANSACTION_ERROR: 29189 binder: 29557:29561 transaction failed 29189/-22, size 0-8 line 2842 binder: undelivered TRANSACTION_ERROR: 29189 binder_alloc: 29731: binder_alloc_buf size 65544 failed, no address space binder_alloc: allocated: 8 (num: 1 largest: 8), free: 8184 (num: 1 largest: 8184) binder: 29731:29737 transaction failed 29201/-28, size 0-8 line 2957 binder: undelivered TRANSACTION_ERROR: 29201 binder: release 29731:29737 transaction 55 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 55, target dead binder_alloc: 29756: binder_alloc_buf, no vma binder: 29756:29758 transaction failed 29189/-3, size 0-0 line 2957 binder_alloc: 29756: binder_alloc_buf, no vma binder: 29756:29770 transaction failed 29189/-3, size 0-8 line 2957 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 binder_alloc: 29795: binder_alloc_buf, no vma binder: 29795:29801 transaction failed 29189/-3, size 0-0 line 2957 binder_alloc: 29795: binder_alloc_buf, no vma binder: 29795:29801 transaction failed 29189/-3, size 0-8 line 2957 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 binder_alloc: 29828: binder_alloc_buf, no vma binder: 29828:29830 transaction failed 29189/-3, size 0-0 line 2957 binder_alloc: 29828: binder_alloc_buf, no vma binder: 29828:29842 transaction failed 29189/-3, size 0-8 line 2957 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 binder_alloc: 29861: binder_alloc_buf, no vma binder: 29861:29869 transaction failed 29189/-3, size 0-0 line 2957 binder_alloc: 29861: binder_alloc_buf, no vma binder: 29861:29869 transaction failed 29189/-3, size 0-8 line 2957 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 binder_alloc: 29896: binder_alloc_buf, no vma binder: 29896:29899 transaction failed 29189/-3, size 0-0 line 2957 binder_alloc: 29896: binder_alloc_buf, no vma binder: 29896:29911 transaction failed 29189/-3, size 0-8 line 2957 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 binder_alloc: 29930: binder_alloc_buf, no vma binder: 29930:29936 transaction failed 29189/-3, size 0-0 line 2957 binder_alloc: 29930: binder_alloc_buf, no vma binder: 29930:29938 transaction failed 29189/-3, size 0-8 line 2957 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 binder: 29945:29951 transaction failed 29189/-22, size 0-0 line 2842 binder: 29945:29958 transaction failed 29189/-22, size 0-8 line 2842 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 binder: 29970:29972 transaction failed 29189/-22, size 0-0 line 2842 binder: 29970:29972 transaction failed 29189/-22, size 0-8 line 2842 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 audit: type=1400 audit(1518261931.127:33): avc: denied { prog_run } for pid=29949 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=bpf permissive=1 binder: 29990:29993 transaction failed 29189/-22, size 0-0 line 2842 binder: 29990:30004 transaction failed 29189/-22, size 0-8 line 2842 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29189 binder_alloc: 30018: binder_alloc_buf size 65544 failed, no address space binder_alloc: allocated: 0 (num: 0 largest: 0), free: 8192 (num: 1 largest: 8192) binder: 30018:30020 transaction failed 29201/-28, size 0-8 line 2957 binder: undelivered TRANSACTION_ERROR: 29201 binder_alloc: 30040: binder_alloc_buf size 65544 failed, no address space binder_alloc: allocated: 0 (num: 0 largest: 0), free: 8192 (num: 1 largest: 8192) binder: 30040:30049 transaction failed 29201/-28, size 0-8 line 2957 binder: undelivered TRANSACTION_ERROR: 29201 binder_alloc: 30070: binder_alloc_buf size 65544 failed, no address space binder_alloc: allocated: 0 (num: 0 largest: 0), free: 8192 (num: 1 largest: 8192) binder: 30070:30075 transaction failed 29201/-28, size 0-8 line 2957 binder: undelivered TRANSACTION_ERROR: 29201 binder_alloc: 30091: binder_alloc_buf size 65544 failed, no address space binder_alloc: allocated: 0 (num: 0 largest: 0), free: 8192 (num: 1 largest: 8192) binder: 30091:30098 transaction failed 29201/-28, size 0-8 line 2957 binder: undelivered TRANSACTION_ERROR: 29201 binder_alloc: 30114: binder_alloc_buf size 65544 failed, no address space binder_alloc: allocated: 0 (num: 0 largest: 0), free: 8192 (num: 1 largest: 8192) binder: 30114:30119 transaction failed 29201/-28, size 0-8 line 2957 binder: undelivered TRANSACTION_ERROR: 29201 binder_alloc: 30137: binder_alloc_buf size 65544 failed, no address space binder_alloc: allocated: 0 (num: 0 largest: 0), free: 8192 (num: 1 largest: 8192) binder: 30137:30145 transaction failed 29201/-28, size 0-8 line 2957 binder: undelivered TRANSACTION_ERROR: 29201 binder_alloc: 30169: binder_alloc_buf size 65544 failed, no address space binder_alloc: allocated: 8 (num: 1 largest: 8), free: 8184 (num: 1 largest: 8184) binder: 30169:30178 transaction failed 29201/-28, size 0-8 line 2957 binder: undelivered TRANSACTION_ERROR: 29201 binder: release 30169:30178 transaction 94 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 94, target dead binder_alloc: 30209: binder_alloc_buf size 65544 failed, no address space binder_alloc: allocated: 8 (num: 1 largest: 8), free: 8184 (num: 1 largest: 8184) binder: 30209:30216 transaction failed 29201/-28, size 0-8 line 2957 binder: undelivered TRANSACTION_ERROR: 29201 binder: release 30209:30216 transaction 97 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 97, target dead binder_alloc: 30238: binder_alloc_buf size 65544 failed, no address space binder_alloc: allocated: 8 (num: 1 largest: 8), free: 8184 (num: 1 largest: 8184) binder: 30238:30247 transaction failed 29201/-28, size 0-8 line 2957 binder: undelivered TRANSACTION_ERROR: 29201 binder: release 30238:30247 transaction 100 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 100, target dead binder: release 30268:30272 transaction 103 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 103, target dead binder: release 30292:30295 transaction 105 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 105, target dead binder: release 30299:30311 transaction 107 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 107, target dead binder: 30319:30326 transaction failed 29189/-22, size 0-16 line 2842 binder: undelivered TRANSACTION_ERROR: 29189 binder: 30355:30366 got transaction with invalid offset (0, min 0 max 0) or object. binder: 30355:30366 transaction failed 29201/-22, size 0-16 line 3020 binder: undelivered TRANSACTION_ERROR: 29201 binder: release 30355:30366 transaction 110 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 110, target dead binder: 30387:30398 got transaction with invalid offset (0, min 0 max 0) or object. binder: 30387:30398 transaction failed 29201/-22, size 0-16 line 3020 binder: undelivered TRANSACTION_ERROR: 29201 binder: release 30387:30398 transaction 113 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 113, target dead binder_alloc: 30422: binder_alloc_buf size 65536 failed, no address space binder_alloc: allocated: 8 (num: 1 largest: 8), free: 8184 (num: 1 largest: 8184) binder: 30422:30436 transaction failed 29201/-28, size 0-0 line 2957 binder: undelivered TRANSACTION_ERROR: 29201 binder: release 30422:30436 transaction 116 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 116, target dead binder_alloc: 30461: binder_alloc_buf size 65536 failed, no address space binder_alloc: allocated: 8 (num: 1 largest: 8), free: 8184 (num: 1 largest: 8184) binder: 30461:30471 transaction failed 29201/-28, size 0-0 line 2957 binder: undelivered TRANSACTION_ERROR: 29201 binder: release 30461:30471 transaction 119 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 119, target dead binder: 30484:30492 got new transaction with bad transaction stack, transaction 123 has target 30484:0 binder: 30484:30492 transaction failed 29201/-71, size 0-16 line 2869 binder: release 30484:30492 transaction 123 out, still active binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29201 binder: release 30484:30492 transaction 122 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 122, target dead binder: send failed reply for transaction 123, target dead binder: 30507:30510 got new transaction with bad transaction stack, transaction 127 has target 30507:0 binder: 30507:30510 transaction failed 29201/-71, size 0-16 line 2869 binder: release 30507:30510 transaction 127 out, still active binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29201 binder: release 30507:30510 transaction 126 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 126, target dead binder: send failed reply for transaction 127, target dead binder: 30524:30531 got new transaction with bad transaction stack, transaction 131 has target 30524:0 binder: 30524:30531 transaction failed 29201/-71, size 0-16 line 2869 binder: release 30524:30531 transaction 131 out, still active binder: undelivered TRANSACTION_COMPLETE binder: undelivered TRANSACTION_ERROR: 29201 binder: release 30524:30531 transaction 130 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 130, target dead binder: send failed reply for transaction 131, target dead binder_alloc: 30549: binder_alloc_buf size 65536 failed, no address space binder_alloc: allocated: 8 (num: 1 largest: 8), free: 8184 (num: 1 largest: 8184) binder: 30549:30556 transaction failed 29201/-28, size 0-0 line 2957 binder: undelivered TRANSACTION_ERROR: 29201 binder: release 30549:30556 transaction 134 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 134, target dead binder_alloc: 30587: binder_alloc_buf size 65536 failed, no address space binder_alloc: allocated: 8 (num: 1 largest: 8), free: 8184 (num: 1 largest: 8184) binder: 30587:30591 transaction failed 29201/-28, size 0-0 line 2957 binder: undelivered TRANSACTION_ERROR: 29201 binder: release 30587:30591 transaction 137 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 137, target dead binder_alloc: 30627: binder_alloc_buf size 65536 failed, no address space binder_alloc: allocated: 8 (num: 1 largest: 8), free: 8184 (num: 1 largest: 8184) binder: 30627:30636 transaction failed 29201/-28, size 0-0 line 2957 binder: undelivered TRANSACTION_ERROR: 29201 binder: release 30627:30636 transaction 140 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 140, target dead