[....] Starting enhanced syslogd: rsyslogd[ 13.044078] audit: type=1400 audit(1517159341.932:5): avc: denied { syslog } for pid=3528 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: [ 19.675198] audit: type=1400 audit(1517159348.563:6): avc: denied { map } for pid=3669 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.217' (ECDSA) to the list of known hosts. net.ipv6.conf.syz0.accept_dad = 0 net.ipv6.conf.syz0.router_solicitations = 0 [ 26.011329] audit: type=1400 audit(1517159354.900:7): avc: denied { map } for pid=3683 comm="syzkaller296283" path="/root/syzkaller296283327" 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 [ 26.400775] 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 [ 26.805293] [ 26.806939] ====================================================== [ 26.813231] WARNING: possible circular locking dependency detected [ 26.819518] 4.15.0-rc9+ #283 Not tainted [ 26.823545] ------------------------------------------------------ [ 26.829831] syzkaller296283/3683 is trying to acquire lock: [ 26.835507] (rtnl_mutex){+.+.}, at: [<00000000648b196d>] rtnl_lock+0x17/0x20 [ 26.842758] [ 26.842758] but task is already holding lock: [ 26.848695] (sk_lock-AF_INET){+.+.}, at: [<00000000f2b97def>] ip_setsockopt+0x8c/0xb0 [ 26.856725] [ 26.856725] which lock already depends on the new lock. [ 26.856725] [ 26.865006] [ 26.865006] the existing dependency chain (in reverse order) is: [ 26.872620] [ 26.872620] -> #1 (sk_lock-AF_INET){+.+.}: [ 26.878317] lock_sock_nested+0xc2/0x110 [ 26.882869] do_ip_getsockopt+0x1b3/0x2170 [ 26.887598] ip_getsockopt+0x90/0x220 [ 26.891895] udp_getsockopt+0x45/0x80 [ 26.896187] sock_common_getsockopt+0x95/0xd0 [ 26.901176] SyS_getsockopt+0x178/0x340 [ 26.905648] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 26.910891] [ 26.910891] -> #0 (rtnl_mutex){+.+.}: [ 26.916154] lock_acquire+0x1d5/0x580 [ 26.920443] __mutex_lock+0x16f/0x1a80 [ 26.924817] mutex_lock_nested+0x16/0x20 [ 26.929369] rtnl_lock+0x17/0x20 [ 26.933224] register_netdevice_notifier+0xad/0x860 [ 26.938738] clusterip_tg_check+0xeb9/0x1570 [ 26.943638] xt_check_target+0x22c/0x7d0 [ 26.948189] find_check_entry.isra.8+0x8c8/0xcb0 [ 26.953437] translate_table+0xed1/0x1610 [ 26.958074] do_ipt_set_ctl+0x370/0x5f0 [ 26.962542] nf_setsockopt+0x67/0xc0 [ 26.966746] ip_setsockopt+0xa1/0xb0 [ 26.970950] raw_setsockopt+0xb7/0xd0 [ 26.975242] sock_common_setsockopt+0x95/0xd0 [ 26.980225] SyS_setsockopt+0x189/0x360 [ 26.984689] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 26.989930] [ 26.989930] other info that might help us debug this: [ 26.989930] [ 26.998037] Possible unsafe locking scenario: [ 26.998037] [ 27.004062] CPU0 CPU1 [ 27.008695] ---- ---- [ 27.013329] lock(sk_lock-AF_INET); [ 27.017012] lock(rtnl_mutex); [ 27.022787] lock(sk_lock-AF_INET); [ 27.028988] lock(rtnl_mutex); [ 27.032236] [ 27.032236] *** DEADLOCK *** [ 27.032236] [ 27.038263] 1 lock held by syzkaller296283/3683: [ 27.042985] #0: (sk_lock-AF_INET){+.+.}, at: [<00000000f2b97def>] ip_setsockopt+0x8c/0xb0 [ 27.051455] [ 27.051455] stack backtrace: [ 27.055929] CPU: 0 PID: 3683 Comm: syzkaller296283 Not tainted 4.15.0-rc9+ #283 [ 27.063342] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.072671] Call Trace: [ 27.075232] dump_stack+0x194/0x257 [ 27.078835] ? arch_local_irq_restore+0x53/0x53 [ 27.083479] print_circular_bug.isra.37+0x2cd/0x2dc [ 27.088466] ? save_trace+0xe0/0x2b0 [ 27.092150] __lock_acquire+0x30a8/0x3e00 [ 27.096272] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 27.101432] ? trace_hardirqs_off+0x10/0x10 [ 27.105731] ? noop_count+0x40/0x40 [ 27.109325] ? trace_hardirqs_off+0x10/0x10 [ 27.113615] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 27.118776] ? check_noncircular+0x20/0x20 [ 27.122981] ? check_usage+0x22f/0xb60 [ 27.126849] ? trace_raw_output_xdp_redirect_map_err+0x440/0x440 [ 27.132964] ? check_usage+0x22f/0xb60 [ 27.136825] ? check_noncircular+0x20/0x20 [ 27.141032] ? check_noncircular+0x20/0x20 [ 27.145234] ? find_held_lock+0x35/0x1d0 [ 27.149262] ? __bfs+0x2e0/0x750 [ 27.152600] ? __is_insn_slot_addr+0x1fc/0x330 [ 27.157155] lock_acquire+0x1d5/0x580 [ 27.160924] ? lock_acquire+0x1d5/0x580 [ 27.164868] ? rtnl_lock+0x17/0x20 [ 27.168375] ? lock_release+0xa40/0xa40 [ 27.172328] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 27.178182] ? print_irqtrace_events+0x270/0x270 [ 27.182905] ? idr_get_free_cmn+0x64e/0xfd0 [ 27.187199] ? rcu_note_context_switch+0x710/0x710 [ 27.192104] ? __might_sleep+0x95/0x190 [ 27.196045] ? rtnl_lock+0x17/0x20 [ 27.199551] __mutex_lock+0x16f/0x1a80 [ 27.203413] ? rtnl_lock+0x17/0x20 [ 27.206923] ? rtnl_lock+0x17/0x20 [ 27.210433] ? __lock_acquire+0x664/0x3e00 [ 27.214637] ? _raw_spin_unlock_irqrestore+0x31/0xba [ 27.219710] ? mutex_lock_io_nested+0x1900/0x1900 [ 27.224527] ? trace_hardirqs_on+0xd/0x10 [ 27.228651] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 27.233815] ? save_stack+0xa3/0xd0 [ 27.237414] ? kasan_kmalloc+0xad/0xe0 [ 27.241270] ? __proc_create+0x21a/0x880 [ 27.245304] ? proc_create_data+0x76/0x180 [ 27.249507] ? clusterip_tg_check+0xe4d/0x1570 [ 27.254059] ? rb_insert_color+0x1580/0x1580 [ 27.258437] ? do_ipt_set_ctl+0x370/0x5f0 [ 27.262553] ? ip_setsockopt+0xa1/0xb0 [ 27.266407] ? raw_setsockopt+0xb7/0xd0 [ 27.270354] ? sock_common_setsockopt+0x95/0xd0 [ 27.274993] ? SyS_setsockopt+0x189/0x360 [ 27.279122] ? entry_SYSCALL_64_fastpath+0x29/0xa0 [ 27.284028] ? _find_next_bit+0xee/0x120 [ 27.288073] ? check_noncircular+0x20/0x20 [ 27.292285] ? find_first_zero_bit+0x93/0xe0 [ 27.296666] ? ida_get_new_above+0x421/0x9d0 [ 27.301051] ? print_irqtrace_events+0x270/0x270 [ 27.305780] ? check_noncircular+0x20/0x20 [ 27.309985] ? print_irqtrace_events+0x270/0x270 [ 27.314714] ? ida_simple_get+0x15c/0x220 [ 27.318831] ? lock_downgrade+0x980/0x980 [ 27.322950] ? find_held_lock+0x35/0x1d0 [ 27.326984] mutex_lock_nested+0x16/0x20 [ 27.331023] ? mutex_lock_nested+0x16/0x20 [ 27.335232] rtnl_lock+0x17/0x20 [ 27.338572] register_netdevice_notifier+0xad/0x860 [ 27.343562] ? lock_downgrade+0x980/0x980 [ 27.347679] ? __dev_close_many+0x330/0x330 [ 27.351975] ? ida_simple_get+0x176/0x220 [ 27.356095] ? do_raw_write_trylock+0x190/0x190 [ 27.360733] ? ida_remove+0x3f0/0x3f0 [ 27.364505] ? _raw_write_unlock+0x22/0x30 [ 27.368715] ? proc_register+0x261/0x370 [ 27.372748] ? proc_create_data+0x101/0x180 [ 27.377043] clusterip_tg_check+0xeb9/0x1570 [ 27.381430] ? arp_mangle+0x550/0x550 [ 27.385203] ? xt_find_target+0x150/0x1e0 [ 27.389337] ? lock_downgrade+0x980/0x980 [ 27.393456] ? mutex_unlock+0xd/0x10 [ 27.397139] ? ipv4_hooks_register+0x1fb/0x3e0 [ 27.401697] ? ipv4_conntrack_in+0x90/0x90 [ 27.405910] ? ipv4_conntrack_in+0x90/0x90 [ 27.410116] ? nf_ct_netns_do_get+0x20f/0x340 [ 27.414583] ? __mutex_unlock_slowpath+0xe9/0xac0 [ 27.419408] ? __kernel_text_address+0xd/0x40 [ 27.423873] ? wait_for_completion+0x770/0x770 [ 27.428432] ? nf_ct_netns_get+0x35/0x90 [ 27.432462] ? arp_mangle+0x550/0x550 [ 27.436231] xt_check_target+0x22c/0x7d0 [ 27.440265] ? xt_target_seq_next+0x30/0x30 [ 27.444557] ? mutex_unlock+0xd/0x10 [ 27.448247] ? mutex_unlock+0xd/0x10 [ 27.451936] ? xt_find_target+0x17b/0x1e0 [ 27.456070] find_check_entry.isra.8+0x8c8/0xcb0 [ 27.460800] ? ipt_do_table+0x1860/0x1860 [ 27.464921] ? mark_held_locks+0xaf/0x100 [ 27.469041] ? kfree+0xf0/0x260 [ 27.472291] ? trace_hardirqs_on+0xd/0x10 [ 27.476409] translate_table+0xed1/0x1610 [ 27.480533] ? alloc_counters.isra.11+0x7d0/0x7d0 [ 27.485346] ? kasan_check_write+0x14/0x20 [ 27.489551] ? _copy_from_user+0x99/0x110 [ 27.493669] do_ipt_set_ctl+0x370/0x5f0 [ 27.497614] ? translate_compat_table+0x1b90/0x1b90 [ 27.502606] ? mutex_unlock+0xd/0x10 [ 27.506290] ? nf_sockopt_find.constprop.0+0x1a7/0x220 [ 27.511547] nf_setsockopt+0x67/0xc0 [ 27.515237] ip_setsockopt+0xa1/0xb0 [ 27.518921] raw_setsockopt+0xb7/0xd0 [ 27.522695] sock_common_setsockopt+0x95/0xd0 [ 27.527176] SyS_setsockopt+0x189/0x360 [ 27.531121] ? SyS_recv+0x40/0x40 [ 27.534545] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 27.539364] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 27.544364] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.549095] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 27.553820] RIP: 0033:0x445cc9 [ 27.556980] RSP: 002b:00007ffc635d2988 EFLAGS: 00000203 ORIG_RAX: 0000000000000036 [ 27.564656] RAX: ffffffffffffffda RBX: ffffffffffffffff RCX: 0000000000445cc9 [ 27.571903] RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000005 [ 27.579159] RBP: 00007ffc635d2a88 R08: 0000000000000328 R09: 000000002000b000 [ 27.586405] R10: 0000000020397cd8 R11: 0000000000000203 R12: 00007ffc635d2a88 [ 27.593644] R13: 0000000000403190 R14: 0000000000000000 R15: 0000000000000000 [ 27.601557] ipt_CLUSTERIP: ipt_CLUSTERIP is deprecated and it will removed soon, us