[....] Starting enhanced syslogd: rsyslogd[ 14.745042] audit: type=1400 audit(1518375386.792:5): avc: denied { syslog } for pid=3933 comm="rsyslogd" capability=34 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=capability2 permissive=1 [?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 18.751158] audit: type=1400 audit(1518375390.798:6): avc: denied { map } for pid=4072 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 Warning: Permanently added '10.128.0.47' (ECDSA) to the list of known hosts. executing program [ 25.033297] audit: type=1400 audit(1518375397.081:7): avc: denied { map } for pid=4086 comm="syzkaller563791" path="/root/syzkaller563791236" dev="sda1" ino=16481 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 25.060268] [ 25.062024] ============================= [ 25.066183] WARNING: suspicious RCU usage [ 25.070402] 4.15.0+ #222 Not tainted [ 25.074153] ----------------------------- [ 25.078371] ./include/linux/rcupdate.h:302 Illegal context switch in RCU read-side critical section! [ 25.087702] [ 25.087702] other info that might help us debug this: [ 25.087702] [ 25.095928] [ 25.095928] rcu_scheduler_active = 2, debug_locks = 1 [ 25.102651] 1 lock held by syzkaller563791/4086: [ 25.107447] #0: (rcu_read_lock){....}, at: [<00000000bf5db0e6>] __rds_conn_create+0xe46/0x1b50 [ 25.116432] [ 25.116432] stack backtrace: [ 25.120944] CPU: 0 PID: 4086 Comm: syzkaller563791 Not tainted 4.15.0+ #222 [ 25.128033] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.137371] Call Trace: [ 25.139935] dump_stack+0x194/0x257 [ 25.143585] ? arch_local_irq_restore+0x53/0x53 [ 25.148243] lockdep_rcu_suspicious+0x123/0x170 [ 25.152889] ___might_sleep+0x385/0x470 [ 25.156840] ? trace_event_raw_event_sched_switch+0x810/0x810 [ 25.162698] ? __debug_object_init+0x235/0x1040 [ 25.167343] ? debug_mutex_init+0x1c/0x60 [ 25.171473] __might_sleep+0x95/0x190 [ 25.175253] kmem_cache_alloc_trace+0x299/0x740 [ 25.179897] ? lock_acquire+0x1d5/0x580 [ 25.183852] ? lock_acquire+0x1d5/0x580 [ 25.187799] ? __rds_conn_create+0xe46/0x1b50 [ 25.192284] rds_loop_conn_alloc+0xc8/0x380 [ 25.196588] ? rds_loop_conn_free+0x290/0x290 [ 25.201060] ? __init_waitqueue_head+0x97/0x140 [ 25.205707] ? rcutorture_record_progress+0x10/0x10 [ 25.210696] ? __lockdep_init_map+0xe4/0x650 [ 25.215092] __rds_conn_create+0x112f/0x1b50 [ 25.219493] ? rds_conn_drop+0xb0/0xb0 [ 25.223363] ? __raw_spin_lock_init+0x1c/0x100 [ 25.227922] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 25.232918] ? __lockdep_init_map+0xe4/0x650 [ 25.237302] ? lockdep_init_map+0x9/0x10 [ 25.241340] ? __init_waitqueue_head+0x97/0x140 [ 25.245983] ? init_wait_entry+0x1b0/0x1b0 [ 25.250195] ? lockdep_init_map+0x9/0x10 [ 25.254231] ? rds_message_alloc+0x28c/0x330 [ 25.258615] ? rds_message_next_extension+0x210/0x210 [ 25.263775] ? trace_hardirqs_on+0xd/0x10 [ 25.267901] ? _raw_spin_unlock_bh+0x30/0x40 [ 25.272294] ? __release_sock+0x360/0x360 [ 25.276416] ? lock_sock_nested+0x91/0x110 [ 25.280631] rds_conn_create_outgoing+0x3f/0x50 [ 25.285278] rds_sendmsg+0xda3/0x2390 [ 25.289053] ? avc_has_perm+0x43e/0x680 [ 25.293024] ? rds_send_drop_to+0x19d0/0x19d0 [ 25.297499] ? _raw_spin_unlock_irq+0x27/0x70 [ 25.301970] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 25.306962] ? find_held_lock+0x35/0x1d0 [ 25.311007] ? sock_has_perm+0x2a4/0x420 [ 25.315055] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 25.320396] ? lock_release+0xa02/0xa40 [ 25.324352] ? trace_event_raw_event_sched_switch+0x810/0x810 [ 25.330211] ? __check_object_size+0x8b/0x530 [ 25.334680] ? __handle_mm_fault+0x80e/0x3ce0 [ 25.339155] ? __might_sleep+0x95/0x190 [ 25.343108] ? selinux_socket_sendmsg+0x36/0x40 [ 25.347750] ? security_socket_sendmsg+0x89/0xb0 [ 25.352484] ? rds_send_drop_to+0x19d0/0x19d0 [ 25.356954] sock_sendmsg+0xca/0x110 [ 25.360645] SYSC_sendto+0x361/0x5c0 [ 25.364341] ? SYSC_connect+0x4a0/0x4a0 [ 25.368296] ? __do_page_fault+0x5f7/0xc90 [ 25.372508] ? lock_downgrade+0x980/0x980 [ 25.376639] ? handle_mm_fault+0x43b/0x970 [ 25.380858] ? up_read+0x1a/0x40 [ 25.384197] ? __do_page_fault+0x3d6/0xc90 [ 25.388422] ? mm_fault_error+0x2c0/0x2c0 [ 25.392545] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 25.398062] SyS_sendto+0x40/0x50 [ 25.401488] ? SyS_getpeername+0x30/0x30 [ 25.405523] do_syscall_64+0x282/0x940 [ 25.409383] ? __do_page_fault+0xc90/0xc90 [ 25.413596] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.418334] ? syscall_return_slowpath+0x550/0x550 [ 25.423240] ? syscall_return_slowpath+0x2ac/0x550 [ 25.428143] ? prepare_exit_to_usermode+0x350/0x350 [ 25.433135] ? retint_user+0x18/0x18 [ 25.436828] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.441652] entry_SYSCALL_64_after_hwframe+0x26/0x9b [ 25.446812] RIP: 0033:0x43fd99 [ 25.449975] RSP: 002b:00007ffc09659fa8 EFLAGS: 00000217 ORIG_RAX: 000000000000002c [ 25.457658] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fd99 [ 25.464903] RDX: 0000000000000000 RSI: 0000000020218000 RDI: 0000000000000003 [ 25.472149] RBP: 00000000006ca018 R08: 0000000020af3ff0 R09: 0000000000000010 [ 25.479391] R10: 0000000000000000 R11: 0000000000000217 R12: 00000000004016c0 [ 25.486636] R13: 0000000000401750 R14: 0000000000000000 R15: 0000000000000000 [ 25.493934] BUG: sleeping function called from invalid context at mm/slab.h:420 [ 25.501388] in_atomic(): 1, irqs_disabled(): 0, pid: 4086, name: syzkaller563791 [ 25.508933] 1 lock held by syzkaller563791/4086: [ 25.513686] #0: (rcu_read_lock){....}, at: [<00000000bf5db0e6>] __rds_conn_create+0xe46/0x1b50 [ 25.522637] CPU: 0 PID: 4086 Comm: syzkaller563791 Not tainted 4.15.0+ #222 [ 25.529717] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.539044] Call Trace: [ 25.541611] dump_stack+0x194/0x257 [ 25.545216] ? arch_local_irq_restore+0x53/0x53 [ 25.549860] ? print_lock+0x9f/0xa2 [ 25.553459] ? lockdep_print_held_locks+0xc4/0x130 [ 25.558368] ___might_sleep+0x2b2/0x470 [ 25.562320] ? trace_event_raw_event_sched_switch+0x810/0x810 [ 25.568183] ? __debug_object_init+0x235/0x1040 [ 25.572841] ? debug_mutex_init+0x1c/0x60 [ 25.576969] __might_sleep+0x95/0x190 [ 25.580751] kmem_cache_alloc_trace+0x299/0x740 [ 25.585394] ? lock_acquire+0x1d5/0x580 [ 25.589340] ? lock_acquire+0x1d5/0x580 [ 25.593295] ? __rds_conn_create+0xe46/0x1b50 [ 25.597773] rds_loop_conn_alloc+0xc8/0x380 [ 25.602076] ? rds_loop_conn_free+0x290/0x290 [ 25.606549] ? __init_waitqueue_head+0x97/0x140 [ 25.611194] ? rcutorture_record_progress+0x10/0x10 [ 25.616185] ? __lockdep_init_map+0xe4/0x650 [ 25.620570] __rds_conn_create+0x112f/0x1b50 [ 25.624971] ? rds_conn_drop+0xb0/0xb0 [ 25.628840] ? __raw_spin_lock_init+0x1c/0x100 [ 25.633397] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 25.638394] ? __lockdep_init_map+0xe4/0x650 [ 25.642777] ? lockdep_init_map+0x9/0x10 [ 25.646814] ? __init_waitqueue_head+0x97/0x140 [ 25.651455] ? init_wait_entry+0x1b0/0x1b0 [ 25.655674] ? lockdep_init_map+0x9/0x10 [ 25.659715] ? rds_message_alloc+0x28c/0x330 [ 25.664099] ? rds_message_next_extension+0x210/0x210 [ 25.669261] ? trace_hardirqs_on+0xd/0x10 [ 25.673384] ? _raw_spin_unlock_bh+0x30/0x40 [ 25.677781] ? __release_sock+0x360/0x360 [ 25.681988] ? lock_sock_nested+0x91/0x110 [ 25.686205] rds_conn_create_outgoing+0x3f/0x50 [ 25.690861] rds_sendmsg+0xda3/0x2390 [ 25.694636] ? avc_has_perm+0x43e/0x680 [ 25.698599] ? rds_send_drop_to+0x19d0/0x19d0 [ 25.703069] ? _raw_spin_unlock_irq+0x27/0x70 [ 25.707541] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 25.712534] ? find_held_lock+0x35/0x1d0 [ 25.716575] ? sock_has_perm+0x2a4/0x420 [ 25.720613] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 25.725949] ? lock_release+0xa02/0xa40 [ 25.729899] ? trace_event_raw_event_sched_switch+0x810/0x810 [ 25.735760] ? __check_object_size+0x8b/0x530 [ 25.740228] ? __handle_mm_fault+0x80e/0x3ce0 [ 25.744706] ? __might_sleep+0x95/0x190 [ 25.748659] ? selinux_socket_sendmsg+0x36/0x40 [ 25.753316] ? security_socket_sendmsg+0x89/0xb0 [ 25.758056] ? rds_send_drop_to+0x19d0/0x19d0 [ 25.762536] sock_sendmsg+0xca/0x110 [ 25.766227] SYSC_sendto+0x361/0x5c0 [ 25.769919] ? SYSC_connect+0x4a0/0x4a0 [ 25.773878] ? __do_page_fault+0x5f7/0xc90 [ 25.778087] ? lock_downgrade+0x980/0x980 [ 25.782215] ? handle_mm_fault+0x43b/0x970 [ 25.786437] ? up_read+0x1a/0x40 [ 25.789778] ? __do_page_fault+0x3d6/0xc90 [ 25.793994] ? mm_fault_error+0x2c0/0x2c0 [ 25.798124] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 25.803640] SyS_sendto+0x40/0x50 [ 25.807106] ? SyS_getpeername+0x30/0x30 [ 25.811145] do_syscall_64+0x282/0x940 [ 25.815018] ? __do_page_fault+0xc90/0xc90 [ 25.819233] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.823965] ? syscall_return_slowpath+0x550/0x550 [ 25.828867] ? syscall_return_slowpath+0x2ac/0x550 [ 25.833770] ? prepare_exit_to_usermode+0x350/0x350 [ 25.838763] ? retint_user+0x18/0x18 [ 25.842453] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.847275] entry_SYSCALL_64_after_hwframe+0x26/0x9b [ 25.852438] RIP: 0033:0x43fd99 [ 25.855601] RSP: 002b:00007ffc09659fa8 EFLAGS: 00000217 ORIG_RAX: 000000000000002c [ 25.863283] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fd99 [ 25.870530] RDX: 0000000000000000 RSI: 0000000020218000 RDI: 0000000000000003 [ 25.877775] RBP: 00000000006ca018 R08: 0000000020af3ff0 R09: 0000000000000010 [ 25.885021] R10: 000000