[....] Starting enhanced syslogd: rsyslogd[ 13.031527] audit: type=1400 audit(1517156473.346:5): avc: denied { syslog } for pid=3526 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.309872] audit: type=1400 audit(1517156478.624:6): avc: denied { map } for pid=3666 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.0.2' (ECDSA) to the list of known hosts. net.ipv6.conf.syz0.accept_dad = 0 net.ipv6.conf.syz0.router_solicitations = 0 [ 24.614660] audit: type=1400 audit(1517156484.929:7): avc: denied { map } for pid=3680 comm="syzkaller915341" path="/root/syzkaller915341186" 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.003465] 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.346945] [ 25.348600] ====================================================== [ 25.354885] WARNING: possible circular locking dependency detected [ 25.361173] 4.15.0-rc9+ #213 Not tainted [ 25.365229] ------------------------------------------------------ [ 25.371518] syzkaller915341/3680 is trying to acquire lock: [ 25.377193] (rtnl_mutex){+.+.}, at: [<0000000087c9af64>] rtnl_lock+0x17/0x20 [ 25.384456] [ 25.384456] but task is already holding lock: [ 25.390395] (sk_lock-AF_INET){+.+.}, at: [<00000000fec17810>] ip_setsockopt+0x8c/0xb0 [ 25.398428] [ 25.398428] which lock already depends on the new lock. [ 25.398428] [ 25.406716] [ 25.406716] the existing dependency chain (in reverse order) is: [ 25.414306] [ 25.414306] -> #1 (sk_lock-AF_INET){+.+.}: [ 25.419997] lock_sock_nested+0xc2/0x110 [ 25.424557] do_ip_getsockopt+0x1b3/0x2170 [ 25.429285] ip_getsockopt+0x90/0x220 [ 25.433577] tcp_getsockopt+0x82/0xd0 [ 25.437886] sock_common_getsockopt+0x95/0xd0 [ 25.442874] SyS_getsockopt+0x178/0x340 [ 25.447339] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 25.452580] [ 25.452580] -> #0 (rtnl_mutex){+.+.}: [ 25.457836] lock_acquire+0x1d5/0x580 [ 25.462135] __mutex_lock+0x16f/0x1a80 [ 25.466512] mutex_lock_nested+0x16/0x20 [ 25.471072] rtnl_lock+0x17/0x20 [ 25.474930] register_netdevice_notifier+0xad/0x860 [ 25.480460] clusterip_tg_check+0xeb9/0x1570 [ 25.485360] xt_check_target+0x22c/0x7d0 [ 25.489913] find_check_entry.isra.8+0x8c8/0xcb0 [ 25.495158] translate_table+0xed1/0x1610 [ 25.499796] do_ipt_set_ctl+0x370/0x5f0 [ 25.504281] nf_setsockopt+0x67/0xc0 [ 25.508487] ip_setsockopt+0xa1/0xb0 [ 25.512693] raw_setsockopt+0xb7/0xd0 [ 25.516984] sock_common_setsockopt+0x95/0xd0 [ 25.521972] SyS_setsockopt+0x189/0x360 [ 25.526443] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 25.531689] [ 25.531689] other info that might help us debug this: [ 25.531689] [ 25.539801] Possible unsafe locking scenario: [ 25.539801] [ 25.545828] CPU0 CPU1 [ 25.550463] ---- ---- [ 25.555095] lock(sk_lock-AF_INET); [ 25.558779] lock(rtnl_mutex); [ 25.564546] lock(sk_lock-AF_INET); [ 25.570746] lock(rtnl_mutex); [ 25.573995] [ 25.573995] *** DEADLOCK *** [ 25.573995] [ 25.580032] 1 lock held by syzkaller915341/3680: [ 25.584756] #0: (sk_lock-AF_INET){+.+.}, at: [<00000000fec17810>] ip_setsockopt+0x8c/0xb0 [ 25.593227] [ 25.593227] stack backtrace: [ 25.597703] CPU: 0 PID: 3680 Comm: syzkaller915341 Not tainted 4.15.0-rc9+ #213 [ 25.605117] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.614452] Call Trace: [ 25.617022] dump_stack+0x194/0x257 [ 25.620627] ? arch_local_irq_restore+0x53/0x53 [ 25.625277] print_circular_bug.isra.37+0x2cd/0x2dc [ 25.630262] ? save_trace+0xe0/0x2b0 [ 25.633946] __lock_acquire+0x30a8/0x3e00 [ 25.638073] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 25.643881] ? trace_hardirqs_off+0x10/0x10 [ 25.648175] ? noop_count+0x40/0x40 [ 25.651776] ? trace_hardirqs_off+0x10/0x10 [ 25.656070] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 25.661232] ? check_noncircular+0x20/0x20 [ 25.665442] ? check_usage+0x22f/0xb60 [ 25.669309] ? trace_raw_output_xdp_redirect_map_err+0x440/0x440 [ 25.675436] ? check_usage+0x22f/0xb60 [ 25.679305] ? check_noncircular+0x20/0x20 [ 25.683518] ? check_noncircular+0x20/0x20 [ 25.687724] ? find_held_lock+0x35/0x1d0 [ 25.691757] ? __bfs+0x2e0/0x750 [ 25.695097] ? __is_insn_slot_addr+0x1fc/0x330 [ 25.699654] lock_acquire+0x1d5/0x580 [ 25.703429] ? lock_acquire+0x1d5/0x580 [ 25.707378] ? rtnl_lock+0x17/0x20 [ 25.710892] ? lock_release+0xa40/0xa40 [ 25.714854] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 25.720714] ? print_irqtrace_events+0x270/0x270 [ 25.725452] ? idr_get_free_cmn+0x64e/0xfd0 [ 25.729754] ? rcu_note_context_switch+0x710/0x710 [ 25.734662] ? __might_sleep+0x95/0x190 [ 25.738616] ? rtnl_lock+0x17/0x20 [ 25.742132] __mutex_lock+0x16f/0x1a80 [ 25.745991] ? rtnl_lock+0x17/0x20 [ 25.749507] ? rtnl_lock+0x17/0x20 [ 25.753029] ? __lock_acquire+0x664/0x3e00 [ 25.757243] ? _raw_spin_unlock_irqrestore+0x31/0xba [ 25.762330] ? mutex_lock_io_nested+0x1900/0x1900 [ 25.767147] ? trace_hardirqs_on+0xd/0x10 [ 25.771273] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 25.776439] ? save_stack+0xa3/0xd0 [ 25.780051] ? kasan_kmalloc+0xad/0xe0 [ 25.783914] ? __proc_create+0x21a/0x880 [ 25.787945] ? proc_create_data+0x76/0x180 [ 25.792153] ? clusterip_tg_check+0xe4d/0x1570 [ 25.796718] ? rb_insert_color+0x1580/0x1580 [ 25.801097] ? do_ipt_set_ctl+0x370/0x5f0 [ 25.805221] ? ip_setsockopt+0xa1/0xb0 [ 25.809081] ? raw_setsockopt+0xb7/0xd0 [ 25.813035] ? sock_common_setsockopt+0x95/0xd0 [ 25.817676] ? SyS_setsockopt+0x189/0x360 [ 25.821798] ? entry_SYSCALL_64_fastpath+0x29/0xa0 [ 25.826705] ? _find_next_bit+0xee/0x120 [ 25.830742] ? check_noncircular+0x20/0x20 [ 25.834951] ? find_first_zero_bit+0x93/0xe0 [ 25.839333] ? ida_get_new_above+0x421/0x9d0 [ 25.843714] ? print_irqtrace_events+0x270/0x270 [ 25.848448] ? check_noncircular+0x20/0x20 [ 25.852661] ? print_irqtrace_events+0x270/0x270 [ 25.857394] ? ida_simple_get+0x15c/0x220 [ 25.861522] ? lock_downgrade+0x980/0x980 [ 25.865659] ? find_held_lock+0x35/0x1d0 [ 25.869699] mutex_lock_nested+0x16/0x20 [ 25.873742] ? mutex_lock_nested+0x16/0x20 [ 25.877949] rtnl_lock+0x17/0x20 [ 25.881291] register_netdevice_notifier+0xad/0x860 [ 25.886289] ? lock_downgrade+0x980/0x980 [ 25.890411] ? __dev_close_many+0x350/0x350 [ 25.894707] ? ida_simple_get+0x176/0x220 [ 25.898830] ? do_raw_write_trylock+0x190/0x190 [ 25.903475] ? ida_remove+0x3f0/0x3f0 [ 25.907253] ? _raw_write_unlock+0x22/0x30 [ 25.911461] ? proc_register+0x261/0x370 [ 25.915494] ? proc_create_data+0x101/0x180 [ 25.919792] clusterip_tg_check+0xeb9/0x1570 [ 25.924175] ? arp_mangle+0x550/0x550 [ 25.927946] ? xt_find_target+0x150/0x1e0 [ 25.932066] ? lock_downgrade+0x980/0x980 [ 25.936187] ? mutex_unlock+0xd/0x10 [ 25.939877] ? ipv4_hooks_register+0x1fb/0x3e0 [ 25.944430] ? ipv4_conntrack_in+0x90/0x90 [ 25.948639] ? ipv4_conntrack_in+0x90/0x90 [ 25.952852] ? nf_ct_netns_do_get+0x20f/0x340 [ 25.957321] ? __mutex_unlock_slowpath+0xe9/0xac0 [ 25.962141] ? __kernel_text_address+0xd/0x40 [ 25.966617] ? wait_for_completion+0x770/0x770 [ 25.971177] ? nf_ct_netns_get+0x35/0x90 [ 25.975215] ? arp_mangle+0x550/0x550 [ 25.978991] xt_check_target+0x22c/0x7d0 [ 25.983035] ? xt_target_seq_next+0x30/0x30 [ 25.987332] ? mutex_unlock+0xd/0x10 [ 25.991026] ? mutex_unlock+0xd/0x10 [ 25.994714] ? xt_find_target+0x17b/0x1e0 [ 25.998835] find_check_entry.isra.8+0x8c8/0xcb0 [ 26.003572] ? ipt_do_table+0x1860/0x1860 [ 26.007695] ? mark_held_locks+0xaf/0x100 [ 26.011814] ? kfree+0xf0/0x260 [ 26.015072] ? trace_hardirqs_on+0xd/0x10 [ 26.019194] translate_table+0xed1/0x1610 [ 26.023319] ? alloc_counters.isra.11+0x7d0/0x7d0 [ 26.028136] ? kasan_check_write+0x14/0x20 [ 26.032354] ? _copy_from_user+0x99/0x110 [ 26.036476] do_ipt_set_ctl+0x370/0x5f0 [ 26.040425] ? translate_compat_table+0x1b90/0x1b90 [ 26.045420] ? mutex_unlock+0xd/0x10 [ 26.049105] ? nf_sockopt_find.constprop.0+0x1a7/0x220 [ 26.054357] nf_setsockopt+0x67/0xc0 [ 26.058048] ip_setsockopt+0xa1/0xb0 [ 26.061734] raw_setsockopt+0xb7/0xd0 [ 26.065506] sock_common_setsockopt+0x95/0xd0 [ 26.069976] SyS_setsockopt+0x189/0x360 [ 26.073931] ? SyS_recv+0x40/0x40 [ 26.077358] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 26.082177] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 26.087168] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.091898] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 26.096623] RIP: 0033:0x445f99 [ 26.099782] RSP: 002b:00007fff052f3278 EFLAGS: 00000203 ORIG_RAX: 0000000000000036 [ 26.107462] RAX: ffffffffffffffda RBX: ffffffffffffffff RCX: 0000000000445f99 [ 26.114706] RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000005 [ 26.121946] RBP: 00007fff052f3398 R08: 0000000000000328 R09: 0000000000000000 [ 26.129188] R10: 0000000020397cd8 R11: 0000000000000203 R12: 00007fff052f3398 [ 26.136432] R13: 0000000000403460 R14: 0000000000000000 R15: 0000000000000000 [ 26.144265] ipt_CLUSTERIP: ipt_CLUSTERIP is deprecated and it will rem