[....] Starting enhanced syslogd: rsyslogd[ 13.292805] audit: type=1400 audit(1517214185.949:5): avc: denied { syslog } for pid=3528 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: [ 19.562105] audit: type=1400 audit(1517214192.218:6): avc: denied { map } for pid=3667 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.19' (ECDSA) to the list of known hosts. net.ipv6.conf.syz0.accept_dad = 0 net.ipv6.conf.syz0.router_solicitations = 0 [ 25.872392] audit: type=1400 audit(1517214198.529:7): avc: denied { map } for pid=3681 comm="syzkaller785060" path="/root/syzkaller785060401" 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 [ 26.264742] 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 [ 26.657329] xt_CT: No such helper "pptp" [ 26.736107] ipt_CLUSTERIP: ipt_CLUSTERIP is deprecated and it will removed soon, use xt_cluster instead [ 26.747998] [ 26.749625] ====================================================== [ 26.755906] WARNING: possible circular locking dependency detected [ 26.762189] 4.15.0-rc9+ #284 Not tainted [ 26.766221] ------------------------------------------------------ [ 26.772503] syzkaller785060/3681 is trying to acquire lock: [ 26.778180] (rtnl_mutex){+.+.}, at: [<00000000370b81a0>] rtnl_lock+0x17/0x20 [ 26.785428] [ 26.785428] but task is already holding lock: [ 26.791362] (&xt[i].mutex){+.+.}, at: [<00000000f6715f6a>] xt_find_table_lock+0x40/0x3d0 [ 26.799652] [ 26.799652] which lock already depends on the new lock. [ 26.799652] [ 26.807932] [ 26.807932] the existing dependency chain (in reverse order) is: [ 26.815518] [ 26.815518] -> #2 (&xt[i].mutex){+.+.}: [ 26.820944] __mutex_lock+0x16f/0x1a80 [ 26.825318] mutex_lock_nested+0x16/0x20 [ 26.829865] xt_find_target+0x44/0x1e0 [ 26.834239] xt_request_find_target+0x2c/0xb0 [ 26.839221] find_check_entry.isra.7+0x669/0xcf0 [ 26.844463] translate_table+0xf52/0x1690 [ 26.849105] do_ip6t_set_ctl+0x370/0x5f0 [ 26.853655] nf_setsockopt+0x67/0xc0 [ 26.857856] ipv6_setsockopt+0x115/0x150 [ 26.862404] udpv6_setsockopt+0x45/0x80 [ 26.866867] sock_common_setsockopt+0x95/0xd0 [ 26.871851] SyS_setsockopt+0x189/0x360 [ 26.876317] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 26.881556] [ 26.881556] -> #1 (sk_lock-AF_INET6){+.+.}: [ 26.887328] lock_sock_nested+0xc2/0x110 [ 26.891878] do_ipv6_setsockopt.isra.8+0x3c5/0x39d0 [ 26.897381] ipv6_setsockopt+0xd7/0x150 [ 26.901844] sctp_setsockopt+0x2a0/0x5de0 [ 26.906480] sock_common_setsockopt+0x95/0xd0 [ 26.911461] SyS_setsockopt+0x189/0x360 [ 26.915923] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 26.921163] [ 26.921163] -> #0 (rtnl_mutex){+.+.}: [ 26.926419] lock_acquire+0x1d5/0x580 [ 26.930712] __mutex_lock+0x16f/0x1a80 [ 26.935095] mutex_lock_nested+0x16/0x20 [ 26.939645] rtnl_lock+0x17/0x20 [ 26.943500] unregister_netdevice_notifier+0x91/0x4e0 [ 26.949177] clusterip_tg_destroy+0x389/0x6e0 [ 26.954175] cleanup_entry+0x218/0x350 [ 26.958552] __do_replace+0x7d7/0xa90 [ 26.962840] do_ipt_set_ctl+0x40f/0x5f0 [ 26.967302] nf_setsockopt+0x67/0xc0 [ 26.971506] ip_setsockopt+0xa1/0xb0 [ 26.975709] tcp_setsockopt+0x82/0xd0 [ 26.979998] sock_common_setsockopt+0x95/0xd0 [ 26.984984] SyS_setsockopt+0x189/0x360 [ 26.989457] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 26.994704] [ 26.994704] other info that might help us debug this: [ 26.994704] [ 27.002813] Chain exists of: [ 27.002813] rtnl_mutex --> sk_lock-AF_INET6 --> &xt[i].mutex [ 27.002813] [ 27.013101] Possible unsafe locking scenario: [ 27.013101] [ 27.019613] CPU0 CPU1 [ 27.024246] ---- ---- [ 27.028878] lock(&xt[i].mutex); [ 27.032298] lock(sk_lock-AF_INET6); [ 27.038580] lock(&xt[i].mutex); [ 27.044518] lock(rtnl_mutex); [ 27.047764] [ 27.047764] *** DEADLOCK *** [ 27.047764] [ 27.053791] 2 locks held by syzkaller785060/3681: [ 27.058599] #0: (sk_lock-AF_INET){+.+.}, at: [<00000000598c704e>] ip_setsockopt+0x8c/0xb0 [ 27.067089] #1: (&xt[i].mutex){+.+.}, at: [<00000000f6715f6a>] xt_find_table_lock+0x40/0x3d0 [ 27.075816] [ 27.075816] stack backtrace: [ 27.080283] CPU: 0 PID: 3681 Comm: syzkaller785060 Not tainted 4.15.0-rc9+ #284 [ 27.087694] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.097019] Call Trace: [ 27.099582] dump_stack+0x194/0x257 [ 27.103179] ? arch_local_irq_restore+0x53/0x53 [ 27.107831] print_circular_bug.isra.37+0x2cd/0x2dc [ 27.112826] ? save_trace+0xe0/0x2b0 [ 27.116510] __lock_acquire+0x30a8/0x3e00 [ 27.120627] ? print_irqtrace_events+0x270/0x270 [ 27.125353] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 27.130512] ? print_irqtrace_events+0x270/0x270 [ 27.135238] ? print_irqtrace_events+0x270/0x270 [ 27.139962] ? __lock_acquire+0x664/0x3e00 [ 27.144169] ? __lock_acquire+0x664/0x3e00 [ 27.148378] ? __is_insn_slot_addr+0x1fc/0x330 [ 27.152929] ? lock_downgrade+0x980/0x980 [ 27.157049] ? lock_release+0xa40/0xa40 [ 27.160994] ? bpf_prog_kallsyms_find+0xbd/0x440 [ 27.165721] ? check_noncircular+0x20/0x20 [ 27.169929] ? trace_raw_output_xdp_redirect_map_err+0x440/0x440 [ 27.176055] ? is_bpf_text_address+0x7b/0x120 [ 27.180521] ? lock_downgrade+0x980/0x980 [ 27.184651] ? __free_insn_slot+0x5c0/0x5c0 [ 27.188953] lock_acquire+0x1d5/0x580 [ 27.192727] ? lock_acquire+0x1d5/0x580 [ 27.196678] ? rtnl_lock+0x17/0x20 [ 27.200190] ? lock_release+0xa40/0xa40 [ 27.204135] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 27.209993] ? unwind_get_return_address+0x61/0xa0 [ 27.214906] ? rcu_note_context_switch+0x710/0x710 [ 27.219811] ? __might_sleep+0x95/0x190 [ 27.223757] ? rtnl_lock+0x17/0x20 [ 27.227276] __mutex_lock+0x16f/0x1a80 [ 27.231136] ? rtnl_lock+0x17/0x20 [ 27.234650] ? save_trace+0xe0/0x2b0 [ 27.238339] ? rtnl_lock+0x17/0x20 [ 27.241849] ? __lock_acquire+0x36c0/0x3e00 [ 27.246146] ? mutex_lock_io_nested+0x1900/0x1900 [ 27.250979] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 27.256148] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 27.261312] ? __free_insn_slot+0x5c0/0x5c0 [ 27.265605] ? is_bpf_text_address+0xa4/0x120 [ 27.270071] ? rcutorture_record_progress+0x10/0x10 [ 27.275063] ? is_bpf_text_address+0xa4/0x120 [ 27.279528] ? kernel_text_address+0x102/0x140 [ 27.284080] ? __kernel_text_address+0xd/0x40 [ 27.288543] ? unwind_get_return_address+0x61/0xa0 [ 27.293445] ? check_noncircular+0x20/0x20 [ 27.297648] ? check_noncircular+0x20/0x20 [ 27.301852] ? save_stack+0xa3/0xd0 [ 27.305447] ? save_stack+0x43/0xd0 [ 27.309045] ? kasan_kmalloc+0xad/0xe0 [ 27.312903] ? __kmalloc_node+0x47/0x70 [ 27.316845] ? check_noncircular+0x20/0x20 [ 27.321049] ? do_ipt_set_ctl+0x40f/0x5f0 [ 27.325169] mutex_lock_nested+0x16/0x20 [ 27.329200] ? mutex_lock_nested+0x16/0x20 [ 27.333405] rtnl_lock+0x17/0x20 [ 27.336745] unregister_netdevice_notifier+0x91/0x4e0 [ 27.341903] ? clusterip_tg_destroy+0x36a/0x6e0 [ 27.346541] ? lock_downgrade+0x980/0x980 [ 27.350659] ? register_netdevice_notifier+0x860/0x860 [ 27.355906] ? __lock_is_held+0xb6/0x140 [ 27.359939] ? mark_held_locks+0xaf/0x100 [ 27.364070] ? do_raw_spin_trylock+0x190/0x190 [ 27.368624] ? __local_bh_enable_ip+0x121/0x230 [ 27.373259] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 27.378243] ? clusterip_tg_destroy+0x350/0x6e0 [ 27.382880] ? trace_hardirqs_on+0xd/0x10 [ 27.386997] clusterip_tg_destroy+0x389/0x6e0 [ 27.391468] ? free_modinfo_version+0x70/0x70 [ 27.395932] ? clusterip_tg+0xa40/0xa40 [ 27.399875] ? cpumask_next+0x24/0x30 [ 27.403645] ? __lock_is_held+0xb6/0x140 [ 27.407677] ? clusterip_tg+0xa40/0xa40 [ 27.411620] cleanup_entry+0x218/0x350 [ 27.415476] ? cleanup_match+0x220/0x220 [ 27.419507] ? find_next_bit+0x27/0x30 [ 27.423371] __do_replace+0x7d7/0xa90 [ 27.427152] ? compat_table_info+0x470/0x470 [ 27.431537] ? kasan_check_write+0x14/0x20 [ 27.435746] ? _copy_from_user+0x99/0x110 [ 27.439865] do_ipt_set_ctl+0x40f/0x5f0 [ 27.443810] ? translate_compat_table+0x1b90/0x1b90 [ 27.448802] ? mutex_unlock+0xd/0x10 [ 27.452488] ? nf_sockopt_find.constprop.0+0x1a7/0x220 [ 27.457738] nf_setsockopt+0x67/0xc0 [ 27.461424] ip_setsockopt+0xa1/0xb0 [ 27.465107] tcp_setsockopt+0x82/0xd0 [ 27.468877] sock_common_setsockopt+0x95/0xd0 [ 27.473342] SyS_setsockopt+0x189/0x360 [ 27.477288] ? SyS_recv+0x40/0x40 [ 27.480724] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 27.485538] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 27.490528] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.495266] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 27.499993] RIP: 0033:0x44a1aa [ 27.503157] RSP: 002b:00007ffc72b13368 EFLAGS: 00000206 ORIG_RAX: 0000000000000036 [ 27.510852] RAX: ffffffffffffffda RBX: 00000000006d3100 RCX: 000000000044a1aa [ 27.518093] RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000004 [ 27.525332] RBP: 00000000006d3100 R08: 00000000000002d8 R09: 0000000001de7880 [ 27.532572] R10: 00000000006d3528 R11: 0000000000000206 R12: 0000000000000004 executing program [ 27.539898] R13: 00000000006d60a8 R14: 00000000006d6050 R15: 00000000004a950c [ 27.606862] xt_CT: No such helper "pptp" executing program [ 27.715858] xt_CT: No such helper "pptp" executing program [ 27.826728] xt_CT: No such helper "pptp" executing program [ 27.941943] xt_CT: No such helper "pptp" executing program [ 28.062192] xt_CT: No such helper "pptp" executing program [ 28.175820] xt_CT: No such helper "pptp" executing program [ 28.296725] xt_CT: No such helper "pptp" executing program [ 28.408819] xt_CT: No such helper "pptp" executing program [ 28.527755] xt_CT: No such helper "pptp" executing program [ 28.642673] xt_CT: No such helper "pptp" executing program [ 28.757218] xt_CT: No such helper "pptp" executing program [ 28.877777] xt_CT: No such helper "pptp" executing program [ 29.001236] xt_CT: No such helper "pptp" executing program [ 29.115760] xt_CT: No such helper "pptp" executing program [ 29.233708] xt_CT: No such helper "pptp" executing program [ 29.356239] xt_CT: No such helper "pptp" executing program [ 29.472661] xt_CT: No such helper "pptp" executing program [ 29.602715] xt_CT: No such helper "pptp" executing program [ 29.722665] xt_CT: No such helper "pptp" executing program [ 29.835689] xt_CT: No such helper "pptp" executing program [ 29.962902] xt_CT: No such helper "pptp" executing program [ 30.073089] xt_CT: No such helper "pptp" executing program [ 30.191696] xt_CT: No such helper "pptp" executing program [ 30.312794] xt_CT: No such helper "pptp" executing program [ 30.427896] xt_CT: No such helper "pptp" executing program [ 30.542737] xt_CT: No such helper "pptp" executing program [ 30.652699] xt_CT: No such helper "pptp" executing program [ 30.763573] xt_CT: No such helper "pptp" executing program [ 30.876764] xt_CT: No such helper "pptp" executing program [ 31.007981] xt_CT: No such helper "pptp" executing program [ 31.123669] xt_CT: No such helper "pptp" executing program [ 31.242705] xt_CT: No such helper "pptp" executing program [ 31.365722] xt_CT: No such helper "pptp" executing program [ 31.483671] xt_CT: No such helper "pptp" executing program [ 31.600733] xt_CT: No such helper "pptp" executing program [ 31.731656] xt_CT: No such helper "pptp" executing program [ 31.850699] xt_CT: No such helper "pptp" executing program [ 31.978195] xt_CT: No such helper "pptp" executing program [ 32.105654] xt_CT: No such helper "pptp" executing program [ 32.228599] xt_CT: No such helper "pptp" executing program [ 32.348765] xt_CT: No such helper "pptp" executing program [ 32.467857] xt_CT: No such helper "pptp" executing program [ 32.586710] xt_CT: No such helper "pptp" executing program [ 32.704201] xt_CT: No such helper "pptp" executing program [ 32.819663] xt_CT: No such helper "pptp" executing program [ 32.938637] xt_CT: No such helper "pptp" executing program [ 33.062620] xt_CT: No such helper "pptp" executing program [ 33.181665] xt_CT: No such helper "pptp" executing program [ 33.291826] xt_CT: No such helper "pptp" executing program [ 33.410707] xt_CT: No such helper "pptp" executing program [ 33.535057] xt_CT: No such helper "pptp" executing program [ 33.641673] xt_CT: No such helper "pptp" executing program [ 33.755735] xt_CT: No such helper "pptp" executing program [ 33.871649] xt_CT: No such helper "pptp" executing program [ 33.987604] xt_CT: No such helper "pptp" executing program [ 34.106624] xt_CT: No such helper "pptp" executing program [ 34.229692] xt_CT: No such helper "pptp" executing program [ 34.348820] xt_CT: No such helper "pptp" executing program [ 34.468676] xt_CT: No such helper "pptp" executing program [ 34.579633] xt_CT: No such helper "pptp" executing program [ 34.699212] xt_CT: No such helper "pptp" executing program [ 34.817691] xt_CT: No such helper "pptp" executing program [ 34.929703] xt_CT: No such helper "pptp" executing program [ 35.059623] xt_CT: No such helper "pptp" executing program [ 35.177660] xt_CT: No such helper "pptp" executing program [ 35.291881] xt_CT: No such helper "pptp" executing program [ 35.406680] xt_CT: No such helper "pptp" executing program [ 35.521690] xt_CT: No such helper "pptp" executing program [ 35.641184] xt_CT: No such helper "pptp" executing program [ 35.761727] xt_CT: No such helper "pptp" executing program [ 35.881685] xt_CT: No such helper "pptp" executing program [ 36.001671] xt_CT: No such helper "pptp" executing program [ 36.114652] xt_CT: No such helper "pptp" executing program [ 36.233687] xt_CT: No such helper "pptp" executing program [ 36.349660] xt_CT: No such helper "pptp" executing program [ 36.464659] xt_CT: No such helper "pptp" executing program [ 36.581719] xt_CT: No such helper "pptp" executing program [ 36.698849] xt_CT: No such helper "pptp" executing program