[?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. [ 18.612418] audit: type=1400 audit(1517298168.155:6): avc: denied { map } for pid=4157 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 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.15.206' (ECDSA) to the list of known hosts. net.ipv6.conf.syz0.accept_dad = 0 net.ipv6.conf.syz0.router_solicitations = 0 syzkaller login: [ 40.782680] audit: type=1400 audit(1517298190.325:7): avc: denied { map } for pid=4175 comm="syzkaller414905" path="/root/syzkaller414905834" 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 [ 41.061504] 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 [ 41.464413] xt_CT: No such helper "pptp" [ 41.547089] ipt_CLUSTERIP: ipt_CLUSTERIP is deprecated and it will removed soon, use xt_cluster instead [ 41.558847] [ 41.560508] ====================================================== [ 41.566806] WARNING: possible circular locking dependency detected [ 41.573183] 4.15.0+ #286 Not tainted [ 41.576874] ------------------------------------------------------ [ 41.583159] syzkaller414905/4175 is trying to acquire lock: [ 41.588844] (rtnl_mutex){+.+.}, at: [<00000000c829c7d7>] rtnl_lock+0x17/0x20 [ 41.596100] [ 41.596100] but task is already holding lock: [ 41.602049] (&xt[i].mutex){+.+.}, at: [<00000000d0812b2c>] xt_find_table_lock+0x40/0x3d0 [ 41.610341] [ 41.610341] which lock already depends on the new lock. [ 41.610341] [ 41.618625] [ 41.618625] the existing dependency chain (in reverse order) is: [ 41.626212] [ 41.626212] -> #2 (&xt[i].mutex){+.+.}: [ 41.631639] __mutex_lock+0x16f/0x1a80 [ 41.636017] mutex_lock_nested+0x16/0x20 [ 41.640569] xt_find_target+0x44/0x1e0 [ 41.644947] xt_request_find_target+0x2c/0xb0 [ 41.649936] find_check_entry.isra.7+0x669/0xcf0 [ 41.655181] translate_table+0xf52/0x1690 [ 41.659822] do_ip6t_set_ctl+0x370/0x5f0 [ 41.664374] nf_setsockopt+0x67/0xc0 [ 41.668580] ipv6_setsockopt+0x115/0x150 [ 41.673130] udpv6_setsockopt+0x45/0x80 [ 41.677596] sock_common_setsockopt+0x95/0xd0 [ 41.682580] SyS_setsockopt+0x189/0x360 [ 41.687058] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 41.692301] [ 41.692301] -> #1 (sk_lock-AF_INET6){+.+.}: [ 41.698078] lock_sock_nested+0xc2/0x110 [ 41.702630] do_ipv6_setsockopt.isra.8+0x3c5/0x39d0 [ 41.708135] ipv6_setsockopt+0xd7/0x150 [ 41.712610] sctp_setsockopt+0x2a0/0x5de0 [ 41.717262] sock_common_setsockopt+0x95/0xd0 [ 41.722246] SyS_setsockopt+0x189/0x360 [ 41.726711] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 41.731953] [ 41.731953] -> #0 (rtnl_mutex){+.+.}: [ 41.737206] lock_acquire+0x1d5/0x580 [ 41.741494] __mutex_lock+0x16f/0x1a80 [ 41.745869] mutex_lock_nested+0x16/0x20 [ 41.750419] rtnl_lock+0x17/0x20 [ 41.754277] unregister_netdevice_notifier+0x91/0x4e0 [ 41.759970] clusterip_tg_destroy+0x389/0x6e0 [ 41.764956] cleanup_entry+0x218/0x350 [ 41.769331] __do_replace+0x7d7/0xa90 [ 41.773621] do_ipt_set_ctl+0x40f/0x5f0 [ 41.778087] nf_setsockopt+0x67/0xc0 [ 41.782292] ip_setsockopt+0xa1/0xb0 [ 41.786495] tcp_setsockopt+0x82/0xd0 [ 41.790787] sock_common_setsockopt+0x95/0xd0 [ 41.795785] SyS_setsockopt+0x189/0x360 [ 41.800252] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 41.805494] [ 41.805494] other info that might help us debug this: [ 41.805494] [ 41.813604] Chain exists of: [ 41.813604] rtnl_mutex --> sk_lock-AF_INET6 --> &xt[i].mutex [ 41.813604] [ 41.823989] Possible unsafe locking scenario: [ 41.823989] [ 41.830015] CPU0 CPU1 [ 41.834648] ---- ---- [ 41.839280] lock(&xt[i].mutex); [ 41.842704] lock(sk_lock-AF_INET6); [ 41.848992] lock(&xt[i].mutex); [ 41.854933] lock(rtnl_mutex); [ 41.858179] [ 41.858179] *** DEADLOCK *** [ 41.858179] [ 41.864206] 2 locks held by syzkaller414905/4175: [ 41.869015] #0: (sk_lock-AF_INET){+.+.}, at: [<00000000de5b8f26>] ip_setsockopt+0x8c/0xb0 [ 41.877482] #1: (&xt[i].mutex){+.+.}, at: [<00000000d0812b2c>] xt_find_table_lock+0x40/0x3d0 [ 41.886221] [ 41.886221] stack backtrace: [ 41.890702] CPU: 1 PID: 4175 Comm: syzkaller414905 Not tainted 4.15.0+ #286 [ 41.897771] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.907096] Call Trace: [ 41.909659] dump_stack+0x194/0x257 [ 41.913259] ? arch_local_irq_restore+0x53/0x53 [ 41.917916] print_circular_bug.isra.37+0x2cd/0x2dc [ 41.922902] ? save_trace+0xe0/0x2b0 [ 41.926588] __lock_acquire+0x30a8/0x3e00 [ 41.930706] ? print_irqtrace_events+0x270/0x270 [ 41.935435] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 41.940597] ? print_irqtrace_events+0x270/0x270 [ 41.945322] ? print_irqtrace_events+0x270/0x270 [ 41.950047] ? __lock_acquire+0x664/0x3e00 [ 41.954252] ? __lock_acquire+0x664/0x3e00 [ 41.958470] ? __is_insn_slot_addr+0x1fc/0x330 [ 41.963024] ? lock_downgrade+0x980/0x980 [ 41.967142] ? lock_release+0xa40/0xa40 [ 41.971092] ? bpf_prog_kallsyms_find+0xbd/0x440 [ 41.975819] ? check_noncircular+0x20/0x20 [ 41.980023] ? trace_raw_output_xdp_redirect_map_err+0x440/0x440 [ 41.986165] ? is_bpf_text_address+0x7b/0x120 [ 41.990630] ? lock_downgrade+0x980/0x980 [ 41.994749] ? __free_insn_slot+0x5c0/0x5c0 [ 41.999043] lock_acquire+0x1d5/0x580 [ 42.002814] ? lock_acquire+0x1d5/0x580 [ 42.006759] ? rtnl_lock+0x17/0x20 [ 42.010270] ? lock_release+0xa40/0xa40 [ 42.014214] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 42.020068] ? unwind_get_return_address+0x61/0xa0 [ 42.024967] ? rcu_note_context_switch+0x710/0x710 [ 42.029869] ? __might_sleep+0x95/0x190 [ 42.033814] ? rtnl_lock+0x17/0x20 [ 42.037324] __mutex_lock+0x16f/0x1a80 [ 42.041182] ? rtnl_lock+0x17/0x20 [ 42.044689] ? save_trace+0xe0/0x2b0 [ 42.048373] ? rtnl_lock+0x17/0x20 [ 42.051883] ? __lock_acquire+0x36c0/0x3e00 [ 42.056176] ? mutex_lock_io_nested+0x1900/0x1900 [ 42.060991] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 42.066156] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 42.071318] ? __free_insn_slot+0x5c0/0x5c0 [ 42.075621] ? is_bpf_text_address+0xa4/0x120 [ 42.080089] ? rcutorture_record_progress+0x10/0x10 [ 42.085079] ? is_bpf_text_address+0xa4/0x120 [ 42.089546] ? kernel_text_address+0x102/0x140 [ 42.094098] ? __kernel_text_address+0xd/0x40 [ 42.098564] ? unwind_get_return_address+0x61/0xa0 [ 42.103464] ? check_noncircular+0x20/0x20 [ 42.107667] ? check_noncircular+0x20/0x20 [ 42.111874] ? save_stack+0xa3/0xd0 [ 42.115481] ? save_stack+0x43/0xd0 [ 42.119077] ? kasan_kmalloc+0xad/0xe0 [ 42.122944] ? __kmalloc_node+0x47/0x70 [ 42.127472] ? check_noncircular+0x20/0x20 [ 42.131679] ? do_ipt_set_ctl+0x40f/0x5f0 [ 42.135799] mutex_lock_nested+0x16/0x20 [ 42.139831] ? mutex_lock_nested+0x16/0x20 [ 42.144038] rtnl_lock+0x17/0x20 [ 42.147375] unregister_netdevice_notifier+0x91/0x4e0 [ 42.152534] ? clusterip_tg_destroy+0x36a/0x6e0 [ 42.157173] ? lock_downgrade+0x980/0x980 [ 42.161290] ? register_netdevice_notifier+0x860/0x860 [ 42.166535] ? __lock_is_held+0xb6/0x140 [ 42.170580] ? mark_held_locks+0xaf/0x100 [ 42.174699] ? do_raw_spin_trylock+0x190/0x190 [ 42.179252] ? __local_bh_enable_ip+0x121/0x230 [ 42.183906] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 42.188905] ? clusterip_tg_destroy+0x350/0x6e0 [ 42.193560] ? trace_hardirqs_on+0xd/0x10 [ 42.197679] clusterip_tg_destroy+0x389/0x6e0 [ 42.202147] ? free_modinfo_version+0x70/0x70 [ 42.206615] ? clusterip_tg+0xa40/0xa40 [ 42.210562] ? cpumask_next+0x24/0x30 [ 42.214335] ? __lock_is_held+0xb6/0x140 [ 42.218384] ? clusterip_tg+0xa40/0xa40 [ 42.222327] cleanup_entry+0x218/0x350 [ 42.226185] ? cleanup_match+0x220/0x220 [ 42.230218] ? find_next_bit+0x27/0x30 [ 42.234075] __do_replace+0x7d7/0xa90 [ 42.237848] ? compat_table_info+0x470/0x470 [ 42.242228] ? kasan_check_write+0x14/0x20 [ 42.246525] ? _copy_from_user+0x99/0x110 [ 42.250654] do_ipt_set_ctl+0x40f/0x5f0 [ 42.254609] ? translate_compat_table+0x1b90/0x1b90 [ 42.259596] ? mutex_unlock+0xd/0x10 [ 42.263282] ? nf_sockopt_find.constprop.0+0x1a7/0x220 [ 42.268530] nf_setsockopt+0x67/0xc0 [ 42.272216] ip_setsockopt+0xa1/0xb0 [ 42.275901] tcp_setsockopt+0x82/0xd0 [ 42.279672] sock_common_setsockopt+0x95/0xd0 [ 42.284140] SyS_setsockopt+0x189/0x360 [ 42.288087] ? SyS_recv+0x40/0x40 [ 42.291513] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 42.296324] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 42.301309] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 42.306038] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 42.310764] RIP: 0033:0x44b1aa [ 42.313923] RSP: 002b:00007ffdfafe26a8 EFLAGS: 00000206 ORIG_RAX: 0000000000000036 [ 42.321615] RAX: ffffffffffffffda RBX: 00000000006d4100 RCX: 000000000044b1aa [ 42.328855] RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000004 [ 42.336095] RBP: 00000000006d4100 R08: 00000000000002d8 R09: 0000000001a1c880 [ 42.343335] R10: 00000000006d4528 R11: 0000000000000206 R12: 0000000000000004 executing program [ 42.350575] R13: 00000000006d70a8 R14: 00000000006d7050 R15: 00000000004aa50c [ 42.413745] xt_CT: No such helper "pptp" executing program [ 42.527988] xt_CT: No such helper "pptp" executing program [ 42.640731] xt_CT: No such helper "pptp" executing program [ 42.762753] xt_CT: No such helper "pptp" executing program [ 42.880808] xt_CT: No such helper "pptp" executing program [ 42.995781] xt_CT: No such helper "pptp" executing program [ 43.121305] xt_CT: No such helper "pptp" executing program [ 43.244327] xt_CT: No such helper "pptp" executing program [ 43.357762] xt_CT: No such helper "pptp" executing program [ 43.476771] xt_CT: No such helper "pptp" executing program [ 43.594756] xt_CT: No such helper "pptp" executing program [ 43.716729] xt_CT: No such helper "pptp" executing program [ 43.829770] xt_CT: No such helper "pptp" executing program [ 43.951748] xt_CT: No such helper "pptp" executing program [ 44.066799] xt_CT: No such helper "pptp" executing program [ 44.190050] xt_CT: No such helper "pptp" executing program [ 44.300777] xt_CT: No such helper "pptp" executing program [ 44.419258] xt_CT: No such helper "pptp" executing program [ 44.538747] xt_CT: No such helper "pptp" executing program [ 44.658142] xt_CT: No such helper "pptp" executing program [ 44.773723] xt_CT: No such helper "pptp" executing program [ 44.883756] xt_CT: No such helper "pptp" executing program [ 44.996805] xt_CT: No such helper "pptp" executing program [ 45.107789] xt_CT: No such helper "pptp" executing program [ 45.221975] xt_CT: No such helper "pptp" executing program [ 45.333766] xt_CT: No such helper "pptp" executing program [ 45.451762] xt_CT: No such helper "pptp" executing program [ 45.565765] xt_CT: No such helper "pptp" executing program [ 45.683941] xt_CT: No such helper "pptp" executing program [ 45.803761] xt_CT: No such helper "pptp" executing program [ 45.910759] xt_CT: No such helper "pptp" executing program [ 46.030749] xt_CT: No such helper "pptp" executing program [ 46.148794] xt_CT: No such helper "pptp" executing program [ 46.262793] xt_CT: No such helper "pptp" executing program [ 46.386941] xt_CT: No such helper "pptp" executing program [ 46.502938] xt_CT: No such helper "pptp" executing program [ 46.615791] xt_CT: No such helper "pptp" executing program [ 46.733753] xt_CT: No such helper "pptp" executing program [ 46.852308] xt_CT: No such helper "pptp" executing program [ 46.973730] xt_CT: No such helper "pptp" executing program [ 47.089765] xt_CT: No such helper "pptp" executing program [ 47.211776] xt_CT: No such helper "pptp" executing program [ 47.325821] xt_CT: No such helper "pptp" executing program [ 47.447742] xt_CT: No such helper "pptp" executing program [ 47.562754] xt_CT: No such helper "pptp" executing program [ 47.684747] xt_CT: No such helper "pptp" executing program [ 47.797937] xt_CT: No such helper "pptp" executing program [ 47.914769] xt_CT: No such helper "pptp" executing program [ 48.040741] xt_CT: No such helper "pptp" executing program [ 48.155749] xt_CT: No such helper "pptp" executing program [ 48.271084] xt_CT: No such helper "pptp" executing program [ 48.385776] xt_CT: No such helper "pptp" executing program [ 48.499799] xt_CT: No such helper "pptp" executing program [ 48.613755] xt_CT: No such helper "pptp" executing program [ 48.729952] xt_CT: No such helper "pptp" executing program [ 48.842729] xt_CT: No such helper "pptp" executing program [ 48.960826] xt_CT: No such helper "pptp" executing program [ 49.083209] xt_CT: No such helper "pptp" executing program [ 49.203045] xt_CT: No such helper "pptp" executing program [ 49.318789] xt_CT: No such helper "pptp" executing program [ 49.432763] xt_CT: No such helper "pptp" executing program [ 49.546741] xt_CT: No such helper "pptp" executing program [ 49.669938] xt_CT: No such helper "pptp" executing program [ 49.781799] xt_CT: No such helper "pptp" executing program [ 49.895817] xt_CT: No such helper "pptp" executing program [ 50.009772] xt_CT: No such helper "pptp" executing program [ 50.123774] xt_CT: No such helper "pptp" executing program [ 50.240754] xt_CT: No such helper "pptp" executing program [ 50.359237] xt_CT: No such helper "pptp" executing program [ 50.478787] xt_CT: No such helper "pptp" executing program [ 50.603460] xt_CT: No such helper "pptp" executing program [ 50.714764] xt_CT: No such helper "pptp" executing program [ 50.826758] xt_CT: No such helper "pptp" executing program [ 50.940758] xt_CT: No such helper "pptp" executing program [ 51.052756] xt_CT: No such helper "pptp" executing program [ 51.167805] xt_CT: No such helper "pptp" executing program [ 51.278956] xt_CT: No such helper "pptp" executing program [ 51.394791] xt_CT: No such helper "pptp" executing program [ 51.513778] xt_CT: No such helper "pptp" executing program