[....] Starting enhanced syslogd: rsyslogd[ 12.007099] audit: type=1400 audit(1517153332.745:5): avc: denied { syslog } for pid=3522 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.058540] audit: type=1400 audit(1517153338.797:6): avc: denied { map } for pid=3662 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.215' (ECDSA) to the list of known hosts. net.ipv6.conf.syz0.accept_dad = 0 net.ipv6.conf.syz0.router_solicitations = 0 [ 24.597590] audit: type=1400 audit(1517153345.336:7): avc: denied { map } for pid=3676 comm="syzkaller436466" path="/root/syzkaller436466192" 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 RTNETLINK answers: Operation not supported [ 24.859396] IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready 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.168086] [ 25.169729] ====================================================== [ 25.176011] WARNING: possible circular locking dependency detected [ 25.182296] 4.15.0-rc9+ #212 Not tainted [ 25.186327] ------------------------------------------------------ [ 25.192610] syzkaller436466/3676 is trying to acquire lock: [ 25.198282] (rtnl_mutex){+.+.}, at: [<00000000fbb31428>] rtnl_lock+0x17/0x20 [ 25.205529] [ 25.205529] but task is already holding lock: [ 25.211465] (sk_lock-AF_INET){+.+.}, at: [<00000000d6623799>] ip_setsockopt+0x8c/0xb0 [ 25.219588] [ 25.219588] which lock already depends on the new lock. [ 25.219588] [ 25.228484] [ 25.228484] the existing dependency chain (in reverse order) is: [ 25.236075] [ 25.236075] -> #1 (sk_lock-AF_INET){+.+.}: [ 25.241761] lock_sock_nested+0xc2/0x110 [ 25.246308] do_ip_setsockopt.isra.12+0x1d9/0x3210 [ 25.251723] ip_setsockopt+0x3a/0xb0 [ 25.255922] tcp_setsockopt+0x82/0xd0 [ 25.260218] sock_common_setsockopt+0x95/0xd0 [ 25.265199] SyS_setsockopt+0x189/0x360 [ 25.269661] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 25.274900] [ 25.274900] -> #0 (rtnl_mutex){+.+.}: [ 25.280148] lock_acquire+0x1d5/0x580 [ 25.284435] __mutex_lock+0x16f/0x1a80 [ 25.288808] mutex_lock_nested+0x16/0x20 [ 25.293358] rtnl_lock+0x17/0x20 [ 25.297213] register_netdevice_notifier+0xad/0x860 [ 25.302716] clusterip_tg_check+0xeb9/0x1570 [ 25.307612] xt_check_target+0x22c/0x7d0 [ 25.312163] find_check_entry.isra.8+0x8c8/0xcb0 [ 25.317408] translate_table+0xed1/0x1610 [ 25.322040] do_ipt_set_ctl+0x370/0x5f0 [ 25.326501] nf_setsockopt+0x67/0xc0 [ 25.330700] ip_setsockopt+0xa1/0xb0 [ 25.334900] raw_setsockopt+0xb7/0xd0 [ 25.339188] sock_common_setsockopt+0x95/0xd0 [ 25.344170] SyS_setsockopt+0x189/0x360 [ 25.348632] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 25.353869] [ 25.353869] other info that might help us debug this: [ 25.353869] [ 25.361976] Possible unsafe locking scenario: [ 25.361976] [ 25.367998] CPU0 CPU1 [ 25.372635] ---- ---- [ 25.377266] lock(sk_lock-AF_INET); [ 25.380946] lock(rtnl_mutex); [ 25.386709] lock(sk_lock-AF_INET); [ 25.392906] lock(rtnl_mutex); [ 25.396153] [ 25.396153] *** DEADLOCK *** [ 25.396153] [ 25.402177] 1 lock held by syzkaller436466/3676: [ 25.406898] #0: (sk_lock-AF_INET){+.+.}, at: [<00000000d6623799>] ip_setsockopt+0x8c/0xb0 [ 25.415360] [ 25.415360] stack backtrace: [ 25.419824] CPU: 0 PID: 3676 Comm: syzkaller436466 Not tainted 4.15.0-rc9+ #212 [ 25.427234] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.436555] Call Trace: [ 25.439113] dump_stack+0x194/0x257 [ 25.442707] ? arch_local_irq_restore+0x53/0x53 [ 25.447355] print_circular_bug.isra.37+0x2cd/0x2dc [ 25.452337] ? save_trace+0xe0/0x2b0 [ 25.456028] __lock_acquire+0x30a8/0x3e00 [ 25.460151] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 25.465310] ? trace_hardirqs_off+0x10/0x10 [ 25.469598] ? noop_count+0x40/0x40 [ 25.473191] ? trace_hardirqs_off+0x10/0x10 [ 25.477495] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 25.482653] ? check_noncircular+0x20/0x20 [ 25.486855] ? check_usage+0x22f/0xb60 [ 25.490710] ? trace_raw_output_xdp_redirect_map_err+0x440/0x440 [ 25.496820] ? check_usage+0x22f/0xb60 [ 25.500687] ? check_noncircular+0x20/0x20 [ 25.504891] ? check_noncircular+0x20/0x20 [ 25.509091] ? find_held_lock+0x35/0x1d0 [ 25.513124] ? __bfs+0x2e0/0x750 [ 25.516467] ? __is_insn_slot_addr+0x1fc/0x330 [ 25.521022] lock_acquire+0x1d5/0x580 [ 25.524791] ? lock_acquire+0x1d5/0x580 [ 25.528733] ? rtnl_lock+0x17/0x20 [ 25.532240] ? lock_release+0xa40/0xa40 [ 25.536181] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 25.542030] ? print_irqtrace_events+0x270/0x270 [ 25.546755] ? idr_get_free_cmn+0x64e/0xfd0 [ 25.551046] ? rcu_note_context_switch+0x710/0x710 [ 25.555942] ? __might_sleep+0x95/0x190 [ 25.559897] ? rtnl_lock+0x17/0x20 [ 25.563405] __mutex_lock+0x16f/0x1a80 [ 25.567261] ? rtnl_lock+0x17/0x20 [ 25.570766] ? rtnl_lock+0x17/0x20 [ 25.574274] ? __lock_acquire+0x664/0x3e00 [ 25.578478] ? _raw_spin_unlock_irqrestore+0x31/0xba [ 25.583546] ? mutex_lock_io_nested+0x1900/0x1900 [ 25.588356] ? trace_hardirqs_on+0xd/0x10 [ 25.592477] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 25.597637] ? save_stack+0xa3/0xd0 [ 25.601234] ? kasan_kmalloc+0xad/0xe0 [ 25.605095] ? __proc_create+0x21a/0x880 [ 25.609127] ? proc_create_data+0x76/0x180 [ 25.613330] ? clusterip_tg_check+0xe4d/0x1570 [ 25.617884] ? rb_insert_color+0x1580/0x1580 [ 25.622263] ? do_ipt_set_ctl+0x370/0x5f0 [ 25.626382] ? ip_setsockopt+0xa1/0xb0 [ 25.630240] ? raw_setsockopt+0xb7/0xd0 [ 25.634189] ? sock_common_setsockopt+0x95/0xd0 [ 25.638833] ? SyS_setsockopt+0x189/0x360 [ 25.642955] ? entry_SYSCALL_64_fastpath+0x29/0xa0 [ 25.647859] ? _find_next_bit+0xee/0x120 [ 25.651898] ? check_noncircular+0x20/0x20 [ 25.656109] ? find_first_zero_bit+0x93/0xe0 [ 25.660488] ? ida_get_new_above+0x421/0x9d0 [ 25.664866] ? print_irqtrace_events+0x270/0x270 [ 25.669593] ? check_noncircular+0x20/0x20 [ 25.673794] ? print_irqtrace_events+0x270/0x270 [ 25.678519] ? ida_simple_get+0x15c/0x220 [ 25.682634] ? lock_downgrade+0x980/0x980 [ 25.686752] ? find_held_lock+0x35/0x1d0 [ 25.690873] mutex_lock_nested+0x16/0x20 [ 25.694905] ? mutex_lock_nested+0x16/0x20 [ 25.699114] rtnl_lock+0x17/0x20 [ 25.702452] register_netdevice_notifier+0xad/0x860 [ 25.707443] ? lock_downgrade+0x980/0x980 [ 25.711567] ? __dev_close_many+0x350/0x350 [ 25.715862] ? ida_simple_get+0x176/0x220 [ 25.719982] ? do_raw_write_trylock+0x190/0x190 [ 25.724622] ? ida_remove+0x3f0/0x3f0 [ 25.728398] ? _raw_write_unlock+0x22/0x30 [ 25.732603] ? proc_register+0x261/0x370 [ 25.736640] ? proc_create_data+0x101/0x180 [ 25.740938] clusterip_tg_check+0xeb9/0x1570 [ 25.745320] ? arp_mangle+0x550/0x550 [ 25.749098] ? xt_find_target+0x150/0x1e0 [ 25.753216] ? lock_downgrade+0x980/0x980 [ 25.757333] ? mutex_unlock+0xd/0x10 [ 25.761011] ? ipv4_hooks_register+0x1fb/0x3e0 [ 25.765557] ? ipv4_conntrack_in+0x90/0x90 [ 25.769762] ? ipv4_conntrack_in+0x90/0x90 [ 25.773977] ? nf_ct_netns_do_get+0x20f/0x340 [ 25.778444] ? __mutex_unlock_slowpath+0xe9/0xac0 [ 25.783268] ? __kernel_text_address+0xd/0x40 [ 25.787741] ? wait_for_completion+0x770/0x770 [ 25.792299] ? nf_ct_netns_get+0x35/0x90 [ 25.796331] ? arp_mangle+0x550/0x550 [ 25.800112] xt_check_target+0x22c/0x7d0 [ 25.804145] ? xt_target_seq_next+0x30/0x30 [ 25.808434] ? mutex_unlock+0xd/0x10 [ 25.812129] ? mutex_unlock+0xd/0x10 [ 25.815813] ? xt_find_target+0x17b/0x1e0 [ 25.819934] find_check_entry.isra.8+0x8c8/0xcb0 [ 25.824658] ? ipt_do_table+0x1860/0x1860 [ 25.828776] ? mark_held_locks+0xaf/0x100 [ 25.832894] ? kfree+0xf0/0x260 [ 25.836150] ? trace_hardirqs_on+0xd/0x10 [ 25.840270] translate_table+0xed1/0x1610 [ 25.844401] ? alloc_counters.isra.11+0x7d0/0x7d0 [ 25.849218] ? kasan_check_write+0x14/0x20 [ 25.853419] ? _copy_from_user+0x99/0x110 [ 25.857538] do_ipt_set_ctl+0x370/0x5f0 [ 25.861481] ? translate_compat_table+0x1b90/0x1b90 [ 25.866467] ? mutex_unlock+0xd/0x10 [ 25.870157] ? nf_sockopt_find.constprop.0+0x1a7/0x220 [ 25.875400] nf_setsockopt+0x67/0xc0 [ 25.879081] ip_setsockopt+0xa1/0xb0 [ 25.882762] raw_setsockopt+0xb7/0xd0 [ 25.886549] sock_common_setsockopt+0x95/0xd0 [ 25.891017] SyS_setsockopt+0x189/0x360 [ 25.894960] ? SyS_recv+0x40/0x40 [ 25.898383] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 25.903193] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 25.908177] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.912899] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 25.917620] RIP: 0033:0x445ce9 [ 25.920776] RSP: 002b:00007fff462044b8 EFLAGS: 00000203 ORIG_RAX: 0000000000000036 [ 25.928452] RAX: ffffffffffffffda RBX: ffffffffffffffff RCX: 0000000000445ce9 [ 25.935698] RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000005 [ 25.942943] RBP: 00007fff462045b8 R08: 0000000000000328 R09: 0000000020005000 [ 25.950184] R10: 0000000020397cd8 R11: 0000000000000203 R12: 00007fff462045b8 [ 25.957420] R13: 00000000004031b0 R14: 0000000000000000 R15: 0000000000000000 [ 25.964981] ipt_CLUSTERIP: ipt_CLUSTERIP is deprecated and it will removed