[....] Starting enhanced syslogd: rsyslogd[ 12.484795] audit: type=1400 audit(1517086454.591:5): avc: denied { syslog } for pid=3532 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 mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] 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: [ 24.985796] audit: type=1400 audit(1517086467.092:6): avc: denied { map } for pid=3674 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.201' (ECDSA) to the list of known hosts. net.ipv6.conf.syz0.accept_dad = 0 net.ipv6.conf.syz0.router_solicitations = 0 [ 31.098956] audit: type=1400 audit(1517086473.205:7): avc: denied { map } for pid=3688 comm="syzkaller962062" path="/root/syzkaller962062416" 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 [ 31.343330] ip (3754) used greatest stack depth: 16224 bytes left [ 31.376241] 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 [ 31.773281] [ 31.774927] ====================================================== [ 31.781211] WARNING: possible circular locking dependency detected [ 31.787496] 4.15.0-rc9+ #283 Not tainted [ 31.791523] ------------------------------------------------------ [ 31.797808] syzkaller962062/3688 is trying to acquire lock: [ 31.803485] (rtnl_mutex){+.+.}, at: [<00000000a18d7a3d>] rtnl_lock+0x17/0x20 [ 31.810735] [ 31.810735] but task is already holding lock: [ 31.816673] (sk_lock-AF_INET){+.+.}, at: [<00000000cb709861>] ip_setsockopt+0x8c/0xb0 [ 31.825486] [ 31.825486] which lock already depends on the new lock. [ 31.825486] [ 31.833782] [ 31.833782] the existing dependency chain (in reverse order) is: [ 31.841369] [ 31.841369] -> #1 (sk_lock-AF_INET){+.+.}: [ 31.847070] lock_sock_nested+0xc2/0x110 [ 31.851622] do_ip_setsockopt.isra.12+0x1d9/0x32e0 [ 31.857038] ip_setsockopt+0x3a/0xb0 [ 31.861241] udp_setsockopt+0x45/0x80 [ 31.865532] sock_common_setsockopt+0x95/0xd0 [ 31.870519] SyS_setsockopt+0x189/0x360 [ 31.874987] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 31.880228] [ 31.880228] -> #0 (rtnl_mutex){+.+.}: [ 31.885483] lock_acquire+0x1d5/0x580 [ 31.889772] __mutex_lock+0x16f/0x1a80 [ 31.894146] mutex_lock_nested+0x16/0x20 [ 31.898698] rtnl_lock+0x17/0x20 [ 31.902552] register_netdevice_notifier+0xad/0x860 [ 31.908056] clusterip_tg_check+0xeb9/0x1570 [ 31.912954] xt_check_target+0x22c/0x7d0 [ 31.917502] find_check_entry.isra.8+0x8c8/0xcb0 [ 31.922754] translate_table+0xed1/0x1610 [ 31.927388] do_ipt_set_ctl+0x370/0x5f0 [ 31.931851] nf_setsockopt+0x67/0xc0 [ 31.936053] ip_setsockopt+0xa1/0xb0 [ 31.940256] raw_setsockopt+0xb7/0xd0 [ 31.944546] sock_common_setsockopt+0x95/0xd0 [ 31.949536] SyS_setsockopt+0x189/0x360 [ 31.954008] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 31.959248] [ 31.959248] other info that might help us debug this: [ 31.959248] [ 31.967357] Possible unsafe locking scenario: [ 31.967357] [ 31.973388] CPU0 CPU1 [ 31.978020] ---- ---- [ 31.982651] lock(sk_lock-AF_INET); [ 31.986332] lock(rtnl_mutex); [ 31.992097] lock(sk_lock-AF_INET); [ 31.998294] lock(rtnl_mutex); [ 32.001547] [ 32.001547] *** DEADLOCK *** [ 32.001547] [ 32.007575] 1 lock held by syzkaller962062/3688: [ 32.012295] #0: (sk_lock-AF_INET){+.+.}, at: [<00000000cb709861>] ip_setsockopt+0x8c/0xb0 [ 32.020759] [ 32.020759] stack backtrace: [ 32.025223] CPU: 0 PID: 3688 Comm: syzkaller962062 Not tainted 4.15.0-rc9+ #283 [ 32.032634] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.041956] Call Trace: [ 32.044518] dump_stack+0x194/0x257 [ 32.048116] ? arch_local_irq_restore+0x53/0x53 [ 32.052759] print_circular_bug.isra.37+0x2cd/0x2dc [ 32.057746] ? save_trace+0xe0/0x2b0 [ 32.061435] __lock_acquire+0x30a8/0x3e00 [ 32.065562] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 32.070724] ? trace_hardirqs_off+0x10/0x10 [ 32.075013] ? noop_count+0x40/0x40 [ 32.078607] ? trace_hardirqs_off+0x10/0x10 [ 32.082899] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 32.088060] ? check_noncircular+0x20/0x20 [ 32.092266] ? check_usage+0x22f/0xb60 [ 32.096141] ? trace_raw_output_xdp_redirect_map_err+0x440/0x440 [ 32.102256] ? check_usage+0x22f/0xb60 [ 32.106115] ? check_noncircular+0x20/0x20 [ 32.110318] ? check_noncircular+0x20/0x20 [ 32.114523] ? find_held_lock+0x35/0x1d0 [ 32.118554] ? __bfs+0x2e0/0x750 [ 32.121890] ? __is_insn_slot_addr+0x1fc/0x330 [ 32.126443] lock_acquire+0x1d5/0x580 [ 32.130212] ? lock_acquire+0x1d5/0x580 [ 32.134155] ? rtnl_lock+0x17/0x20 [ 32.137665] ? lock_release+0xa40/0xa40 [ 32.141608] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 32.147459] ? print_irqtrace_events+0x270/0x270 [ 32.152183] ? idr_get_free_cmn+0x64e/0xfd0 [ 32.156475] ? rcu_note_context_switch+0x710/0x710 [ 32.161372] ? __might_sleep+0x95/0x190 [ 32.165314] ? rtnl_lock+0x17/0x20 [ 32.168820] __mutex_lock+0x16f/0x1a80 [ 32.172675] ? rtnl_lock+0x17/0x20 [ 32.176183] ? rtnl_lock+0x17/0x20 [ 32.179693] ? __lock_acquire+0x664/0x3e00 [ 32.183901] ? _raw_spin_unlock_irqrestore+0x31/0xba [ 32.188972] ? mutex_lock_io_nested+0x1900/0x1900 [ 32.193791] ? trace_hardirqs_on+0xd/0x10 [ 32.197918] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 32.203076] ? save_stack+0xa3/0xd0 [ 32.206670] ? kasan_kmalloc+0xad/0xe0 [ 32.210525] ? __proc_create+0x21a/0x880 [ 32.214552] ? proc_create_data+0x76/0x180 [ 32.218766] ? clusterip_tg_check+0xe4d/0x1570 [ 32.223316] ? rb_insert_color+0x1580/0x1580 [ 32.227693] ? do_ipt_set_ctl+0x370/0x5f0 [ 32.231809] ? ip_setsockopt+0xa1/0xb0 [ 32.235664] ? raw_setsockopt+0xb7/0xd0 [ 32.239606] ? sock_common_setsockopt+0x95/0xd0 [ 32.244240] ? SyS_setsockopt+0x189/0x360 [ 32.248355] ? entry_SYSCALL_64_fastpath+0x29/0xa0 [ 32.253253] ? _find_next_bit+0xee/0x120 [ 32.257290] ? check_noncircular+0x20/0x20 [ 32.261494] ? find_first_zero_bit+0x93/0xe0 [ 32.265870] ? ida_get_new_above+0x421/0x9d0 [ 32.270247] ? print_irqtrace_events+0x270/0x270 [ 32.274981] ? check_noncircular+0x20/0x20 [ 32.279184] ? print_irqtrace_events+0x270/0x270 [ 32.283908] ? ida_simple_get+0x15c/0x220 [ 32.288034] ? lock_downgrade+0x980/0x980 [ 32.292152] ? find_held_lock+0x35/0x1d0 [ 32.296181] mutex_lock_nested+0x16/0x20 [ 32.300209] ? mutex_lock_nested+0x16/0x20 [ 32.304420] rtnl_lock+0x17/0x20 [ 32.307755] register_netdevice_notifier+0xad/0x860 [ 32.312740] ? lock_downgrade+0x980/0x980 [ 32.316859] ? __dev_close_many+0x330/0x330 [ 32.321157] ? ida_simple_get+0x176/0x220 [ 32.325275] ? do_raw_write_trylock+0x190/0x190 [ 32.329910] ? ida_remove+0x3f0/0x3f0 [ 32.333678] ? _raw_write_unlock+0x22/0x30 [ 32.337890] ? proc_register+0x261/0x370 [ 32.341932] ? proc_create_data+0x101/0x180 [ 32.346222] clusterip_tg_check+0xeb9/0x1570 [ 32.350599] ? arp_mangle+0x550/0x550 [ 32.354367] ? xt_find_target+0x150/0x1e0 [ 32.358485] ? lock_downgrade+0x980/0x980 [ 32.362602] ? mutex_unlock+0xd/0x10 [ 32.366285] ? ipv4_hooks_register+0x1fb/0x3e0 [ 32.370843] ? ipv4_conntrack_in+0x90/0x90 [ 32.375046] ? ipv4_conntrack_in+0x90/0x90 [ 32.379248] ? nf_ct_netns_do_get+0x20f/0x340 [ 32.383718] ? __mutex_unlock_slowpath+0xe9/0xac0 [ 32.388532] ? __kernel_text_address+0xd/0x40 [ 32.392995] ? wait_for_completion+0x770/0x770 [ 32.397545] ? nf_ct_netns_get+0x35/0x90 [ 32.401575] ? arp_mangle+0x550/0x550 [ 32.405345] xt_check_target+0x22c/0x7d0 [ 32.409376] ? xt_target_seq_next+0x30/0x30 [ 32.413680] ? mutex_unlock+0xd/0x10 [ 32.417362] ? mutex_unlock+0xd/0x10 [ 32.421046] ? xt_find_target+0x17b/0x1e0 [ 32.425166] find_check_entry.isra.8+0x8c8/0xcb0 [ 32.429892] ? ipt_do_table+0x1860/0x1860 [ 32.434009] ? mark_held_locks+0xaf/0x100 [ 32.438122] ? kfree+0xf0/0x260 [ 32.441370] ? trace_hardirqs_on+0xd/0x10 [ 32.445490] translate_table+0xed1/0x1610 [ 32.449609] ? alloc_counters.isra.11+0x7d0/0x7d0 [ 32.454419] ? kasan_check_write+0x14/0x20 [ 32.458622] ? _copy_from_user+0x99/0x110 [ 32.462738] do_ipt_set_ctl+0x370/0x5f0 [ 32.466683] ? translate_compat_table+0x1b90/0x1b90 [ 32.471670] ? mutex_unlock+0xd/0x10 [ 32.475357] ? nf_sockopt_find.constprop.0+0x1a7/0x220 [ 32.480605] nf_setsockopt+0x67/0xc0 [ 32.484288] ip_setsockopt+0xa1/0xb0 [ 32.487983] raw_setsockopt+0xb7/0xd0 [ 32.491754] sock_common_setsockopt+0x95/0xd0 [ 32.496221] SyS_setsockopt+0x189/0x360 [ 32.500163] ? SyS_recv+0x40/0x40 [ 32.503595] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 32.508408] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 32.513394] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 32.518119] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 32.522844] RIP: 0033:0x445bd9 [ 32.526003] RSP: 002b:00007ffc3cbc5bc8 EFLAGS: 00000203 ORIG_RAX: 0000000000000036 [ 32.533690] RAX: ffffffffffffffda RBX: cffdad35d0ad864a RCX: 0000000000445bd9 [ 32.540929] RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000005 [ 32.548166] RBP: 00007ffc3cbc5cd8 R08: 0000000000000328 R09: 0000000000000000 [ 32.555405] R10: 0000000020397cd8 R11: 0000000000000203 R12: 00007ffc3cbc5cd8 [ 32.562644] R13: 00000000004030a0 R14: 0000000000000000 R15: 0000000000000000 [ 32.570242] ipt_CLUSTERIP: ipt_CLUSTERIP is deprecated and it will remo