[....] Starting enhanced syslogd: rsyslogd[ 16.676469] audit: type=1400 audit(1518362856.279:5): avc: denied { syslog } for pid=4032 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 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. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 18.954196] audit: type=1400 audit(1518362858.557:6): avc: denied { map } for pid=4168 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.15.218' (ECDSA) to the list of known hosts. net.ipv6.conf.syz0.accept_dad = 0 net.ipv6.conf.syz0.router_solicitations = 0 [ 25.239752] audit: type=1400 audit(1518362864.842:7): avc: denied { map } for pid=4182 comm="syzkaller458703" path="/root/syzkaller458703251" 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.621350] 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 [ 25.951810] [ 25.953608] ============================= [ 25.957897] WARNING: suspicious RCU usage [ 25.962058] 4.15.0+ #222 Not tainted [ 25.965773] ----------------------------- [ 25.969937] ./include/linux/rcupdate.h:302 Illegal context switch in RCU read-side critical section! [ 25.979214] [ 25.979214] other info that might help us debug this: [ 25.979214] [ 25.987360] [ 25.987360] rcu_scheduler_active = 2, debug_locks = 1 [ 25.994050] 1 lock held by syzkaller458703/4182: [ 25.998807] #0: (rcu_read_lock){....}, at: [<00000000af17807f>] __rds_conn_create+0xe46/0x1b50 [ 26.007756] [ 26.007756] stack backtrace: [ 26.012271] CPU: 1 PID: 4182 Comm: syzkaller458703 Not tainted 4.15.0+ #222 [ 26.019346] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.028669] Call Trace: [ 26.031236] dump_stack+0x194/0x257 [ 26.034840] ? arch_local_irq_restore+0x53/0x53 [ 26.039492] lockdep_rcu_suspicious+0x123/0x170 [ 26.044142] ___might_sleep+0x385/0x470 [ 26.048095] ? trace_event_raw_event_sched_switch+0x810/0x810 [ 26.053948] ? debug_mutex_init+0x1c/0x60 [ 26.058070] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 26.063074] __might_sleep+0x95/0x190 [ 26.066862] kmem_cache_alloc+0x2a2/0x760 [ 26.070981] ? lock_acquire+0x1d5/0x580 [ 26.074928] ? __rds_conn_create+0xe46/0x1b50 [ 26.079398] ? SyS_membarrier+0x700/0x700 [ 26.083514] ? init_timer_key+0x163/0x3f0 [ 26.087648] rds_tcp_conn_alloc+0xa7/0x4e0 [ 26.091863] ? rds_tcp_conn_free+0x2d0/0x2d0 [ 26.096242] ? rds_cmsg_atomic+0xff0/0xff0 [ 26.100450] ? __lockdep_init_map+0xe4/0x650 [ 26.104845] ? rds_cmsg_atomic+0xff0/0xff0 [ 26.109053] __rds_conn_create+0x112f/0x1b50 [ 26.113451] ? rds_conn_drop+0xb0/0xb0 [ 26.117330] ? __raw_spin_lock_init+0x1c/0x100 [ 26.121885] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 26.126879] ? __lockdep_init_map+0xe4/0x650 [ 26.131260] ? lockdep_init_map+0x9/0x10 [ 26.135291] ? __init_waitqueue_head+0x97/0x140 [ 26.139933] ? init_wait_entry+0x1b0/0x1b0 [ 26.144143] ? lockdep_init_map+0x9/0x10 [ 26.148178] ? rds_message_alloc+0x28c/0x330 [ 26.152562] ? rds_message_next_extension+0x210/0x210 [ 26.157723] ? trace_hardirqs_on+0xd/0x10 [ 26.161846] ? _raw_spin_unlock_bh+0x30/0x40 [ 26.166230] ? __release_sock+0x360/0x360 [ 26.170347] ? lock_sock_nested+0x91/0x110 [ 26.174564] rds_conn_create_outgoing+0x3f/0x50 [ 26.179207] rds_sendmsg+0xda3/0x2390 [ 26.182979] ? avc_has_perm+0x43e/0x680 [ 26.186938] ? rds_send_drop_to+0x19d0/0x19d0 [ 26.191402] ? release_sock+0x1d4/0x2a0 [ 26.195352] ? lock_downgrade+0x980/0x980 [ 26.199477] ? find_held_lock+0x35/0x1d0 [ 26.203518] ? sock_has_perm+0x2a4/0x420 [ 26.207554] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 26.212899] ? lock_release+0xa02/0xa40 [ 26.216847] ? trace_event_raw_event_sched_switch+0x810/0x810 [ 26.222706] ? __check_object_size+0x8b/0x530 [ 26.227171] ? __handle_mm_fault+0x80e/0x3ce0 [ 26.231645] ? __might_sleep+0x95/0x190 [ 26.235597] ? selinux_socket_sendmsg+0x36/0x40 [ 26.240238] ? security_socket_sendmsg+0x89/0xb0 [ 26.244965] ? rds_send_drop_to+0x19d0/0x19d0 [ 26.249434] sock_sendmsg+0xca/0x110 [ 26.253124] SYSC_sendto+0x361/0x5c0 [ 26.256815] ? SYSC_connect+0x4a0/0x4a0 [ 26.260768] ? __do_page_fault+0x5f7/0xc90 [ 26.264976] ? lock_downgrade+0x980/0x980 [ 26.269104] ? handle_mm_fault+0x43b/0x970 [ 26.273325] ? up_read+0x1a/0x40 [ 26.276664] ? __do_page_fault+0x3d6/0xc90 [ 26.280891] ? mm_fault_error+0x2c0/0x2c0 [ 26.285020] ? move_addr_to_kernel+0x60/0x60 [ 26.289408] SyS_sendto+0x40/0x50 [ 26.292833] ? SyS_getpeername+0x30/0x30 [ 26.296884] do_syscall_64+0x282/0x940 [ 26.300742] ? __do_page_fault+0xc90/0xc90 [ 26.304950] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.309679] ? syscall_return_slowpath+0x550/0x550 [ 26.314579] ? syscall_return_slowpath+0x2ac/0x550 [ 26.319481] ? prepare_exit_to_usermode+0x350/0x350 [ 26.324470] ? retint_user+0x18/0x18 [ 26.328158] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.332980] entry_SYSCALL_64_after_hwframe+0x26/0x9b [ 26.338142] RIP: 0033:0x445319 [ 26.341916] RSP: 002b:00007ffe70b8b568 EFLAGS: 00000217 ORIG_RAX: 000000000000002c [ 26.349595] RAX: ffffffffffffffda RBX: ffffffffffffffff RCX: 0000000000445319 [ 26.356836] RDX: 0000000000000000 RSI: 0000000020fc2000 RDI: 0000000000000004 [ 26.364077] RBP: 00007ffe70b8b688 R08: 000000002069affb R09: 0000000000000010 [ 26.371317] R10: 0000000000000000 R11: 0000000000000217 R12: 00007ffe70b8b688 [ 26.378558] R13: 00000000004027e0 R14: 0000000000000000 R15: 0000000000000000 [ 26.386050] BUG: sleeping function called from invalid context at mm/slab.h:420 [ 26.393504] in_atomic(): 1, irqs_disabled(): 0, pid: 4182, name: syzkaller458703 [ 26.401052] 1 lock held by syzkaller458703/4182: [ 26.405802] #0: (rcu_read_lock){....}, at: [<00000000af17807f>] __rds_conn_create+0xe46/0x1b50 [ 26.414755] CPU: 1 PID: 4182 Comm: syzkaller458703 Not tainted 4.15.0+ #222 [ 26.421841] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.431178] Call Trace: [ 26.433742] dump_stack+0x194/0x257 [ 26.437344] ? arch_local_irq_restore+0x53/0x53 [ 26.441987] ? print_lock+0x9f/0xa2 [ 26.445589] ? lockdep_print_held_locks+0xc4/0x130 [ 26.450499] ___might_sleep+0x2b2/0x470 [ 26.454450] ? trace_event_raw_event_sched_switch+0x810/0x810 [ 26.460305] ? debug_mutex_init+0x1c/0x60 [ 26.464426] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 26.469420] __might_sleep+0x95/0x190 [ 26.473199] kmem_cache_alloc+0x2a2/0x760 [ 26.477319] ? lock_acquire+0x1d5/0x580 [ 26.481274] ? __rds_conn_create+0xe46/0x1b50 [ 26.485741] ? SyS_membarrier+0x700/0x700 [ 26.489857] ? init_timer_key+0x163/0x3f0 [ 26.493979] rds_tcp_conn_alloc+0xa7/0x4e0 [ 26.498194] ? rds_tcp_conn_free+0x2d0/0x2d0 [ 26.502573] ? rds_cmsg_atomic+0xff0/0xff0 [ 26.506779] ? __lockdep_init_map+0xe4/0x650 [ 26.511168] ? rds_cmsg_atomic+0xff0/0xff0 [ 26.515377] __rds_conn_create+0x112f/0x1b50 [ 26.519774] ? rds_conn_drop+0xb0/0xb0 [ 26.523641] ? __raw_spin_lock_init+0x1c/0x100 [ 26.528195] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 26.533187] ? __lockdep_init_map+0xe4/0x650 [ 26.537569] ? lockdep_init_map+0x9/0x10 [ 26.541612] ? __init_waitqueue_head+0x97/0x140 [ 26.546261] ? init_wait_entry+0x1b0/0x1b0 [ 26.550471] ? lockdep_init_map+0x9/0x10 [ 26.554509] ? rds_message_alloc+0x28c/0x330 [ 26.558889] ? rds_message_next_extension+0x210/0x210 [ 26.564051] ? trace_hardirqs_on+0xd/0x10 [ 26.568173] ? _raw_spin_unlock_bh+0x30/0x40 [ 26.572558] ? __release_sock+0x360/0x360 [ 26.576676] ? lock_sock_nested+0x91/0x110 [ 26.580885] rds_conn_create_outgoing+0x3f/0x50 [ 26.585531] rds_sendmsg+0xda3/0x2390 [ 26.589305] ? avc_has_perm+0x43e/0x680 [ 26.593265] ? rds_send_drop_to+0x19d0/0x19d0 [ 26.597737] ? release_sock+0x1d4/0x2a0 [ 26.601687] ? lock_downgrade+0x980/0x980 [ 26.605809] ? find_held_lock+0x35/0x1d0 [ 26.609850] ? sock_has_perm+0x2a4/0x420 [ 26.613886] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 26.619220] ? lock_release+0xa02/0xa40 [ 26.623169] ? trace_event_raw_event_sched_switch+0x810/0x810 [ 26.629034] ? __check_object_size+0x8b/0x530 [ 26.633504] ? __handle_mm_fault+0x80e/0x3ce0 [ 26.637978] ? __might_sleep+0x95/0x190 [ 26.641930] ? selinux_socket_sendmsg+0x36/0x40 [ 26.646570] ? security_socket_sendmsg+0x89/0xb0 [ 26.651298] ? rds_send_drop_to+0x19d0/0x19d0 [ 26.655767] sock_sendmsg+0xca/0x110 [ 26.659456] SYSC_sendto+0x361/0x5c0 [ 26.663144] ? SYSC_connect+0x4a0/0x4a0 [ 26.667102] ? __do_page_fault+0x5f7/0xc90 [ 26.671311] ? lock_downgrade+0x980/0x980 [ 26.675438] ? handle_mm_fault+0x43b/0x970 [ 26.679657] ? up_read+0x1a/0x40 [ 26.682995] ? __do_page_fault+0x3d6/0xc90 [ 26.687216] ? mm_fault_error+0x2c0/0x2c0 [ 26.691339] ? move_addr_to_kernel+0x60/0x60 [ 26.695723] SyS_sendto+0x40/0x50 [ 26.699153] ? SyS_getpeername+0x30/0x30 [ 26.703190] do_syscall_64+0x282/0x940 [ 26.707555] ? __do_page_fault+0xc90/0xc90 [ 26.711767] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.716505] ? syscall_return_slowpath+0x550/0x550 [ 26.721410] ? syscall_return_slowpath+0x2ac/0x550 [ 26.726313] ? prepare_exit_to_usermode+0x350/0x350 [ 26.731306] ? retint_user+0x18/0x18 [ 26.734999] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.739828] entry_SYSCALL_64_after_hwframe+0x26/0x9b [ 26.744989] RIP: 0033:0x445319 [ 26.748153] RSP: 002b:00007ffe70b8b568 EFLAGS: 00000217 ORIG_RAX: 000000000000002c [ 26.755833] RAX: ffffffffffffffda RBX: ffffffffffffffff RCX: 0000000000445319 [ 26.763076] RDX: 0000000000000000 RSI: 0000000020fc2000 RDI: 0000000000000004 [ 26.770321] RBP: 00007ffe70b8b688 R08: 000000002069affb R09: 0000000000000010 [ 26.777566] R10: 0000000000000000 R11: 0000000000000217 R12: 00007ffe70b8b688 [ 26.784806] R13: 00000000004027e0 R14: 0000000000000000 R15: 0000000000000000