[....] Starting enhanced syslogd: rsyslogd[ 12.355862] audit: type=1400 audit(1517094838.926:5): avc: denied { syslog } for pid=3516 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: [ 17.158055] audit: type=1400 audit(1517094843.728:6): avc: denied { map } for pid=3657 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.196' (ECDSA) to the list of known hosts. net.ipv6.conf.syz0.accept_dad = 0 net.ipv6.conf.syz0.router_solicitations = 0 [ 23.470240] audit: type=1400 audit(1517094850.041:7): avc: denied { map } for pid=3671 comm="syzkaller119641" path="/root/syzkaller119641010" 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 RTNETLINK answers: Operation not supported [ 23.842974] IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument executing program [ 24.222214] [ 24.223854] ====================================================== [ 24.230144] WARNING: possible circular locking dependency detected [ 24.236446] 4.15.0-rc9+ #283 Not tainted [ 24.240488] ------------------------------------------------------ [ 24.246786] syzkaller119641/3671 is trying to acquire lock: [ 24.252473] (rtnl_mutex){+.+.}, at: [<000000000487cd4d>] rtnl_lock+0x17/0x20 [ 24.259747] [ 24.259747] but task is already holding lock: [ 24.265703] (sk_lock-AF_INET){+.+.}, at: [<00000000a4b96968>] ip_setsockopt+0x8c/0xb0 [ 24.273753] [ 24.273753] which lock already depends on the new lock. [ 24.273753] [ 24.282046] [ 24.282046] the existing dependency chain (in reverse order) is: [ 24.289651] [ 24.289651] -> #1 (sk_lock-AF_INET){+.+.}: [ 24.295364] lock_sock_nested+0xc2/0x110 [ 24.299938] do_ip_setsockopt.isra.12+0x1d9/0x32e0 [ 24.305378] ip_setsockopt+0x3a/0xb0 [ 24.309601] udp_setsockopt+0x45/0x80 [ 24.313908] sock_common_setsockopt+0x95/0xd0 [ 24.318909] SyS_setsockopt+0x189/0x360 [ 24.323396] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.328647] [ 24.328647] -> #0 (rtnl_mutex){+.+.}: [ 24.333902] lock_acquire+0x1d5/0x580 [ 24.338189] __mutex_lock+0x16f/0x1a80 [ 24.342561] mutex_lock_nested+0x16/0x20 [ 24.347108] rtnl_lock+0x17/0x20 [ 24.350963] register_netdevice_notifier+0xad/0x860 [ 24.356466] clusterip_tg_check+0xeb9/0x1570 [ 24.361363] xt_check_target+0x22c/0x7d0 [ 24.365914] find_check_entry.isra.8+0x8c8/0xcb0 [ 24.371155] translate_table+0xed1/0x1610 [ 24.375789] do_ipt_set_ctl+0x370/0x5f0 [ 24.380251] nf_setsockopt+0x67/0xc0 [ 24.384452] ip_setsockopt+0xa1/0xb0 [ 24.388652] raw_setsockopt+0xb7/0xd0 [ 24.392941] sock_common_setsockopt+0x95/0xd0 [ 24.397924] SyS_setsockopt+0x189/0x360 [ 24.402386] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.407629] [ 24.407629] other info that might help us debug this: [ 24.407629] [ 24.415735] Possible unsafe locking scenario: [ 24.415735] [ 24.421755] CPU0 CPU1 [ 24.426385] ---- ---- [ 24.431018] lock(sk_lock-AF_INET); [ 24.434702] lock(rtnl_mutex); [ 24.440467] lock(sk_lock-AF_INET); [ 24.446662] lock(rtnl_mutex); [ 24.449909] [ 24.449909] *** DEADLOCK *** [ 24.449909] [ 24.455933] 1 lock held by syzkaller119641/3671: [ 24.460654] #0: (sk_lock-AF_INET){+.+.}, at: [<00000000a4b96968>] ip_setsockopt+0x8c/0xb0 [ 24.469114] [ 24.469114] stack backtrace: [ 24.473576] CPU: 1 PID: 3671 Comm: syzkaller119641 Not tainted 4.15.0-rc9+ #283 [ 24.480986] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.490310] Call Trace: [ 24.492873] dump_stack+0x194/0x257 [ 24.496472] ? arch_local_irq_restore+0x53/0x53 [ 24.501114] print_circular_bug.isra.37+0x2cd/0x2dc [ 24.506095] ? save_trace+0xe0/0x2b0 [ 24.509775] __lock_acquire+0x30a8/0x3e00 [ 24.513893] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 24.519052] ? trace_hardirqs_off+0x10/0x10 [ 24.523343] ? noop_count+0x40/0x40 [ 24.526938] ? trace_hardirqs_off+0x10/0x10 [ 24.531225] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 24.536380] ? check_noncircular+0x20/0x20 [ 24.540582] ? check_usage+0x22f/0xb60 [ 24.544437] ? trace_raw_output_xdp_redirect_map_err+0x440/0x440 [ 24.550548] ? check_usage+0x22f/0xb60 [ 24.554401] ? check_noncircular+0x20/0x20 [ 24.558601] ? check_noncircular+0x20/0x20 [ 24.562800] ? find_held_lock+0x35/0x1d0 [ 24.566827] ? __bfs+0x2e0/0x750 [ 24.570161] ? __is_insn_slot_addr+0x1fc/0x330 [ 24.574713] lock_acquire+0x1d5/0x580 [ 24.578479] ? lock_acquire+0x1d5/0x580 [ 24.582424] ? rtnl_lock+0x17/0x20 [ 24.585935] ? lock_release+0xa40/0xa40 [ 24.589876] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 24.595728] ? print_irqtrace_events+0x270/0x270 [ 24.600450] ? idr_get_free_cmn+0x64e/0xfd0 [ 24.604739] ? rcu_note_context_switch+0x710/0x710 [ 24.609637] ? __might_sleep+0x95/0x190 [ 24.613578] ? rtnl_lock+0x17/0x20 [ 24.617087] __mutex_lock+0x16f/0x1a80 [ 24.620944] ? rtnl_lock+0x17/0x20 [ 24.624453] ? rtnl_lock+0x17/0x20 [ 24.627959] ? __lock_acquire+0x664/0x3e00 [ 24.632162] ? _raw_spin_unlock_irqrestore+0x31/0xba [ 24.637233] ? mutex_lock_io_nested+0x1900/0x1900 [ 24.642043] ? trace_hardirqs_on+0xd/0x10 [ 24.646162] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 24.651320] ? save_stack+0xa3/0xd0 [ 24.654916] ? kasan_kmalloc+0xad/0xe0 [ 24.658775] ? __proc_create+0x21a/0x880 [ 24.662804] ? proc_create_data+0x76/0x180 [ 24.667008] ? clusterip_tg_check+0xe4d/0x1570 [ 24.671560] ? rb_insert_color+0x1580/0x1580 [ 24.675935] ? do_ipt_set_ctl+0x370/0x5f0 [ 24.680050] ? ip_setsockopt+0xa1/0xb0 [ 24.683905] ? raw_setsockopt+0xb7/0xd0 [ 24.687850] ? sock_common_setsockopt+0x95/0xd0 [ 24.692485] ? SyS_setsockopt+0x189/0x360 [ 24.696599] ? entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.701494] ? _find_next_bit+0xee/0x120 [ 24.705521] ? check_noncircular+0x20/0x20 [ 24.709721] ? find_first_zero_bit+0x93/0xe0 [ 24.714098] ? ida_get_new_above+0x421/0x9d0 [ 24.718471] ? print_irqtrace_events+0x270/0x270 [ 24.723194] ? check_noncircular+0x20/0x20 [ 24.727396] ? print_irqtrace_events+0x270/0x270 [ 24.732121] ? ida_simple_get+0x15c/0x220 [ 24.736235] ? lock_downgrade+0x980/0x980 [ 24.740353] ? find_held_lock+0x35/0x1d0 [ 24.744381] mutex_lock_nested+0x16/0x20 [ 24.748407] ? mutex_lock_nested+0x16/0x20 [ 24.752607] rtnl_lock+0x17/0x20 [ 24.755943] register_netdevice_notifier+0xad/0x860 [ 24.760930] ? lock_downgrade+0x980/0x980 [ 24.765046] ? __dev_close_many+0x330/0x330 [ 24.769335] ? ida_simple_get+0x176/0x220 [ 24.773463] ? do_raw_write_trylock+0x190/0x190 [ 24.778107] ? ida_remove+0x3f0/0x3f0 [ 24.781882] ? _raw_write_unlock+0x22/0x30 [ 24.786089] ? proc_register+0x261/0x370 [ 24.790124] ? proc_create_data+0x101/0x180 [ 24.794413] clusterip_tg_check+0xeb9/0x1570 [ 24.798788] ? arp_mangle+0x550/0x550 [ 24.802555] ? xt_find_target+0x150/0x1e0 [ 24.806672] ? lock_downgrade+0x980/0x980 [ 24.810786] ? mutex_unlock+0xd/0x10 [ 24.814469] ? ipv4_hooks_register+0x1fb/0x3e0 [ 24.819024] ? ipv4_conntrack_in+0x90/0x90 [ 24.823230] ? ipv4_conntrack_in+0x90/0x90 [ 24.827434] ? nf_ct_netns_do_get+0x20f/0x340 [ 24.831896] ? __mutex_unlock_slowpath+0xe9/0xac0 [ 24.836712] ? __kernel_text_address+0xd/0x40 [ 24.841173] ? wait_for_completion+0x770/0x770 [ 24.845720] ? nf_ct_netns_get+0x35/0x90 [ 24.849750] ? arp_mangle+0x550/0x550 [ 24.853520] xt_check_target+0x22c/0x7d0 [ 24.857552] ? xt_target_seq_next+0x30/0x30 [ 24.861841] ? mutex_unlock+0xd/0x10 [ 24.865522] ? mutex_unlock+0xd/0x10 [ 24.869201] ? xt_find_target+0x17b/0x1e0 [ 24.873320] find_check_entry.isra.8+0x8c8/0xcb0 [ 24.878043] ? ipt_do_table+0x1860/0x1860 [ 24.882162] ? mark_held_locks+0xaf/0x100 [ 24.886275] ? kfree+0xf0/0x260 [ 24.889524] ? trace_hardirqs_on+0xd/0x10 [ 24.893639] translate_table+0xed1/0x1610 [ 24.897757] ? alloc_counters.isra.11+0x7d0/0x7d0 [ 24.902568] ? kasan_check_write+0x14/0x20 [ 24.906769] ? _copy_from_user+0x99/0x110 [ 24.910882] do_ipt_set_ctl+0x370/0x5f0 [ 24.914826] ? translate_compat_table+0x1b90/0x1b90 [ 24.919810] ? mutex_unlock+0xd/0x10 [ 24.923493] ? nf_sockopt_find.constprop.0+0x1a7/0x220 [ 24.928734] nf_setsockopt+0x67/0xc0 [ 24.932415] ip_setsockopt+0xa1/0xb0 [ 24.936096] raw_setsockopt+0xb7/0xd0 [ 24.939865] sock_common_setsockopt+0x95/0xd0 [ 24.944327] SyS_setsockopt+0x189/0x360 [ 24.948271] ? SyS_recv+0x40/0x40 [ 24.951691] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 24.956502] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 24.961485] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.966206] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.970928] RIP: 0033:0x445be9 [ 24.974086] RSP: 002b:00007ffc502852d8 EFLAGS: 00000203 ORIG_RAX: 0000000000000036 [ 24.981761] RAX: ffffffffffffffda RBX: ffffffffffffffff RCX: 0000000000445be9 [ 24.989002] RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000005 [ 24.996243] RBP: 00007ffc502853e8 R08: 0000000000000328 R09: 0000000000000000 [ 25.003480] R10: 0000000020397cd8 R11: 0000000000000203 R12: 00007ffc502853e8 [ 25.010716] R13: 00000000004030b0 R14: 0000000000000000 R15: 0000000000000000 [ 25.018459] ipt_CLUSTERIP: ipt_CLUSTERIP is deprecated and it will removed soon, u