[?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. [ 18.945984] audit: type=1400 audit(1518394374.947:6): avc: denied { map } for pid=4160 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 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.15.209' (ECDSA) to the list of known hosts. net.ipv6.conf.syz0.accept_dad = 0 net.ipv6.conf.syz0.router_solicitations = 0 syzkaller login: [ 25.283526] audit: type=1400 audit(1518394381.285:7): avc: denied { map } for pid=4173 comm="syzkaller502226" path="/root/syzkaller502226543" 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 RTNETLINK answers: Operation not supported RTNETLINK answers: No buffer space available RTNETLINK answers: Operation not supported [ 25.676431] IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument executing program [ 26.000592] [ 26.002333] ============================= [ 26.006615] WARNING: suspicious RCU usage [ 26.010787] 4.15.0+ #222 Not tainted [ 26.014505] ----------------------------- [ 26.018664] ./include/linux/rcupdate.h:302 Illegal context switch in RCU read-side critical section! [ 26.027938] [ 26.027938] other info that might help us debug this: [ 26.027938] [ 26.036103] [ 26.036103] rcu_scheduler_active = 2, debug_locks = 1 [ 26.042781] 1 lock held by syzkaller502226/4173: [ 26.047539] #0: (rcu_read_lock){....}, at: [<000000000fe7cf3c>] __rds_conn_create+0xe46/0x1b50 [ 26.056486] [ 26.056486] stack backtrace: [ 26.061007] CPU: 1 PID: 4173 Comm: syzkaller502226 Not tainted 4.15.0+ #222 [ 26.068089] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.077414] Call Trace: [ 26.079980] dump_stack+0x194/0x257 [ 26.083584] ? arch_local_irq_restore+0x53/0x53 [ 26.088238] lockdep_rcu_suspicious+0x123/0x170 [ 26.092882] ___might_sleep+0x385/0x470 [ 26.096829] ? trace_event_raw_event_sched_switch+0x810/0x810 [ 26.102686] ? debug_mutex_init+0x1c/0x60 [ 26.106819] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 26.111815] __might_sleep+0x95/0x190 [ 26.115600] kmem_cache_alloc+0x2a2/0x760 [ 26.119723] ? lock_acquire+0x1d5/0x580 [ 26.123670] ? __rds_conn_create+0xe46/0x1b50 [ 26.128139] ? SyS_membarrier+0x700/0x700 [ 26.132258] ? init_timer_key+0x163/0x3f0 [ 26.136381] rds_tcp_conn_alloc+0xa7/0x4e0 [ 26.140593] ? rds_tcp_conn_free+0x2d0/0x2d0 [ 26.144972] ? rds_cmsg_atomic+0xff0/0xff0 [ 26.149183] ? __lockdep_init_map+0xe4/0x650 [ 26.153563] ? rds_cmsg_atomic+0xff0/0xff0 [ 26.157786] __rds_conn_create+0x112f/0x1b50 [ 26.162189] ? rds_conn_drop+0xb0/0xb0 [ 26.166060] ? __raw_spin_lock_init+0x1c/0x100 [ 26.170616] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 26.175611] ? __lockdep_init_map+0xe4/0x650 [ 26.179997] ? lockdep_init_map+0x9/0x10 [ 26.184038] ? __init_waitqueue_head+0x97/0x140 [ 26.188680] ? init_wait_entry+0x1b0/0x1b0 [ 26.192892] ? lockdep_init_map+0x9/0x10 [ 26.196927] ? rds_message_alloc+0x28c/0x330 [ 26.201308] ? rds_message_next_extension+0x210/0x210 [ 26.206468] ? trace_hardirqs_on+0xd/0x10 [ 26.210601] ? _raw_spin_unlock_bh+0x30/0x40 [ 26.215461] ? __release_sock+0x360/0x360 [ 26.219583] ? lock_sock_nested+0x91/0x110 [ 26.223796] rds_conn_create_outgoing+0x3f/0x50 [ 26.228442] rds_sendmsg+0xda3/0x2390 [ 26.232217] ? avc_has_perm+0x43e/0x680 [ 26.236180] ? rds_send_drop_to+0x19d0/0x19d0 [ 26.240645] ? release_sock+0x1d4/0x2a0 [ 26.244598] ? lock_downgrade+0x980/0x980 [ 26.248721] ? find_held_lock+0x35/0x1d0 [ 26.252763] ? sock_has_perm+0x2a4/0x420 [ 26.256798] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 26.262132] ? lock_release+0xa02/0xa40 [ 26.266081] ? trace_event_raw_event_sched_switch+0x810/0x810 [ 26.271939] ? __check_object_size+0x8b/0x530 [ 26.276405] ? __handle_mm_fault+0x80e/0x3ce0 [ 26.280878] ? __might_sleep+0x95/0x190 [ 26.284849] ? selinux_socket_sendmsg+0x36/0x40 [ 26.289500] ? security_socket_sendmsg+0x89/0xb0 [ 26.294230] ? rds_send_drop_to+0x19d0/0x19d0 [ 26.298699] sock_sendmsg+0xca/0x110 [ 26.302391] SYSC_sendto+0x361/0x5c0 [ 26.306084] ? SYSC_connect+0x4a0/0x4a0 [ 26.310041] ? __do_page_fault+0x5f7/0xc90 [ 26.314250] ? lock_downgrade+0x980/0x980 [ 26.318378] ? handle_mm_fault+0x43b/0x970 [ 26.322597] ? up_read+0x1a/0x40 [ 26.325937] ? __do_page_fault+0x3d6/0xc90 [ 26.330150] ? mm_fault_error+0x2c0/0x2c0 [ 26.334270] ? move_addr_to_kernel+0x60/0x60 [ 26.338655] SyS_sendto+0x40/0x50 [ 26.342085] ? SyS_getpeername+0x30/0x30 [ 26.346120] do_syscall_64+0x282/0x940 [ 26.349982] ? __do_page_fault+0xc90/0xc90 [ 26.354187] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.358919] ? syscall_return_slowpath+0x550/0x550 [ 26.363822] ? syscall_return_slowpath+0x2ac/0x550 [ 26.368724] ? prepare_exit_to_usermode+0x350/0x350 [ 26.373713] ? retint_user+0x18/0x18 [ 26.377403] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.382223] entry_SYSCALL_64_after_hwframe+0x26/0x9b [ 26.387384] RIP: 0033:0x445239 [ 26.390545] RSP: 002b:00007fffee2e59d8 EFLAGS: 00000217 ORIG_RAX: 000000000000002c [ 26.398226] RAX: ffffffffffffffda RBX: ffffffffffffffff RCX: 0000000000445239 [ 26.405470] RDX: 0000000000000000 RSI: 0000000020fc2000 RDI: 0000000000000004 [ 26.412713] RBP: 00007fffee2e5af8 R08: 000000002069affb R09: 0000000000000010 [ 26.419960] R10: 0000000000000000 R11: 0000000000000217 R12: 00007fffee2e5af8 [ 26.427205] R13: 0000000000402700 R14: 0000000000000000 R15: 0000000000000000 [ 26.434841] BUG: sleeping function called from invalid context at mm/slab.h:420 [ 26.442304] in_atomic(): 1, irqs_disabled(): 0, pid: 4173, name: syzkaller502226 [ 26.449842] 1 lock held by syzkaller502226/4173: [ 26.454595] #0: (rcu_read_lock){....}, at: [<000000000fe7cf3c>] __rds_conn_create+0xe46/0x1b50 [ 26.463557] CPU: 1 PID: 4173 Comm: syzkaller502226 Not tainted 4.15.0+ #222 [ 26.470640] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.479966] Call Trace: [ 26.482530] dump_stack+0x194/0x257 [ 26.486133] ? arch_local_irq_restore+0x53/0x53 [ 26.490777] ? print_lock+0x9f/0xa2 [ 26.494377] ? lockdep_print_held_locks+0xc4/0x130 [ 26.499284] ___might_sleep+0x2b2/0x470 [ 26.503234] ? trace_event_raw_event_sched_switch+0x810/0x810 [ 26.509089] ? debug_mutex_init+0x1c/0x60 [ 26.513211] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 26.518204] __might_sleep+0x95/0x190 [ 26.521981] kmem_cache_alloc+0x2a2/0x760 [ 26.526102] ? lock_acquire+0x1d5/0x580 [ 26.530052] ? __rds_conn_create+0xe46/0x1b50 [ 26.534521] ? SyS_membarrier+0x700/0x700 [ 26.538643] ? init_timer_key+0x163/0x3f0 [ 26.542769] rds_tcp_conn_alloc+0xa7/0x4e0 [ 26.546982] ? rds_tcp_conn_free+0x2d0/0x2d0 [ 26.551362] ? rds_cmsg_atomic+0xff0/0xff0 [ 26.555571] ? __lockdep_init_map+0xe4/0x650 [ 26.559963] ? rds_cmsg_atomic+0xff0/0xff0 [ 26.564176] __rds_conn_create+0x112f/0x1b50 [ 26.568838] ? rds_conn_drop+0xb0/0xb0 [ 26.572709] ? __raw_spin_lock_init+0x1c/0x100 [ 26.577267] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 26.582261] ? __lockdep_init_map+0xe4/0x650 [ 26.586646] ? lockdep_init_map+0x9/0x10 [ 26.590679] ? __init_waitqueue_head+0x97/0x140 [ 26.595323] ? init_wait_entry+0x1b0/0x1b0 [ 26.599536] ? lockdep_init_map+0x9/0x10 [ 26.603573] ? rds_message_alloc+0x28c/0x330 [ 26.607956] ? rds_message_next_extension+0x210/0x210 [ 26.613117] ? trace_hardirqs_on+0xd/0x10 [ 26.617243] ? _raw_spin_unlock_bh+0x30/0x40 [ 26.621629] ? __release_sock+0x360/0x360 [ 26.625748] ? lock_sock_nested+0x91/0x110 [ 26.629957] rds_conn_create_outgoing+0x3f/0x50 [ 26.634602] rds_sendmsg+0xda3/0x2390 [ 26.638383] ? avc_has_perm+0x43e/0x680 [ 26.642345] ? rds_send_drop_to+0x19d0/0x19d0 [ 26.646810] ? release_sock+0x1d4/0x2a0 [ 26.650759] ? lock_downgrade+0x980/0x980 [ 26.654883] ? find_held_lock+0x35/0x1d0 [ 26.658926] ? sock_has_perm+0x2a4/0x420 [ 26.662962] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 26.668297] ? lock_release+0xa02/0xa40 [ 26.672247] ? trace_event_raw_event_sched_switch+0x810/0x810 [ 26.678106] ? __check_object_size+0x8b/0x530 [ 26.682575] ? __handle_mm_fault+0x80e/0x3ce0 [ 26.687052] ? __might_sleep+0x95/0x190 [ 26.691006] ? selinux_socket_sendmsg+0x36/0x40 [ 26.695657] ? security_socket_sendmsg+0x89/0xb0 [ 26.700388] ? rds_send_drop_to+0x19d0/0x19d0 [ 26.704859] sock_sendmsg+0xca/0x110 [ 26.708548] SYSC_sendto+0x361/0x5c0 [ 26.712248] ? SYSC_connect+0x4a0/0x4a0 [ 26.716204] ? __do_page_fault+0x5f7/0xc90 [ 26.720417] ? lock_downgrade+0x980/0x980 [ 26.724545] ? handle_mm_fault+0x43b/0x970 [ 26.728767] ? up_read+0x1a/0x40 [ 26.732107] ? __do_page_fault+0x3d6/0xc90 [ 26.736321] ? mm_fault_error+0x2c0/0x2c0 [ 26.740443] ? move_addr_to_kernel+0x60/0x60 [ 26.744828] SyS_sendto+0x40/0x50 [ 26.748254] ? SyS_getpeername+0x30/0x30 [ 26.752292] do_syscall_64+0x282/0x940 [ 26.756153] ? __do_page_fault+0xc90/0xc90 [ 26.760363] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.765094] ? syscall_return_slowpath+0x550/0x550 [ 26.769997] ? syscall_return_slowpath+0x2ac/0x550 [ 26.774907] ? prepare_exit_to_usermode+0x350/0x350 [ 26.779899] ? retint_user+0x18/0x18 [ 26.783591] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.788411] entry_SYSCALL_64_after_hwframe+0x26/0x9b [ 26.793573] RIP: 0033:0x445239 [ 26.796735] RSP: 002b:00007fffee2e59d8 EFLAGS: 00000217 ORIG_RAX: 000000000000002c [ 26.804416] RAX: ffffffffffffffda RBX: ffffffffffffffff RCX: 0000000000445239 [ 26.811657] RDX: 0000000000000000 RSI: 0000000020fc2000 RDI: 0000000000000004 [ 26.818900] RBP: 00007fffee2e5af8 R08: 000000002069affb R09: 0000000000000010 [ 26.826141] R10: 0000000000000000 R11: 0000000000000217 R12: 00007fffee2e5af8 [ 26.833384] R13: 0000000000402700 R14: 0000000000000000 R15: 0000000000000000