------------[ cut here ]------------ WARNING: CPU: 1 PID: 30469 at kernel/sched/core.c:7943 __might_sleep+0x149/0x1a0 kernel/sched/core.c:7938 do not call blocking ops when !TASK_RUNNING; state=1 set at [] do_wait+0x333/0x950 kernel/exit.c:1587 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 30469 Comm: syz-executor5 Not tainted 4.9.124-g09eb2ba #35 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801db307b28 ffffffff81eb95e9 ffffffff83c48ac0 00000000ffffffff 0000000000000000 0000000000000001 0000000000001f07 ffff8801db307be8 ffffffff81423eb5 0000000041b58ab3 ffffffff843bb8e8 ffffffff81423cf6 Call Trace: [ 2268.136652] [] __dump_stack lib/dump_stack.c:15 [inline] [ 2268.136652] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] panic+0x1bf/0x3bc kernel/panic.c:179 [] __warn.cold.9+0xc1/0x17f kernel/panic.c:542 [] warn_slowpath_fmt+0xc2/0x100 kernel/panic.c:565 [] __might_sleep+0x149/0x1a0 kernel/sched/core.c:7938 [] lock_sock_nested+0x34/0x120 net/core/sock.c:2502 [] lock_sock include/net/sock.h:1404 [inline] [] inet_shutdown+0x69/0x360 net/ipv4/af_inet.c:823 [] pppol2tp_session_close+0xa0/0xe0 net/l2tp/l2tp_ppp.c:441 [] l2tp_tunnel_closeall+0x231/0x350 net/l2tp/l2tp_core.c:1368 [] l2tp_tunnel_destruct+0x2f2/0x590 net/l2tp/l2tp_core.c:1324 [] __sk_destruct+0x55/0x590 net/core/sock.c:1428 [] __rcu_reclaim kernel/rcu/rcu.h:118 [inline] [] rcu_do_batch kernel/rcu/tree.c:2789 [inline] [] invoke_rcu_callbacks kernel/rcu/tree.c:3053 [inline] [] __rcu_process_callbacks kernel/rcu/tree.c:3020 [inline] [] rcu_process_callbacks+0x8ae/0x12b0 kernel/rcu/tree.c:3037 [] __do_softirq+0x210/0x940 kernel/softirq.c:288 [] invoke_softirq kernel/softirq.c:368 [inline] [] irq_exit+0x114/0x150 kernel/softirq.c:409 [] exiting_irq arch/x86/include/asm/apic.h:669 [inline] [] smp_apic_timer_interrupt+0x81/0xa0 arch/x86/kernel/apic/apic.c:962 [] apic_timer_interrupt+0xa0/0xb0 arch/x86/entry/entry_64.S:648 [ 2268.304293] [] ? arch_local_irq_restore arch/x86/include/asm/paravirt.h:768 [inline] [ 2268.304293] [] ? __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:162 [inline] [ 2268.304293] [] ? _raw_spin_unlock_irqrestore+0x5f/0x70 kernel/locking/spinlock.c:191 [] spin_unlock_irqrestore include/linux/spinlock.h:362 [inline] [] avc_reclaim_node security/selinux/avc.c:543 [inline] [] avc_alloc_node+0x289/0x3d0 security/selinux/avc.c:561 [] avc_insert security/selinux/avc.c:672 [inline] [] avc_compute_av+0x178/0x610 security/selinux/avc.c:978 [] avc_has_perm_noaudit security/selinux/avc.c:1114 [inline] [] avc_has_perm+0x364/0x4f0 security/selinux/avc.c:1148 [] task_has_perm+0x1fc/0x330 security/selinux/hooks.c:1615 [] selinux_task_wait+0x23/0x30 security/selinux/hooks.c:3954 [] security_task_wait+0x73/0xb0 security/security.c:1032 [] wait_consider_task+0x2a1/0x3620 kernel/exit.c:1377 [] do_wait_thread kernel/exit.c:1490 [inline] [] do_wait+0x423/0x950 kernel/exit.c:1561 [] SYSC_wait4 kernel/exit.c:1693 [inline] [] SyS_wait4+0x12b/0x1f0 kernel/exit.c:1658 [] C_SYSC_wait4+0x237/0x280 kernel/compat.c:543 [] compat_SyS_wait4+0x2c/0x40 kernel/compat.c:536 [] sys32_waitpid+0x25/0x30 arch/x86/ia32/sys_ia32.c:172 [] do_syscall_32_irqs_on arch/x86/entry/common.c:325 [inline] [] do_fast_syscall_32+0x2f7/0x870 arch/x86/entry/common.c:387 [] entry_SYSENTER_compat+0x90/0xa2 arch/x86/entry/entry_64_compat.S:137 Shutting down cpus with NMI Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..