[....] Starting enhanced syslogd: rsyslogd[ 15.136759] audit: type=1400 audit(1519134259.066:5): avc: denied { syslog } for pid=3968 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.120609] audit: type=1400 audit(1519134262.050:6): avc: denied { map } for pid=4107 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.203' (ECDSA) to the list of known hosts. net.ipv6.conf.syz0.accept_dad = 0 net.ipv6.conf.syz0.router_solicitations = 0 [ 24.386896] audit: type=1400 audit(1519134268.316:7): avc: denied { map } for pid=4121 comm="syzkaller794811" path="/root/syzkaller794811386" 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 [ 24.772599] 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.112245] [ 25.113893] ===================================== [ 25.118704] WARNING: bad unlock balance detected! [ 25.123515] 4.16.0-rc2+ #234 Not tainted [ 25.127541] ------------------------------------- [ 25.132352] syzkaller794811/4121 is trying to release lock (rcu_read_lock_bh) at: [ 25.139982] [] hashlimit_mt_common.isra.10+0x1beb/0x2610 [ 25.146965] but there are no more locks to release! [ 25.151964] [ 25.151964] other info that might help us debug this: [ 25.158608] 5 locks held by syzkaller794811/4121: [ 25.163417] #0: (&xt[i].mutex){+.+.}, at: [<00000000589806b1>] xt_find_table_lock+0x3e/0x3e0 [ 25.172241] #1: (&mm->mmap_sem){++++}, at: [<0000000070da523e>] __do_page_fault+0x32d/0xc90 [ 25.180884] #2: ((&idev->mc_ifc_timer)){+.-.}, at: [<000000007d9fafd5>] call_timer_fn+0x1c6/0x820 [ 25.190058] #3: (rcu_read_lock){....}, at: [<00000000a0e12ca3>] mld_sendpack+0x180/0xe70 [ 25.198466] #4: (rcu_read_lock){....}, at: [<00000000a51ce95f>] nf_hook.constprop.37+0x0/0x830 [ 25.207376] [ 25.207376] stack backtrace: [ 25.212481] CPU: 0 PID: 4121 Comm: syzkaller794811 Not tainted 4.16.0-rc2+ #234 [ 25.219909] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.229233] Call Trace: [ 25.231787] [ 25.233914] dump_stack+0x194/0x257 [ 25.237521] ? arch_local_irq_restore+0x53/0x53 [ 25.242166] ? hashlimit_mt_common.isra.10+0x1beb/0x2610 [ 25.247588] print_unlock_imbalance_bug+0x12f/0x140 [ 25.252576] lock_release+0x6fe/0xa40 [ 25.256353] ? hashlimit_mt_common.isra.10+0x1beb/0x2610 [ 25.261778] ? lock_downgrade+0x980/0x980 [ 25.265910] ? lock_release+0xa40/0xa40 [ 25.269878] ? __raw_spin_lock_init+0x1c/0x100 [ 25.274436] ? do_raw_spin_trylock+0x190/0x190 [ 25.278997] hashlimit_mt_common.isra.10+0x1c08/0x2610 [ 25.284268] ? lock_downgrade+0x980/0x980 [ 25.288391] ? dsthash_find+0x5b0/0x5b0 [ 25.292338] ? __lock_acquire+0x664/0x3e00 [ 25.296544] ? is_bpf_text_address+0x7b/0x120 [ 25.301012] ? lock_downgrade+0x95a/0x980 [ 25.305138] ? rcutorture_record_progress+0x10/0x10 [ 25.310127] ? __kernel_text_address+0xd/0x40 [ 25.314593] ? unwind_get_return_address+0x61/0xa0 [ 25.319505] hashlimit_mt+0x78/0x90 [ 25.323104] ? hashlimit_mt+0x78/0x90 [ 25.326874] ip6t_do_table+0x98d/0x1a30 [ 25.330822] ? kmem_cache_alloc_trace+0x136/0x740 [ 25.335636] ? mld_sendpack+0x617/0xe70 [ 25.339586] ? ip6t_error+0x60/0x60 [ 25.343183] ? ipv6_setsockopt+0x10b/0x130 [ 25.347489] ? check_noncircular+0x20/0x20 [ 25.351695] ? lock_acquire+0x1d5/0x580 [ 25.355639] ? lock_acquire+0x1d5/0x580 [ 25.359586] ? igmp6_mcf_seq_next+0x660/0x660 [ 25.364055] ? lock_release+0xa40/0xa40 [ 25.368004] ip6table_raw_hook+0x65/0x80 [ 25.372044] nf_hook_slow+0xba/0x1a0 [ 25.375729] nf_hook.constprop.37+0x3f6/0x830 [ 25.380196] ? igmp6_mcf_seq_next+0x660/0x660 [ 25.384665] ? trace_hardirqs_on+0xd/0x10 [ 25.388786] ? __local_bh_enable_ip+0x121/0x230 [ 25.393430] ? _raw_spin_unlock_bh+0x30/0x40 [ 25.397814] ? rt6_uncached_list_add+0x1b7/0x240 [ 25.402541] ? rt6_fill_node+0x18b0/0x18b0 [ 25.406753] ? icmp6_dst_alloc+0x475/0x660 [ 25.410978] ? ip6_mc_leave_src+0x1d0/0x1d0 [ 25.415289] ? icmpv6_flow_init+0x1f6/0x270 [ 25.419586] mld_sendpack+0x6c2/0xe70 [ 25.423362] ? nf_hook.constprop.37+0x830/0x830 [ 25.428007] ? mark_held_locks+0xaf/0x100 [ 25.432135] ? trace_hardirqs_on+0xd/0x10 [ 25.436259] ? __local_bh_enable_ip+0x121/0x230 [ 25.440901] mld_ifc_timer_expire+0x3d9/0x770 [ 25.445377] call_timer_fn+0x228/0x820 [ 25.449240] ? mld_dad_timer_expire+0x100/0x100 [ 25.453882] ? process_timeout+0x40/0x40 [ 25.457914] ? __run_timers+0x7e3/0xb70 [ 25.461862] ? lock_downgrade+0x980/0x980 [ 25.465984] ? debug_object_deactivate+0x364/0x560 [ 25.470887] ? lock_release+0xa40/0xa40 [ 25.474841] ? mark_held_locks+0xaf/0x100 [ 25.478961] ? trace_hardirqs_on_caller+0x19e/0x5c0 [ 25.483976] ? mld_dad_timer_expire+0x100/0x100 [ 25.488630] ? mld_dad_timer_expire+0x100/0x100 [ 25.493280] __run_timers+0x7ee/0xb70 [ 25.497073] ? trigger_dyntick_cpu.isra.29+0x150/0x150 [ 25.502322] ? timerqueue_add+0x1e9/0x280 [ 25.506442] ? check_noncircular+0x20/0x20 [ 25.510655] ? enqueue_hrtimer+0x177/0x4b0 [ 25.514859] ? lock_release+0xa40/0xa40 [ 25.518816] ? retrigger_next_event+0x1e0/0x1e0 [ 25.523462] ? print_irqtrace_events+0x270/0x270 [ 25.528191] ? check_noncircular+0x20/0x20 [ 25.532399] ? clockevents_program_event+0x163/0x2e0 [ 25.537492] ? lock_downgrade+0x980/0x980 [ 25.541619] ? __lock_is_held+0xb6/0x140 [ 25.545655] run_timer_softirq+0x4c/0x70 [ 25.549687] __do_softirq+0x2d7/0xb85 [ 25.553468] ? ktime_get+0x26f/0x3a0 [ 25.557174] ? __irqentry_text_end+0x1f8ad4/0x1f8ad4 [ 25.562260] ? check_noncircular+0x20/0x20 [ 25.566473] ? native_apic_msr_write+0x5c/0x80 [ 25.571042] ? lapic_next_event+0x54/0x80 [ 25.575170] ? clockevents_program_event+0x108/0x2e0 [ 25.580249] ? tick_program_event+0x83/0x100 [ 25.584643] ? __lock_is_held+0xb6/0x140 [ 25.588682] irq_exit+0x1cc/0x200 [ 25.592109] smp_apic_timer_interrupt+0x16b/0x700 [ 25.596927] ? smp_call_function_single_interrupt+0x640/0x640 [ 25.602797] ? _raw_spin_lock+0x32/0x40 [ 25.606746] ? _raw_spin_unlock+0x22/0x30 [ 25.610876] ? handle_edge_irq+0x2b4/0x7c0 [ 25.615081] ? task_prio+0x50/0x50 [ 25.618594] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.623421] apic_timer_interrupt+0x8e/0xa0 [ 25.627714] [ 25.629924] RIP: 0010:lock_is_held_type+0x18b/0x210 [ 25.634913] RSP: 0018:ffff8801bb246fa0 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff12 [ 25.642593] RAX: dffffc0000000000 RBX: 0000000000000282 RCX: ffffffff819dd382 [ 25.649834] RDX: 1ffffffff0d592d5 RSI: ffffffff86b42700 RDI: 0000000000000282 [ 25.657080] RBP: ffff8801bb246fc0 R08: 000000000002fc50 R09: 0000000000000000 [ 25.664337] R10: ffffffffffffffe8 R11: 0000000000000000 R12: ffff8801bb110480 [ 25.671579] R13: 0000000000000000 R14: 0000000000001205 R15: 0000000000000169 [ 25.678834] ? clear_huge_page+0x92/0x730 [ 25.682956] ? trace_event_raw_event_sched_switch+0x810/0x810 [ 25.688821] ___might_sleep+0x35e/0x470 [ 25.692766] ? trace_event_raw_event_sched_switch+0x810/0x810 [ 25.698637] ? __might_sleep+0x95/0x190 [ 25.702587] clear_huge_page+0xa5/0x730 [ 25.706532] ? __raw_spin_lock_init+0x2d/0x100 [ 25.711084] do_huge_pmd_anonymous_page+0x599/0x1b00 [ 25.716164] ? __thp_get_unmapped_area+0x130/0x130 [ 25.721064] ? __lock_acquire+0x664/0x3e00 [ 25.725268] ? __lock_acquire+0x664/0x3e00 [ 25.729472] ? kernel_text_address+0x102/0x140 [ 25.734029] ? __is_insn_slot_addr+0x1fc/0x330 [ 25.738586] ? lock_downgrade+0x980/0x980 [ 25.742708] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 25.747872] ? modules_open+0xa0/0xa0 [ 25.751645] ? trace_raw_output_xdp_redirect_map_err+0x440/0x440 [ 25.757758] ? is_bpf_text_address+0x7b/0x120 [ 25.762237] ? lock_downgrade+0x980/0x980 [ 25.766359] ? lock_release+0xa40/0xa40 [ 25.770306] ? __free_insn_slot+0x5c0/0x5c0 [ 25.774598] ? rcutorture_record_progress+0x10/0x10 [ 25.779587] ? is_bpf_text_address+0xa4/0x120 [ 25.784052] ? kernel_text_address+0x102/0x140 [ 25.788606] __handle_mm_fault+0x1a0c/0x3ce0 [ 25.792999] ? __pmd_alloc+0x4e0/0x4e0 [ 25.796865] ? check_noncircular+0x20/0x20 [ 25.801078] ? print_lockdep_cache.isra.32+0x109/0x109 [ 25.806328] ? find_held_lock+0x35/0x1d0 [ 25.810362] ? handle_mm_fault+0x270/0x970 [ 25.814568] ? lock_downgrade+0x980/0x980 [ 25.818692] handle_mm_fault+0x35c/0x970 [ 25.822723] ? __handle_mm_fault+0x3ce0/0x3ce0 [ 25.827276] ? vmacache_find+0x5f/0x280 [ 25.831221] ? find_vma+0x30/0x150 [ 25.834731] __do_page_fault+0x5c9/0xc90 [ 25.838765] ? mm_fault_error+0x2c0/0x2c0 [ 25.842883] ? kfree+0xd9/0x260 [ 25.846145] ? xt_free_table_info+0x110/0x170 [ 25.850621] ? __do_replace+0x810/0xa70 [ 25.854565] ? check_noncircular+0x20/0x20 [ 25.858774] ? rawv6_setsockopt+0x4a/0xf0 [ 25.862894] ? sock_common_setsockopt+0x95/0xd0 [ 25.867536] do_page_fault+0xee/0x730 [ 25.871312] ? __do_page_fault+0xc90/0xc90 [ 25.875520] ? find_held_lock+0x35/0x1d0 [ 25.879556] ? __might_fault+0x110/0x1d0 [ 25.883590] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.888495] page_fault+0x62/0x90 [ 25.891920] RIP: 0010:copy_user_generic_unrolled+0x89/0xc0 [ 25.897516] RSP: 0018:ffff8801bb2479b8 EFLAGS: 00010206 [ 25.902849] RAX: fffff5200027b806 RBX: 0000000000000030 RCX: 0000000000000006 [ 25.910175] RDX: 0000000000000000 RSI: ffffc900013dc000 RDI: 0000000020849fd0 [ 25.917417] RBP: ffff8801bb2479e8 R08: 0000000000000000 R09: fffff5200027b806 [ 25.924656] R10: 0000000000000006 R11: fffff5200027b805 R12: 0000000020849fd0 [ 25.931896] R13: ffffc900013dc000 R14: 00007ffffffff000 R15: 000000002084a000 [ 25.939151] ? _copy_to_user+0x9b/0xc0 [ 25.943014] __do_replace+0x840/0xa70 [ 25.946789] ? compat_table_info+0x4a0/0x4a0 [ 25.951168] ? kasan_check_write+0x14/0x20 [ 25.955374] ? _copy_from_user+0x99/0x110 [ 25.959504] do_ip6t_set_ctl+0x40f/0x5f0 [ 25.963539] ? translate_compat_table+0x1c50/0x1c50 [ 25.968526] ? mutex_unlock+0xd/0x10 [ 25.972214] ? nf_sockopt_find.constprop.0+0x1a7/0x220 [ 25.977474] nf_setsockopt+0x67/0xc0 [ 25.981158] ipv6_setsockopt+0x10b/0x130 [ 25.985189] rawv6_setsockopt+0x4a/0xf0 [ 25.989135] sock_common_setsockopt+0x95/0xd0 [ 25.993612] SyS_setsockopt+0x189/0x360 [ 25.997560] ? SyS_recv+0x40/0x40 [ 26.000994] ? mm_fault_error+0x2c0/0x2c0 [ 26.005117] ? move_addr_to_kernel+0x60/0x60 [ 26.009500] ? do_syscall_64+0xb6/0x940 [ 26.013446] ? SyS_recv+0x40/0x40 [ 26.016871] do_syscall_64+0x280/0x940 [ 26.020731] ? __do_page_fault+0xc90/0xc90 [ 26.024940] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.029667] ? syscall_return_slowpath+0x550/0x550 [ 26.034568] ? syscall_return_slowpath+0x2ac/0x550 [ 26.039468] ? prepare_exit_to_usermode+0x350/0x350 [ 26.044459] ? retint_user+0x18/0x18 [ 26.048145] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.052973] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 26.058134] RIP: 0033:0x4461f9 [ 26.061313] RSP: 002b:00007fff89126878 EFLAGS: 00000207 O