[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 17.346666] audit: type=1400 audit(1518414620.940:6): avc: denied { map } for pid=4145 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.221' (ECDSA) to the list of known hosts. net.ipv6.conf.syz0.accept_dad = 0 net.ipv6.conf.syz0.router_solicitations = 0 syzkaller login: [ 23.630122] audit: type=1400 audit(1518414627.223:7): avc: denied { map } for pid=4159 comm="syzkaller852778" path="/root/syzkaller852778783" 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 [ 24.009736] 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 [ 24.332335] [ 24.334045] ============================= [ 24.338204] WARNING: suspicious RCU usage [ 24.342354] 4.16.0-rc1+ #219 Not tainted [ 24.346417] ----------------------------- [ 24.350567] ./include/linux/rcupdate.h:302 Illegal context switch in RCU read-side critical section! [ 24.359843] [ 24.359843] other info that might help us debug this: [ 24.359843] [ 24.367992] [ 24.367992] rcu_scheduler_active = 2, debug_locks = 1 [ 24.374677] 1 lock held by syzkaller852778/4159: [ 24.379430] #0: (rcu_read_lock){....}, at: [<00000000ce533c75>] __rds_conn_create+0xe46/0x1b50 [ 24.388381] [ 24.388381] stack backtrace: [ 24.392881] CPU: 1 PID: 4159 Comm: syzkaller852778 Not tainted 4.16.0-rc1+ #219 [ 24.400300] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.409623] Call Trace: [ 24.412187] dump_stack+0x194/0x257 [ 24.415788] ? arch_local_irq_restore+0x53/0x53 [ 24.420441] lockdep_rcu_suspicious+0x123/0x170 [ 24.425086] ___might_sleep+0x385/0x470 [ 24.429035] ? trace_event_raw_event_sched_switch+0x810/0x810 [ 24.434888] ? debug_mutex_init+0x1c/0x60 [ 24.439012] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 24.444048] __might_sleep+0x95/0x190 [ 24.447827] kmem_cache_alloc+0x2a2/0x760 [ 24.451950] ? lock_acquire+0x1d5/0x580 [ 24.455897] ? __rds_conn_create+0xe46/0x1b50 [ 24.460365] ? SyS_membarrier+0x700/0x700 [ 24.464485] ? init_timer_key+0x163/0x3f0 [ 24.468605] rds_tcp_conn_alloc+0xa7/0x4e0 [ 24.472814] ? rds_tcp_conn_free+0x2d0/0x2d0 [ 24.477192] ? rds_cmsg_atomic+0xff0/0xff0 [ 24.481402] ? __lockdep_init_map+0xe4/0x650 [ 24.485779] ? rds_cmsg_atomic+0xff0/0xff0 [ 24.489987] __rds_conn_create+0x112f/0x1b50 [ 24.494385] ? rds_conn_drop+0xb0/0xb0 [ 24.498255] ? __raw_spin_lock_init+0x1c/0x100 [ 24.502812] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 24.507803] ? __lockdep_init_map+0xe4/0x650 [ 24.512188] ? lockdep_init_map+0x9/0x10 [ 24.516219] ? __init_waitqueue_head+0x97/0x140 [ 24.520860] ? init_wait_entry+0x1b0/0x1b0 [ 24.525073] ? lockdep_init_map+0x9/0x10 [ 24.529111] ? rds_message_alloc+0x28c/0x330 [ 24.533491] ? rds_message_next_extension+0x210/0x210 [ 24.538651] ? trace_hardirqs_on+0xd/0x10 [ 24.542773] ? _raw_spin_unlock_bh+0x30/0x40 [ 24.547159] ? __release_sock+0x360/0x360 [ 24.551276] ? lock_sock_nested+0x91/0x110 [ 24.555486] rds_conn_create_outgoing+0x3f/0x50 [ 24.560129] rds_sendmsg+0xda3/0x2390 [ 24.563901] ? avc_has_perm+0x43e/0x680 [ 24.567860] ? rds_send_drop_to+0x19d0/0x19d0 [ 24.572336] ? lock_downgrade+0x980/0x980 [ 24.576459] ? find_held_lock+0x35/0x1d0 [ 24.580500] ? sock_has_perm+0x2a4/0x420 [ 24.584536] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 24.589868] ? lock_release+0xa22/0xa40 [ 24.593813] ? trace_event_raw_event_sched_switch+0x810/0x810 [ 24.599669] ? __check_object_size+0x8b/0x530 [ 24.604149] ? __lock_is_held+0xb6/0x140 [ 24.608209] ? __might_sleep+0x95/0x190 [ 24.612159] ? selinux_socket_sendmsg+0x36/0x40 [ 24.616803] ? security_socket_sendmsg+0x89/0xb0 [ 24.621531] ? rds_send_drop_to+0x19d0/0x19d0 [ 24.626000] sock_sendmsg+0xca/0x110 [ 24.629693] SYSC_sendto+0x361/0x5c0 [ 24.633384] ? SYSC_connect+0x4a0/0x4a0 [ 24.637334] ? find_held_lock+0x35/0x1d0 [ 24.641378] ? lock_downgrade+0x980/0x980 [ 24.645519] ? up_read+0x1a/0x40 [ 24.648858] ? __do_page_fault+0x3d6/0xc90 [ 24.653073] SyS_sendto+0x40/0x50 [ 24.656498] ? SyS_getpeername+0x30/0x30 [ 24.660532] do_fast_syscall_32+0x3ee/0xfa1 [ 24.664843] ? do_int80_syscall_32+0x9d0/0x9d0 [ 24.669395] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.674124] ? syscall_return_slowpath+0x550/0x550 [ 24.679030] ? syscall_return_slowpath+0x2ac/0x550 [ 24.683938] ? prepare_exit_to_usermode+0x350/0x350 [ 24.688930] ? retint_user+0x18/0x18 [ 24.692622] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 24.697442] entry_SYSENTER_compat+0x54/0x63 [ 24.701822] RIP: 0023:0xf7f7dc79 [ 24.705156] RSP: 002b:00000000fff6ce8c EFLAGS: 00000296 ORIG_RAX: 0000000000000171 [ 24.712836] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000020a3cfff [ 24.720076] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020dfcff0 [ 24.727326] RBP: 0000000000000010 R08: 0000000000000000 R09: 0000000000000000 [ 24.734568] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 24.741808] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 24.749475] BUG: sleeping function called from invalid context at mm/slab.h:420 [ 24.756935] in_atomic(): 1, irqs_disabled(): 0, pid: 4159, name: syzkaller852778 [ 24.764495] 1 lock held by syzkaller852778/4159: [ 24.769254] #0: (rcu_read_lock){....}, at: [<00000000ce533c75>] __rds_conn_create+0xe46/0x1b50 [ 24.778210] CPU: 1 PID: 4159 Comm: syzkaller852778 Not tainted 4.16.0-rc1+ #219 [ 24.785637] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.794962] Call Trace: [ 24.797527] dump_stack+0x194/0x257 [ 24.801129] ? arch_local_irq_restore+0x53/0x53 [ 24.805781] ? print_lock+0x9f/0xa2 [ 24.809381] ? lockdep_print_held_locks+0xc4/0x130 [ 24.814288] ___might_sleep+0x2b2/0x470 [ 24.818234] ? trace_event_raw_event_sched_switch+0x810/0x810 [ 24.824088] ? debug_mutex_init+0x1c/0x60 [ 24.828216] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 24.833210] __might_sleep+0x95/0x190 [ 24.836992] kmem_cache_alloc+0x2a2/0x760 [ 24.841117] ? lock_acquire+0x1d5/0x580 [ 24.845065] ? __rds_conn_create+0xe46/0x1b50 [ 24.849532] ? SyS_membarrier+0x700/0x700 [ 24.853649] ? init_timer_key+0x163/0x3f0 [ 24.857774] rds_tcp_conn_alloc+0xa7/0x4e0 [ 24.861992] ? rds_tcp_conn_free+0x2d0/0x2d0 [ 24.866373] ? rds_cmsg_atomic+0xff0/0xff0 [ 24.870580] ? __lockdep_init_map+0xe4/0x650 [ 24.874958] ? rds_cmsg_atomic+0xff0/0xff0 [ 24.879174] __rds_conn_create+0x112f/0x1b50 [ 24.883574] ? rds_conn_drop+0xb0/0xb0 [ 24.887444] ? __raw_spin_lock_init+0x1c/0x100 [ 24.892002] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 24.897007] ? __lockdep_init_map+0xe4/0x650 [ 24.901396] ? lockdep_init_map+0x9/0x10 [ 24.905429] ? __init_waitqueue_head+0x97/0x140 [ 24.910070] ? init_wait_entry+0x1b0/0x1b0 [ 24.914280] ? lockdep_init_map+0x9/0x10 [ 24.918320] ? rds_message_alloc+0x28c/0x330 [ 24.922716] ? rds_message_next_extension+0x210/0x210 [ 24.927878] ? trace_hardirqs_on+0xd/0x10 [ 24.932002] ? _raw_spin_unlock_bh+0x30/0x40 [ 24.936392] ? __release_sock+0x360/0x360 [ 24.940509] ? lock_sock_nested+0x91/0x110 [ 24.944724] rds_conn_create_outgoing+0x3f/0x50 [ 24.949372] rds_sendmsg+0xda3/0x2390 [ 24.953144] ? avc_has_perm+0x43e/0x680 [ 24.957104] ? rds_send_drop_to+0x19d0/0x19d0 [ 24.961576] ? lock_downgrade+0x980/0x980 [ 24.965702] ? find_held_lock+0x35/0x1d0 [ 24.969744] ? sock_has_perm+0x2a4/0x420 [ 24.973777] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 24.979111] ? lock_release+0xa22/0xa40 [ 24.983060] ? trace_event_raw_event_sched_switch+0x810/0x810 [ 24.988919] ? __check_object_size+0x8b/0x530 [ 24.993393] ? __lock_is_held+0xb6/0x140 [ 24.997432] ? __might_sleep+0x95/0x190 [ 25.001381] ? selinux_socket_sendmsg+0x36/0x40 [ 25.006033] ? security_socket_sendmsg+0x89/0xb0 [ 25.010760] ? rds_send_drop_to+0x19d0/0x19d0 [ 25.015230] sock_sendmsg+0xca/0x110 [ 25.018919] SYSC_sendto+0x361/0x5c0 [ 25.022607] ? SYSC_connect+0x4a0/0x4a0 [ 25.026556] ? find_held_lock+0x35/0x1d0 [ 25.030609] ? lock_downgrade+0x980/0x980 [ 25.034754] ? up_read+0x1a/0x40 [ 25.038096] ? __do_page_fault+0x3d6/0xc90 [ 25.042321] SyS_sendto+0x40/0x50 [ 25.045747] ? SyS_getpeername+0x30/0x30 [ 25.049781] do_fast_syscall_32+0x3ee/0xfa1 [ 25.054083] ? do_int80_syscall_32+0x9d0/0x9d0 [ 25.058639] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.063368] ? syscall_return_slowpath+0x550/0x550 [ 25.068278] ? syscall_return_slowpath+0x2ac/0x550 [ 25.073179] ? prepare_exit_to_usermode+0x350/0x350 [ 25.078170] ? retint_user+0x18/0x18 [ 25.081869] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.086699] entry_SYSENTER_compat+0x54/0x63 [ 25.091079] RIP: 0023:0xf7f7dc79 [ 25.094414] RSP: 002b:00000000fff6ce8c EFLAGS: 00000296 ORIG_RAX: 0000000000000171 [ 25.102108] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000020a3cfff [ 25.109356] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020dfcff0 [ 25.116596] RBP: 0000000000000010 R08: 0000000000000000 R09: 0000000000000000 [ 25.123837] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 25.131078] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000