[....] Starting enhanced syslogd: rsyslogd[ 16.353332] audit: type=1400 audit(1518413788.740:5): avc: denied { syslog } for pid=4015 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.498225] audit: type=1400 audit(1518413790.885:6): avc: denied { map } for pid=4153 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.207' (ECDSA) to the list of known hosts. net.ipv6.conf.syz0.accept_dad = 0 net.ipv6.conf.syz0.router_solicitations = 0 [ 24.762353] audit: type=1400 audit(1518413797.149:7): avc: denied { map } for pid=4167 comm="syzkaller680143" path="/root/syzkaller680143102" 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.140454] 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.476528] [ 25.478221] ============================= [ 25.482371] WARNING: suspicious RCU usage [ 25.486538] 4.15.0+ #222 Not tainted [ 25.490251] ----------------------------- [ 25.494413] ./include/linux/rcupdate.h:302 Illegal context switch in RCU read-side critical section! [ 25.503854] [ 25.503854] other info that might help us debug this: [ 25.503854] [ 25.512034] [ 25.512034] rcu_scheduler_active = 2, debug_locks = 1 [ 25.518698] 1 lock held by syzkaller680143/4167: [ 25.523448] #0: (rcu_read_lock){....}, at: [<00000000b25bfa64>] __rds_conn_create+0xe46/0x1b50 [ 25.532400] [ 25.532400] stack backtrace: [ 25.536899] CPU: 0 PID: 4167 Comm: syzkaller680143 Not tainted 4.15.0+ #222 [ 25.543980] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.553311] Call Trace: [ 25.555876] dump_stack+0x194/0x257 [ 25.559494] ? arch_local_irq_restore+0x53/0x53 [ 25.564158] lockdep_rcu_suspicious+0x123/0x170 [ 25.568806] ___might_sleep+0x385/0x470 [ 25.572757] ? trace_event_raw_event_sched_switch+0x810/0x810 [ 25.578612] ? debug_mutex_init+0x1c/0x60 [ 25.582753] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 25.587749] __might_sleep+0x95/0x190 [ 25.591528] kmem_cache_alloc+0x2a2/0x760 [ 25.595739] ? lock_acquire+0x1d5/0x580 [ 25.599686] ? __rds_conn_create+0xe46/0x1b50 [ 25.604158] ? SyS_membarrier+0x700/0x700 [ 25.608280] ? init_timer_key+0x163/0x3f0 [ 25.612411] rds_tcp_conn_alloc+0xa7/0x4e0 [ 25.616627] ? rds_tcp_conn_free+0x2d0/0x2d0 [ 25.621015] ? rds_cmsg_atomic+0xff0/0xff0 [ 25.625235] ? __lockdep_init_map+0xe4/0x650 [ 25.629627] ? rds_cmsg_atomic+0xff0/0xff0 [ 25.633839] __rds_conn_create+0x112f/0x1b50 [ 25.638251] ? rds_conn_drop+0xb0/0xb0 [ 25.642131] ? __raw_spin_lock_init+0x1c/0x100 [ 25.646692] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 25.651690] ? __lockdep_init_map+0xe4/0x650 [ 25.656075] ? lockdep_init_map+0x9/0x10 [ 25.660113] ? __init_waitqueue_head+0x97/0x140 [ 25.664761] ? init_wait_entry+0x1b0/0x1b0 [ 25.668977] ? lockdep_init_map+0x9/0x10 [ 25.673022] ? rds_message_alloc+0x28c/0x330 [ 25.677415] ? rds_message_next_extension+0x210/0x210 [ 25.682577] ? trace_hardirqs_on+0xd/0x10 [ 25.686704] ? _raw_spin_unlock_bh+0x30/0x40 [ 25.691091] ? __release_sock+0x360/0x360 [ 25.695212] ? lock_sock_nested+0x91/0x110 [ 25.699424] rds_conn_create_outgoing+0x3f/0x50 [ 25.704084] rds_sendmsg+0xda3/0x2390 [ 25.707861] ? avc_has_perm+0x43e/0x680 [ 25.711822] ? rds_send_drop_to+0x19d0/0x19d0 [ 25.716315] ? release_sock+0x1d4/0x2a0 [ 25.720269] ? lock_downgrade+0x980/0x980 [ 25.724393] ? find_held_lock+0x35/0x1d0 [ 25.728437] ? sock_has_perm+0x2a4/0x420 [ 25.732475] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 25.737811] ? lock_release+0xa02/0xa40 [ 25.741761] ? trace_event_raw_event_sched_switch+0x810/0x810 [ 25.747622] ? __check_object_size+0x8b/0x530 [ 25.752092] ? __handle_mm_fault+0x80e/0x3ce0 [ 25.756581] ? __might_sleep+0x95/0x190 [ 25.760554] ? selinux_socket_sendmsg+0x36/0x40 [ 25.765198] ? security_socket_sendmsg+0x89/0xb0 [ 25.769931] ? rds_send_drop_to+0x19d0/0x19d0 [ 25.774412] sock_sendmsg+0xca/0x110 [ 25.778103] SYSC_sendto+0x361/0x5c0 [ 25.781792] ? SYSC_connect+0x4a0/0x4a0 [ 25.785743] ? __do_page_fault+0x5f7/0xc90 [ 25.789955] ? lock_downgrade+0x980/0x980 [ 25.794086] ? handle_mm_fault+0x43b/0x970 [ 25.798313] ? up_read+0x1a/0x40 [ 25.801656] ? __do_page_fault+0x3d6/0xc90 [ 25.805880] ? mm_fault_error+0x2c0/0x2c0 [ 25.810006] ? kernel_write+0x120/0x120 [ 25.813964] SyS_sendto+0x40/0x50 [ 25.817392] ? SyS_getpeername+0x30/0x30 [ 25.821432] do_syscall_64+0x282/0x940 [ 25.825298] ? __do_page_fault+0xc90/0xc90 [ 25.829506] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.834236] ? syscall_return_slowpath+0x550/0x550 [ 25.839142] ? syscall_return_slowpath+0x2ac/0x550 [ 25.844049] ? prepare_exit_to_usermode+0x350/0x350 [ 25.849053] ? retint_user+0x18/0x18 [ 25.852748] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.857571] entry_SYSCALL_64_after_hwframe+0x26/0x9b [ 25.862731] RIP: 0033:0x444f09 [ 25.865892] RSP: 002b:00007ffc3a3b94b8 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 25.873572] RAX: ffffffffffffffda RBX: 00000000004a682b RCX: 0000000000444f09 [ 25.880813] RDX: 0000000000000000 RSI: 0000000020a3cfff RDI: 0000000000000004 [ 25.888061] RBP: 00007ffc3a3b9568 R08: 0000000020dfcff0 R09: 0000000000000010 [ 25.895308] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffc3a3b9568 [ 25.902549] R13: 0000000000402490 R14: 0000000000000000 R15: 0000000000000000 [ 25.909845] BUG: sleeping function called from invalid context at mm/slab.h:420 [ 25.917296] in_atomic(): 1, irqs_disabled(): 0, pid: 4167, name: syzkaller680143 [ 25.924833] 1 lock held by syzkaller680143/4167: [ 25.929582] #0: (rcu_read_lock){....}, at: [<00000000b25bfa64>] __rds_conn_create+0xe46/0x1b50 [ 25.938526] CPU: 0 PID: 4167 Comm: syzkaller680143 Not tainted 4.15.0+ #222 [ 25.945606] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.954932] Call Trace: [ 25.957493] dump_stack+0x194/0x257 [ 25.961095] ? arch_local_irq_restore+0x53/0x53 [ 25.965738] ? print_lock+0x9f/0xa2 [ 25.969341] ? lockdep_print_held_locks+0xc4/0x130 [ 25.974248] ___might_sleep+0x2b2/0x470 [ 25.978198] ? trace_event_raw_event_sched_switch+0x810/0x810 [ 25.984057] ? debug_mutex_init+0x1c/0x60 [ 25.988185] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 25.993181] __might_sleep+0x95/0x190 [ 25.996959] kmem_cache_alloc+0x2a2/0x760 [ 26.001079] ? lock_acquire+0x1d5/0x580 [ 26.005039] ? __rds_conn_create+0xe46/0x1b50 [ 26.009515] ? SyS_membarrier+0x700/0x700 [ 26.013634] ? init_timer_key+0x163/0x3f0 [ 26.017762] rds_tcp_conn_alloc+0xa7/0x4e0 [ 26.021977] ? rds_tcp_conn_free+0x2d0/0x2d0 [ 26.026358] ? rds_cmsg_atomic+0xff0/0xff0 [ 26.030569] ? __lockdep_init_map+0xe4/0x650 [ 26.034953] ? rds_cmsg_atomic+0xff0/0xff0 [ 26.039163] __rds_conn_create+0x112f/0x1b50 [ 26.043564] ? rds_conn_drop+0xb0/0xb0 [ 26.047435] ? __raw_spin_lock_init+0x1c/0x100 [ 26.051994] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 26.056995] ? __lockdep_init_map+0xe4/0x650 [ 26.061734] ? lockdep_init_map+0x9/0x10 [ 26.065772] ? __init_waitqueue_head+0x97/0x140 [ 26.070415] ? init_wait_entry+0x1b0/0x1b0 [ 26.074629] ? lockdep_init_map+0x9/0x10 [ 26.078670] ? rds_message_alloc+0x28c/0x330 [ 26.083067] ? rds_message_next_extension+0x210/0x210 [ 26.088248] ? trace_hardirqs_on+0xd/0x10 [ 26.092409] ? _raw_spin_unlock_bh+0x30/0x40 [ 26.096822] ? __release_sock+0x360/0x360 [ 26.100961] ? lock_sock_nested+0x91/0x110 [ 26.105199] rds_conn_create_outgoing+0x3f/0x50 [ 26.109866] rds_sendmsg+0xda3/0x2390 [ 26.113656] ? avc_has_perm+0x43e/0x680 [ 26.117650] ? rds_send_drop_to+0x19d0/0x19d0 [ 26.122130] ? release_sock+0x1d4/0x2a0 [ 26.126083] ? lock_downgrade+0x980/0x980 [ 26.130209] ? find_held_lock+0x35/0x1d0 [ 26.134257] ? sock_has_perm+0x2a4/0x420 [ 26.138299] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 26.143638] ? lock_release+0xa02/0xa40 [ 26.147586] ? trace_event_raw_event_sched_switch+0x810/0x810 [ 26.153445] ? __check_object_size+0x8b/0x530 [ 26.157913] ? __handle_mm_fault+0x80e/0x3ce0 [ 26.162388] ? __might_sleep+0x95/0x190 [ 26.166339] ? selinux_socket_sendmsg+0x36/0x40 [ 26.170980] ? security_socket_sendmsg+0x89/0xb0 [ 26.175713] ? rds_send_drop_to+0x19d0/0x19d0 [ 26.180184] sock_sendmsg+0xca/0x110 [ 26.183887] SYSC_sendto+0x361/0x5c0 [ 26.187577] ? SYSC_connect+0x4a0/0x4a0 [ 26.191530] ? __do_page_fault+0x5f7/0xc90 [ 26.195741] ? lock_downgrade+0x980/0x980 [ 26.199871] ? handle_mm_fault+0x43b/0x970 [ 26.204091] ? up_read+0x1a/0x40 [ 26.207431] ? __do_page_fault+0x3d6/0xc90 [ 26.211646] ? mm_fault_error+0x2c0/0x2c0 [ 26.215768] ? kernel_write+0x120/0x120 [ 26.219719] SyS_sendto+0x40/0x50 [ 26.223150] ? SyS_getpeername+0x30/0x30 [ 26.227187] do_syscall_64+0x282/0x940 [ 26.231047] ? __do_page_fault+0xc90/0xc90 [ 26.235255] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.239986] ? syscall_return_slowpath+0x550/0x550 [ 26.244891] ? syscall_return_slowpath+0x2ac/0x550 [ 26.249796] ? prepare_exit_to_usermode+0x350/0x350 [ 26.254789] ? retint_user+0x18/0x18 [ 26.258481] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.263305] entry_SYSCALL_64_after_hwframe+0x26/0x9b [ 26.268467] RIP: 0033:0x444f09 [ 26.271632] RSP: 002b:00007ffc3a3b94b8 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 26.279313] RAX: ffffffffffffffda RBX: 00000000004a682b RCX: 0000000000444f09 [ 26.286556] RDX: 0000000000000000 RSI: 0000000020a3cfff RDI: 0000000000000004 [ 26.293797] RBP: 00007ffc3a3b9568 R08: 0000000020dfcff0 R09: 0000000000000010 [ 26.301045] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffc3a3b9568 [ 26.308291] R13: 0000000000402490 R14: 0000000000000000 R15: 0000000000000000