[....] Starting enhanced syslogd: rsyslogd[ 13.091203] audit: type=1400 audit(1517089267.976:5): avc: denied { syslog } for pid=3524 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: [ 18.670321] audit: type=1400 audit(1517089273.556:6): avc: denied { map } for pid=3665 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.943457] audit: type=1400 audit(1517089279.829:7): avc: denied { map } for pid=3679 comm="syzkaller496438" path="/root/syzkaller496438298" 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.326601] 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.657252] [ 25.658892] ====================================================== [ 25.665178] WARNING: possible circular locking dependency detected [ 25.671464] 4.15.0-rc9+ #212 Not tainted [ 25.675488] ------------------------------------------------------ [ 25.681771] syzkaller496438/3679 is trying to acquire lock: [ 25.687446] (rtnl_mutex){+.+.}, at: [<000000003b0be51f>] rtnl_lock+0x17/0x20 [ 25.694696] [ 25.694696] but task is already holding lock: [ 25.700633] (sk_lock-AF_INET){+.+.}, at: [<00000000b70a2435>] ip_setsockopt+0x8c/0xb0 [ 25.708659] [ 25.708659] which lock already depends on the new lock. [ 25.708659] [ 25.716938] [ 25.716938] the existing dependency chain (in reverse order) is: [ 25.724523] [ 25.724523] -> #1 (sk_lock-AF_INET){+.+.}: [ 25.730207] lock_sock_nested+0xc2/0x110 [ 25.734758] do_ip_setsockopt.isra.12+0x1d9/0x3210 [ 25.740176] ip_setsockopt+0x3a/0xb0 [ 25.744383] udp_setsockopt+0x45/0x80 [ 25.748671] sock_common_setsockopt+0x95/0xd0 [ 25.753654] SyS_setsockopt+0x189/0x360 [ 25.758117] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 25.763363] [ 25.763363] -> #0 (rtnl_mutex){+.+.}: [ 25.768626] lock_acquire+0x1d5/0x580 [ 25.772919] __mutex_lock+0x16f/0x1a80 [ 25.777300] mutex_lock_nested+0x16/0x20 [ 25.781852] rtnl_lock+0x17/0x20 [ 25.785719] register_netdevice_notifier+0xad/0x860 [ 25.791235] clusterip_tg_check+0xeb9/0x1570 [ 25.796132] xt_check_target+0x22c/0x7d0 [ 25.800683] find_check_entry.isra.8+0x8c8/0xcb0 [ 25.805926] translate_table+0xed1/0x1610 [ 25.810560] do_ipt_set_ctl+0x370/0x5f0 [ 25.815031] nf_setsockopt+0x67/0xc0 [ 25.819238] ip_setsockopt+0xa1/0xb0 [ 25.823439] raw_setsockopt+0xb7/0xd0 [ 25.827740] sock_common_setsockopt+0x95/0xd0 [ 25.832724] SyS_setsockopt+0x189/0x360 [ 25.837188] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 25.842429] [ 25.842429] other info that might help us debug this: [ 25.842429] [ 25.850535] Possible unsafe locking scenario: [ 25.850535] [ 25.856559] CPU0 CPU1 [ 25.861191] ---- ---- [ 25.865824] lock(sk_lock-AF_INET); [ 25.869505] lock(rtnl_mutex); [ 25.875268] lock(sk_lock-AF_INET); [ 25.881466] lock(rtnl_mutex); [ 25.884716] [ 25.884716] *** DEADLOCK *** [ 25.884716] [ 25.890742] 1 lock held by syzkaller496438/3679: [ 25.895461] #0: (sk_lock-AF_INET){+.+.}, at: [<00000000b70a2435>] ip_setsockopt+0x8c/0xb0 [ 25.903926] [ 25.903926] stack backtrace: [ 25.908397] CPU: 1 PID: 3679 Comm: syzkaller496438 Not tainted 4.15.0-rc9+ #212 [ 25.915815] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.925135] Call Trace: [ 25.927696] dump_stack+0x194/0x257 [ 25.931296] ? arch_local_irq_restore+0x53/0x53 [ 25.935938] print_circular_bug.isra.37+0x2cd/0x2dc [ 25.940923] ? save_trace+0xe0/0x2b0 [ 25.944605] __lock_acquire+0x30a8/0x3e00 [ 25.948724] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 25.953881] ? trace_hardirqs_off+0x10/0x10 [ 25.958172] ? noop_count+0x40/0x40 [ 25.961764] ? trace_hardirqs_off+0x10/0x10 [ 25.966053] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 25.971212] ? check_noncircular+0x20/0x20 [ 25.975415] ? check_usage+0x22f/0xb60 [ 25.979288] ? trace_raw_output_xdp_redirect_map_err+0x440/0x440 [ 25.985412] ? check_usage+0x22f/0xb60 [ 25.989275] ? check_noncircular+0x20/0x20 [ 25.993477] ? check_noncircular+0x20/0x20 [ 25.997692] ? find_held_lock+0x35/0x1d0 [ 26.001725] ? __bfs+0x2e0/0x750 [ 26.005059] ? __is_insn_slot_addr+0x1fc/0x330 [ 26.009620] lock_acquire+0x1d5/0x580 [ 26.013387] ? lock_acquire+0x1d5/0x580 [ 26.017333] ? rtnl_lock+0x17/0x20 [ 26.020841] ? lock_release+0xa40/0xa40 [ 26.024786] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 26.030645] ? print_irqtrace_events+0x270/0x270 [ 26.035368] ? idr_get_free_cmn+0x64e/0xfd0 [ 26.039660] ? rcu_note_context_switch+0x710/0x710 [ 26.044555] ? __might_sleep+0x95/0x190 [ 26.048495] ? rtnl_lock+0x17/0x20 [ 26.052014] __mutex_lock+0x16f/0x1a80 [ 26.055872] ? rtnl_lock+0x17/0x20 [ 26.059381] ? rtnl_lock+0x17/0x20 [ 26.062890] ? __lock_acquire+0x664/0x3e00 [ 26.067091] ? _raw_spin_unlock_irqrestore+0x31/0xba [ 26.072171] ? mutex_lock_io_nested+0x1900/0x1900 [ 26.076985] ? trace_hardirqs_on+0xd/0x10 [ 26.081102] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 26.086271] ? save_stack+0xa3/0xd0 [ 26.089878] ? kasan_kmalloc+0xad/0xe0 [ 26.093737] ? __proc_create+0x21a/0x880 [ 26.097765] ? proc_create_data+0x76/0x180 [ 26.101968] ? clusterip_tg_check+0xe4d/0x1570 [ 26.106520] ? rb_insert_color+0x1580/0x1580 [ 26.110896] ? do_ipt_set_ctl+0x370/0x5f0 [ 26.115014] ? ip_setsockopt+0xa1/0xb0 [ 26.118871] ? raw_setsockopt+0xb7/0xd0 [ 26.122812] ? sock_common_setsockopt+0x95/0xd0 [ 26.127449] ? SyS_setsockopt+0x189/0x360 [ 26.131568] ? entry_SYSCALL_64_fastpath+0x29/0xa0 [ 26.136466] ? _find_next_bit+0xee/0x120 [ 26.140499] ? check_noncircular+0x20/0x20 [ 26.144704] ? find_first_zero_bit+0x93/0xe0 [ 26.149083] ? ida_get_new_above+0x421/0x9d0 [ 26.153459] ? print_irqtrace_events+0x270/0x270 [ 26.158185] ? check_noncircular+0x20/0x20 [ 26.162390] ? print_irqtrace_events+0x270/0x270 [ 26.167115] ? ida_simple_get+0x15c/0x220 [ 26.171230] ? lock_downgrade+0x980/0x980 [ 26.175346] ? find_held_lock+0x35/0x1d0 [ 26.179374] mutex_lock_nested+0x16/0x20 [ 26.183403] ? mutex_lock_nested+0x16/0x20 [ 26.187607] rtnl_lock+0x17/0x20 [ 26.190942] register_netdevice_notifier+0xad/0x860 [ 26.195925] ? lock_downgrade+0x980/0x980 [ 26.200041] ? __dev_close_many+0x350/0x350 [ 26.204329] ? ida_simple_get+0x176/0x220 [ 26.208450] ? do_raw_write_trylock+0x190/0x190 [ 26.213089] ? ida_remove+0x3f0/0x3f0 [ 26.216860] ? _raw_write_unlock+0x22/0x30 [ 26.221061] ? proc_register+0x261/0x370 [ 26.225090] ? proc_create_data+0x101/0x180 [ 26.229387] clusterip_tg_check+0xeb9/0x1570 [ 26.233765] ? arp_mangle+0x550/0x550 [ 26.237535] ? xt_find_target+0x150/0x1e0 [ 26.241657] ? lock_downgrade+0x980/0x980 [ 26.245780] ? mutex_unlock+0xd/0x10 [ 26.249461] ? ipv4_hooks_register+0x1fb/0x3e0 [ 26.254011] ? ipv4_conntrack_in+0x90/0x90 [ 26.258217] ? ipv4_conntrack_in+0x90/0x90 [ 26.262428] ? nf_ct_netns_do_get+0x20f/0x340 [ 26.266897] ? __mutex_unlock_slowpath+0xe9/0xac0 [ 26.271708] ? __kernel_text_address+0xd/0x40 [ 26.276168] ? wait_for_completion+0x770/0x770 [ 26.280716] ? nf_ct_netns_get+0x35/0x90 [ 26.284744] ? arp_mangle+0x550/0x550 [ 26.288515] xt_check_target+0x22c/0x7d0 [ 26.292546] ? xt_target_seq_next+0x30/0x30 [ 26.296834] ? mutex_unlock+0xd/0x10 [ 26.300516] ? mutex_unlock+0xd/0x10 [ 26.304199] ? xt_find_target+0x17b/0x1e0 [ 26.308318] find_check_entry.isra.8+0x8c8/0xcb0 [ 26.313044] ? ipt_do_table+0x1860/0x1860 [ 26.317163] ? mark_held_locks+0xaf/0x100 [ 26.321283] ? kfree+0xf0/0x260 [ 26.324535] ? trace_hardirqs_on+0xd/0x10 [ 26.328660] translate_table+0xed1/0x1610 [ 26.332793] ? alloc_counters.isra.11+0x7d0/0x7d0 [ 26.337611] ? kasan_check_write+0x14/0x20 [ 26.341813] ? _copy_from_user+0x99/0x110 [ 26.345933] do_ipt_set_ctl+0x370/0x5f0 [ 26.349876] ? translate_compat_table+0x1b90/0x1b90 [ 26.354860] ? mutex_unlock+0xd/0x10 [ 26.358542] ? nf_sockopt_find.constprop.0+0x1a7/0x220 [ 26.363786] nf_setsockopt+0x67/0xc0 [ 26.367470] ip_setsockopt+0xa1/0xb0 [ 26.371153] raw_setsockopt+0xb7/0xd0 [ 26.374924] sock_common_setsockopt+0x95/0xd0 [ 26.379387] SyS_setsockopt+0x189/0x360 [ 26.383330] ? SyS_recv+0x40/0x40 [ 26.386752] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 26.391564] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 26.396548] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.401272] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 26.405995] RIP: 0033:0x445be9 [ 26.409156] RSP: 002b:00007ffd1d16a1c8 EFLAGS: 00000203 ORIG_RAX: 0000000000000036 [ 26.416830] RAX: ffffffffffffffda RBX: ffffffffffffffff RCX: 0000000000445be9 [ 26.424068] RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000005 [ 26.431306] RBP: 00007ffd1d16a2d8 R08: 0000000000000328 R09: 0000000000000000 [ 26.438542] R10: 0000000020397cd8 R11: 0000000000000203 R12: 00007ffd1d16a2d8 [ 26.445785] R13: 00000000004030b0 R14: 0000000000000000 R15: 0000000000000000 [ 26.454128] ipt_CLUSTERIP: ipt_CLUSTERIP is deprecated and it will remo