[....] Starting enhanced syslogd: rsyslogd[ 12.512344] audit: type=1400 audit(1517174847.637:5): avc: denied { syslog } for pid=3529 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.599672] audit: type=1400 audit(1517174853.724:6): avc: denied { map } for pid=3670 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.216' (ECDSA) to the list of known hosts. net.ipv6.conf.syz0.accept_dad = 0 net.ipv6.conf.syz0.router_solicitations = 0 [ 27.614277] audit: type=1400 audit(1517174862.739:7): avc: denied { map } for pid=3685 comm="syzkaller062111" path="/root/syzkaller062111247" 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 [ 27.993791] 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 [ 28.321207] [ 28.322850] ====================================================== [ 28.329139] WARNING: possible circular locking dependency detected [ 28.335431] 4.15.0-rc9+ #213 Not tainted [ 28.339456] ------------------------------------------------------ [ 28.345739] syzkaller062111/3685 is trying to acquire lock: [ 28.351413] (rtnl_mutex){+.+.}, at: [<00000000c4516e62>] rtnl_lock+0x17/0x20 [ 28.358668] [ 28.358668] but task is already holding lock: [ 28.364604] (sk_lock-AF_INET){+.+.}, at: [<00000000b08e0df0>] ip_setsockopt+0x8c/0xb0 [ 28.372636] [ 28.372636] which lock already depends on the new lock. [ 28.372636] [ 28.380920] [ 28.380920] the existing dependency chain (in reverse order) is: [ 28.388505] [ 28.388505] -> #1 (sk_lock-AF_INET){+.+.}: [ 28.394196] lock_sock_nested+0xc2/0x110 [ 28.398748] do_ip_getsockopt+0x1b3/0x2170 [ 28.403470] ip_getsockopt+0x90/0x220 [ 28.407760] tcp_getsockopt+0x82/0xd0 [ 28.412054] sock_common_getsockopt+0x95/0xd0 [ 28.417037] SyS_getsockopt+0x178/0x340 [ 28.421505] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 28.426747] [ 28.426747] -> #0 (rtnl_mutex){+.+.}: [ 28.432000] lock_acquire+0x1d5/0x580 [ 28.436304] __mutex_lock+0x16f/0x1a80 [ 28.440682] mutex_lock_nested+0x16/0x20 [ 28.445234] rtnl_lock+0x17/0x20 [ 28.449090] register_netdevice_notifier+0xad/0x860 [ 28.454600] clusterip_tg_check+0xeb9/0x1570 [ 28.459501] xt_check_target+0x22c/0x7d0 [ 28.464051] find_check_entry.isra.8+0x8c8/0xcb0 [ 28.469297] translate_table+0xed1/0x1610 [ 28.473933] do_ipt_set_ctl+0x370/0x5f0 [ 28.478400] nf_setsockopt+0x67/0xc0 [ 28.482604] ip_setsockopt+0xa1/0xb0 [ 28.486808] raw_setsockopt+0xb7/0xd0 [ 28.491103] sock_common_setsockopt+0x95/0xd0 [ 28.496086] SyS_setsockopt+0x189/0x360 [ 28.500552] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 28.505792] [ 28.505792] other info that might help us debug this: [ 28.505792] [ 28.513905] Possible unsafe locking scenario: [ 28.513905] [ 28.519932] CPU0 CPU1 [ 28.524566] ---- ---- [ 28.529201] lock(sk_lock-AF_INET); [ 28.532886] lock(rtnl_mutex); [ 28.538653] lock(sk_lock-AF_INET); [ 28.544856] lock(rtnl_mutex); [ 28.548106] [ 28.548106] *** DEADLOCK *** [ 28.548106] [ 28.554135] 1 lock held by syzkaller062111/3685: [ 28.558860] #0: (sk_lock-AF_INET){+.+.}, at: [<00000000b08e0df0>] ip_setsockopt+0x8c/0xb0 [ 28.567329] [ 28.567329] stack backtrace: [ 28.571795] CPU: 0 PID: 3685 Comm: syzkaller062111 Not tainted 4.15.0-rc9+ #213 [ 28.579208] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.588535] Call Trace: [ 28.591096] dump_stack+0x194/0x257 [ 28.594695] ? arch_local_irq_restore+0x53/0x53 [ 28.599338] print_circular_bug.isra.37+0x2cd/0x2dc [ 28.604323] ? save_trace+0xe0/0x2b0 [ 28.608008] __lock_acquire+0x30a8/0x3e00 [ 28.612141] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 28.617301] ? trace_hardirqs_off+0x10/0x10 [ 28.621594] ? __is_insn_slot_addr+0x1fc/0x330 [ 28.626149] ? lock_downgrade+0x980/0x980 [ 28.630269] ? lock_release+0xa40/0xa40 [ 28.634216] ? bpf_prog_kallsyms_find+0xbd/0x440 [ 28.638960] ? modules_open+0xa0/0xa0 [ 28.642745] ? trace_raw_output_xdp_redirect_map_err+0x440/0x440 [ 28.648865] ? is_bpf_text_address+0x7b/0x120 [ 28.653333] ? lock_downgrade+0x980/0x980 [ 28.657451] ? lock_release+0xa40/0xa40 [ 28.661396] ? __free_insn_slot+0x5c0/0x5c0 [ 28.665688] ? check_noncircular+0x20/0x20 [ 28.669899] ? kernel_text_address+0x102/0x140 [ 28.674451] lock_acquire+0x1d5/0x580 [ 28.678219] ? lock_acquire+0x1d5/0x580 [ 28.682167] ? rtnl_lock+0x17/0x20 [ 28.685680] ? lock_release+0xa40/0xa40 [ 28.689622] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 28.695477] ? print_irqtrace_events+0x270/0x270 [ 28.700209] ? idr_get_free_cmn+0x64e/0xfd0 [ 28.704507] ? rcu_note_context_switch+0x710/0x710 [ 28.709409] ? __might_sleep+0x95/0x190 [ 28.713360] ? rtnl_lock+0x17/0x20 [ 28.716870] __mutex_lock+0x16f/0x1a80 [ 28.720726] ? rtnl_lock+0x17/0x20 [ 28.724240] ? rtnl_lock+0x17/0x20 [ 28.727751] ? __lock_acquire+0x664/0x3e00 [ 28.731957] ? _raw_spin_unlock_irqrestore+0x31/0xba [ 28.737038] ? mutex_lock_io_nested+0x1900/0x1900 [ 28.741858] ? trace_hardirqs_on+0xd/0x10 [ 28.745982] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 28.751146] ? save_stack+0xa3/0xd0 [ 28.754742] ? kasan_kmalloc+0xad/0xe0 [ 28.758607] ? __proc_create+0x21a/0x880 [ 28.762640] ? proc_create_data+0x76/0x180 [ 28.766850] ? clusterip_tg_check+0xe4d/0x1570 [ 28.771406] ? rb_insert_color+0x1580/0x1580 [ 28.775784] ? do_ipt_set_ctl+0x370/0x5f0 [ 28.779902] ? ip_setsockopt+0xa1/0xb0 [ 28.783762] ? raw_setsockopt+0xb7/0xd0 [ 28.787716] ? sock_common_setsockopt+0x95/0xd0 [ 28.792381] ? SyS_setsockopt+0x189/0x360 [ 28.796502] ? entry_SYSCALL_64_fastpath+0x29/0xa0 [ 28.801418] ? _find_next_bit+0xee/0x120 [ 28.805451] ? check_noncircular+0x20/0x20 [ 28.809655] ? find_first_zero_bit+0x93/0xe0 [ 28.814043] ? ida_get_new_above+0x421/0x9d0 [ 28.818422] ? print_irqtrace_events+0x270/0x270 [ 28.823148] ? check_noncircular+0x20/0x20 [ 28.827354] ? print_irqtrace_events+0x270/0x270 [ 28.832080] ? ida_simple_get+0x15c/0x220 [ 28.836202] ? lock_downgrade+0x980/0x980 [ 28.840323] ? find_held_lock+0x35/0x1d0 [ 28.844354] mutex_lock_nested+0x16/0x20 [ 28.848382] ? mutex_lock_nested+0x16/0x20 [ 28.852591] rtnl_lock+0x17/0x20 [ 28.855930] register_netdevice_notifier+0xad/0x860 [ 28.860919] ? lock_downgrade+0x980/0x980 [ 28.865037] ? __dev_close_many+0x350/0x350 [ 28.869338] ? ida_simple_get+0x176/0x220 [ 28.873456] ? do_raw_write_trylock+0x190/0x190 [ 28.878099] ? ida_remove+0x3f0/0x3f0 [ 28.881896] ? _raw_write_unlock+0x22/0x30 [ 28.886101] ? proc_register+0x261/0x370 [ 28.890132] ? proc_create_data+0x101/0x180 [ 28.894430] clusterip_tg_check+0xeb9/0x1570 [ 28.898807] ? arp_mangle+0x550/0x550 [ 28.902584] ? xt_find_target+0x150/0x1e0 [ 28.906706] ? lock_downgrade+0x980/0x980 [ 28.910830] ? rcu_read_lock_sched_held+0x108/0x120 [ 28.915819] ? pcpu_alloc+0x146/0x10e0 [ 28.919681] ? __mutex_unlock_slowpath+0xe9/0xac0 [ 28.924494] ? pcpu_free_area+0xa00/0xa00 [ 28.928613] ? __mutex_unlock_slowpath+0xe9/0xac0 [ 28.933427] ? __kernel_text_address+0xd/0x40 [ 28.937891] ? wait_for_completion+0x770/0x770 [ 28.942442] ? trace_hardirqs_off+0xd/0x10 [ 28.946648] ? arp_mangle+0x550/0x550 [ 28.950421] xt_check_target+0x22c/0x7d0 [ 28.954453] ? xt_target_seq_next+0x30/0x30 [ 28.958744] ? mutex_unlock+0xd/0x10 [ 28.962425] ? mutex_unlock+0xd/0x10 [ 28.966540] ? xt_find_target+0x17b/0x1e0 [ 28.970658] find_check_entry.isra.8+0x8c8/0xcb0 [ 28.975388] ? ipt_do_table+0x1860/0x1860 [ 28.979506] ? mark_held_locks+0xaf/0x100 [ 28.983624] ? kfree+0xf0/0x260 [ 28.986876] ? trace_hardirqs_on+0xd/0x10 [ 28.990995] translate_table+0xed1/0x1610 [ 28.995121] ? alloc_counters.isra.11+0x7d0/0x7d0 [ 28.999947] ? kasan_check_write+0x14/0x20 [ 29.004152] ? _copy_from_user+0x99/0x110 [ 29.008270] do_ipt_set_ctl+0x370/0x5f0 [ 29.012219] ? translate_compat_table+0x1b90/0x1b90 [ 29.017210] ? mutex_unlock+0xd/0x10 [ 29.020896] ? nf_sockopt_find.constprop.0+0x1a7/0x220 [ 29.026143] nf_setsockopt+0x67/0xc0 [ 29.029830] ip_setsockopt+0xa1/0xb0 [ 29.033513] raw_setsockopt+0xb7/0xd0 [ 29.037284] sock_common_setsockopt+0x95/0xd0 [ 29.041747] SyS_setsockopt+0x189/0x360 [ 29.045691] ? SyS_recv+0x40/0x40 [ 29.049114] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 29.053927] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 29.058913] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 29.063638] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 29.068362] RIP: 0033:0x445d19 [ 29.071521] RSP: 002b:00007ffc7a9efe68 EFLAGS: 00000203 ORIG_RAX: 0000000000000036 [ 29.079200] RAX: ffffffffffffffda RBX: ffffffffffffffff RCX: 0000000000445d19 [ 29.086446] RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000005 [ 29.093687] RBP: 00007ffc7a9effa8 R08: 00000000000002f8 R09: 0000000000000000 [ 29.100925] R10: 000000002000b000 R11: 0000000000000203 R12: 00007ffc7a9effa8 [ 29.108165] R13: 00000000004031e0 R14: 0000000000000000 R15: 0000000000000000 [ 29.116559] ipt_CLUSTERIP: ipt_CLUSTERIP is deprecated and it will removed soon, use xt_cl