[....] Starting enhanced syslogd: rsyslogd[ 11.910151] audit: type=1400 audit(1517080221.292: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 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: [ 16.838642] audit: type=1400 audit(1517080226.220: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.197' (ECDSA) to the list of known hosts. net.ipv6.conf.syz0.accept_dad = 0 net.ipv6.conf.syz0.router_solicitations = 0 [ 23.171498] audit: type=1400 audit(1517080232.553:7): avc: denied { map } for pid=3676 comm="syzkaller924863" path="/root/syzkaller924863490" 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 [ 23.558479] 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 [ 23.889731] [ 23.891372] ====================================================== [ 23.897655] WARNING: possible circular locking dependency detected [ 23.903948] 4.15.0-rc9+ #212 Not tainted [ 23.907992] ------------------------------------------------------ [ 23.914291] syzkaller924863/3676 is trying to acquire lock: [ 23.919966] (rtnl_mutex){+.+.}, at: [<000000008508fb05>] rtnl_lock+0x17/0x20 [ 23.927218] [ 23.927218] but task is already holding lock: [ 23.933156] (sk_lock-AF_INET){+.+.}, at: [<000000000e9cccc5>] ip_setsockopt+0x8c/0xb0 [ 23.941187] [ 23.941187] which lock already depends on the new lock. [ 23.941187] [ 23.949470] [ 23.949470] the existing dependency chain (in reverse order) is: [ 23.957059] [ 23.957059] -> #1 (sk_lock-AF_INET){+.+.}: [ 23.962749] lock_sock_nested+0xc2/0x110 [ 23.967303] do_ip_setsockopt.isra.12+0x1d9/0x3210 [ 23.972730] ip_setsockopt+0x3a/0xb0 [ 23.976937] tcp_setsockopt+0x82/0xd0 [ 23.981232] sock_common_setsockopt+0x95/0xd0 [ 23.986220] SyS_setsockopt+0x189/0x360 [ 23.990684] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 23.995927] [ 23.995927] -> #0 (rtnl_mutex){+.+.}: [ 24.001184] lock_acquire+0x1d5/0x580 [ 24.005475] __mutex_lock+0x16f/0x1a80 [ 24.009850] mutex_lock_nested+0x16/0x20 [ 24.014401] rtnl_lock+0x17/0x20 [ 24.018261] register_netdevice_notifier+0xad/0x860 [ 24.023770] clusterip_tg_check+0xeb9/0x1570 [ 24.028681] xt_check_target+0x22c/0x7d0 [ 24.033237] find_check_entry.isra.8+0x8c8/0xcb0 [ 24.038483] translate_table+0xed1/0x1610 [ 24.043133] do_ipt_set_ctl+0x370/0x5f0 [ 24.047600] nf_setsockopt+0x67/0xc0 [ 24.051804] ip_setsockopt+0xa1/0xb0 [ 24.056013] raw_setsockopt+0xb7/0xd0 [ 24.060311] sock_common_setsockopt+0x95/0xd0 [ 24.065299] SyS_setsockopt+0x189/0x360 [ 24.069765] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.075014] [ 24.075014] other info that might help us debug this: [ 24.075014] [ 24.083131] Possible unsafe locking scenario: [ 24.083131] [ 24.089158] CPU0 CPU1 [ 24.093797] ---- ---- [ 24.098430] lock(sk_lock-AF_INET); [ 24.102114] lock(rtnl_mutex); [ 24.107882] lock(sk_lock-AF_INET); [ 24.114082] lock(rtnl_mutex); [ 24.117333] [ 24.117333] *** DEADLOCK *** [ 24.117333] [ 24.123363] 1 lock held by syzkaller924863/3676: [ 24.128084] #0: (sk_lock-AF_INET){+.+.}, at: [<000000000e9cccc5>] ip_setsockopt+0x8c/0xb0 [ 24.136554] [ 24.136554] stack backtrace: [ 24.141032] CPU: 1 PID: 3676 Comm: syzkaller924863 Not tainted 4.15.0-rc9+ #212 [ 24.148449] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.157774] Call Trace: [ 24.160340] dump_stack+0x194/0x257 [ 24.163939] ? arch_local_irq_restore+0x53/0x53 [ 24.168584] print_circular_bug.isra.37+0x2cd/0x2dc [ 24.173573] ? save_trace+0xe0/0x2b0 [ 24.177262] __lock_acquire+0x30a8/0x3e00 [ 24.181387] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 24.186549] ? trace_hardirqs_off+0x10/0x10 [ 24.190847] ? __is_insn_slot_addr+0x1fc/0x330 [ 24.195403] ? lock_downgrade+0x980/0x980 [ 24.199523] ? lock_release+0xa40/0xa40 [ 24.203474] ? bpf_prog_kallsyms_find+0xbd/0x440 [ 24.208206] ? modules_open+0xa0/0xa0 [ 24.211985] ? trace_raw_output_xdp_redirect_map_err+0x440/0x440 [ 24.218120] ? is_bpf_text_address+0x7b/0x120 [ 24.222599] ? lock_downgrade+0x980/0x980 [ 24.226735] ? lock_release+0xa40/0xa40 [ 24.230692] ? __free_insn_slot+0x5c0/0x5c0 [ 24.234986] ? check_noncircular+0x20/0x20 [ 24.239202] ? kernel_text_address+0x102/0x140 [ 24.243757] lock_acquire+0x1d5/0x580 [ 24.247532] ? lock_acquire+0x1d5/0x580 [ 24.251481] ? rtnl_lock+0x17/0x20 [ 24.255012] ? lock_release+0xa40/0xa40 [ 24.258966] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 24.264820] ? print_irqtrace_events+0x270/0x270 [ 24.269548] ? idr_get_free_cmn+0x64e/0xfd0 [ 24.273843] ? rcu_note_context_switch+0x710/0x710 [ 24.278755] ? __might_sleep+0x95/0x190 [ 24.282700] ? rtnl_lock+0x17/0x20 [ 24.286211] __mutex_lock+0x16f/0x1a80 [ 24.290070] ? rtnl_lock+0x17/0x20 [ 24.293590] ? rtnl_lock+0x17/0x20 [ 24.297101] ? __lock_acquire+0x664/0x3e00 [ 24.301309] ? _raw_spin_unlock_irqrestore+0x31/0xba [ 24.306384] ? mutex_lock_io_nested+0x1900/0x1900 [ 24.311200] ? trace_hardirqs_on+0xd/0x10 [ 24.315319] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 24.320480] ? save_stack+0xa3/0xd0 [ 24.324076] ? kasan_kmalloc+0xad/0xe0 [ 24.327932] ? __proc_create+0x21a/0x880 [ 24.331961] ? proc_create_data+0x76/0x180 [ 24.336167] ? clusterip_tg_check+0xe4d/0x1570 [ 24.340723] ? rb_insert_color+0x1580/0x1580 [ 24.345101] ? do_ipt_set_ctl+0x370/0x5f0 [ 24.349231] ? ip_setsockopt+0xa1/0xb0 [ 24.353091] ? raw_setsockopt+0xb7/0xd0 [ 24.357042] ? sock_common_setsockopt+0x95/0xd0 [ 24.361683] ? SyS_setsockopt+0x189/0x360 [ 24.365806] ? entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.370714] ? _find_next_bit+0xee/0x120 [ 24.374750] ? check_noncircular+0x20/0x20 [ 24.378957] ? find_first_zero_bit+0x93/0xe0 [ 24.383336] ? ida_get_new_above+0x421/0x9d0 [ 24.387716] ? print_irqtrace_events+0x270/0x270 [ 24.392443] ? check_noncircular+0x20/0x20 [ 24.396648] ? print_irqtrace_events+0x270/0x270 [ 24.401375] ? ida_simple_get+0x15c/0x220 [ 24.405495] ? lock_downgrade+0x980/0x980 [ 24.409617] ? find_held_lock+0x35/0x1d0 [ 24.413659] mutex_lock_nested+0x16/0x20 [ 24.417693] ? mutex_lock_nested+0x16/0x20 [ 24.421907] rtnl_lock+0x17/0x20 [ 24.425243] register_netdevice_notifier+0xad/0x860 [ 24.430230] ? lock_downgrade+0x980/0x980 [ 24.434349] ? __dev_close_many+0x350/0x350 [ 24.438645] ? ida_simple_get+0x176/0x220 [ 24.442771] ? do_raw_write_trylock+0x190/0x190 [ 24.447409] ? ida_remove+0x3f0/0x3f0 [ 24.451181] ? _raw_write_unlock+0x22/0x30 [ 24.455391] ? proc_register+0x261/0x370 [ 24.459422] ? proc_create_data+0x101/0x180 [ 24.463728] clusterip_tg_check+0xeb9/0x1570 [ 24.468111] ? arp_mangle+0x550/0x550 [ 24.471884] ? xt_find_target+0x150/0x1e0 [ 24.476006] ? lock_downgrade+0x980/0x980 [ 24.480129] ? rcu_read_lock_sched_held+0x108/0x120 [ 24.485115] ? pcpu_alloc+0x146/0x10e0 [ 24.488984] ? __mutex_unlock_slowpath+0xe9/0xac0 [ 24.493813] ? pcpu_free_area+0xa00/0xa00 [ 24.497933] ? __mutex_unlock_slowpath+0xe9/0xac0 [ 24.502749] ? __kernel_text_address+0xd/0x40 [ 24.507213] ? wait_for_completion+0x770/0x770 [ 24.511770] ? trace_hardirqs_off+0xd/0x10 [ 24.515977] ? arp_mangle+0x550/0x550 [ 24.519751] xt_check_target+0x22c/0x7d0 [ 24.523787] ? xt_target_seq_next+0x30/0x30 [ 24.528080] ? mutex_unlock+0xd/0x10 [ 24.531765] ? mutex_unlock+0xd/0x10 [ 24.535449] ? xt_find_target+0x17b/0x1e0 [ 24.539573] find_check_entry.isra.8+0x8c8/0xcb0 [ 24.544306] ? ipt_do_table+0x1860/0x1860 [ 24.548430] ? mark_held_locks+0xaf/0x100 [ 24.552551] ? kfree+0xf0/0x260 [ 24.555805] ? trace_hardirqs_on+0xd/0x10 [ 24.559925] translate_table+0xed1/0x1610 [ 24.564050] ? alloc_counters.isra.11+0x7d0/0x7d0 [ 24.568868] ? kasan_check_write+0x14/0x20 [ 24.573075] ? _copy_from_user+0x99/0x110 [ 24.577194] do_ipt_set_ctl+0x370/0x5f0 [ 24.581142] ? translate_compat_table+0x1b90/0x1b90 [ 24.586133] ? mutex_unlock+0xd/0x10 [ 24.589818] ? nf_sockopt_find.constprop.0+0x1a7/0x220 [ 24.595067] nf_setsockopt+0x67/0xc0 [ 24.598754] ip_setsockopt+0xa1/0xb0 [ 24.602441] raw_setsockopt+0xb7/0xd0 [ 24.606213] sock_common_setsockopt+0x95/0xd0 [ 24.610682] SyS_setsockopt+0x189/0x360 [ 24.614627] ? SyS_recv+0x40/0x40 [ 24.618056] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 24.622869] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 24.627856] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.632583] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.637305] RIP: 0033:0x445f79 [ 24.640465] RSP: 002b:00007ffd17bb7ab8 EFLAGS: 00000203 ORIG_RAX: 0000000000000036 [ 24.648142] RAX: ffffffffffffffda RBX: 000000000000006e RCX: 0000000000445f79 [ 24.655386] RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000005 [ 24.662630] RBP: 00007ffd17bb7bc8 R08: 00000000000002f8 R09: 000000000000775d [ 24.669870] R10: 000000002000b000 R11: 0000000000000203 R12: 00007ffd17bb7bc8 [ 24.677110] R13: 0000000000403440 R14: 0000000000000000 R15: 0000000000000000 [ 24.686222] ipt_CLUSTERIP: ipt_CLUSTERIP is deprecated and it will removed so