=============================== [ INFO: suspicious RCU usage. ] 4.9.122-g54068d6 #26 Not tainted ------------------------------- kernel/rcu/tree_plugin.h:678 Illegal synchronize_rcu() in RCU read-side critical section! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 0 4 locks held by syz-executor6/3875: #0: (&mm->mmap_sem){++++++}, at: [] dup_mmap kernel/fork.c:574 [inline] #0: (&mm->mmap_sem){++++++}, at: [] dup_mm kernel/fork.c:1156 [inline] #0: (&mm->mmap_sem){++++++}, at: [] copy_mm kernel/fork.c:1210 [inline] #0: (&mm->mmap_sem){++++++}, at: [] copy_process.part.51+0x39db/0x6330 kernel/fork.c:1678 #1: (&mm->mmap_sem/1){+.+.+.}, at: [] dup_mmap kernel/fork.c:583 [inline] #1: (&mm->mmap_sem/1){+.+.+.}, at: [] dup_mm kernel/fork.c:1156 [inline] #1: (&mm->mmap_sem/1){+.+.+.}, at: [] copy_mm kernel/fork.c:1210 [inline] #1: (&mm->mmap_sem/1){+.+.+.}, at: [] copy_process.part.51+0x3a01/0x6330 kernel/fork.c:1678 #2: (rcu_read_lock){......}, at: [] INIT_LIST_HEAD include/linux/list.h:28 [inline] #2: (rcu_read_lock){......}, at: [] avc_compute_av+0xb0/0x610 security/selinux/avc.c:975 #3: (rcu_callback){......}, at: [] __rcu_reclaim kernel/rcu/rcu.h:108 [inline] #3: (rcu_callback){......}, at: [] rcu_do_batch kernel/rcu/tree.c:2789 [inline] #3: (rcu_callback){......}, at: [] invoke_rcu_callbacks kernel/rcu/tree.c:3053 [inline] #3: (rcu_callback){......}, at: [] __rcu_process_callbacks kernel/rcu/tree.c:3020 [inline] #3: (rcu_callback){......}, at: [] rcu_process_callbacks+0x98e/0x12b0 kernel/rcu/tree.c:3037 stack backtrace: CPU: 1 PID: 3875 Comm: syz-executor6 Not tainted 4.9.122-g54068d6 #26 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801db307d60 ffffffff81eb8829 ffff8801b5e58000 0000000000000000 0000000000000002 ffffffff83c6e380 ffff8801d5086dd8 ffff8801db307d90 ffffffff814285d1 ffff8801d5086c80 ffff88019f925d48 ffff88019f925548 Call Trace: [ 1014.959529] [] __dump_stack lib/dump_stack.c:15 [inline] [ 1014.959529] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] lockdep_rcu_suspicious.cold.48+0x110/0x141 kernel/locking/lockdep.c:4455 [] synchronize_rcu+0x68/0x90 kernel/rcu/tree_plugin.h:675 [] __l2tp_session_unhash+0x38a/0x520 net/l2tp/l2tp_core.c:1796 [] l2tp_tunnel_closeall+0x1f7/0x350 net/l2tp/l2tp_core.c:1364 [] 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 [ 1015.074244] [] ? arch_local_irq_restore arch/x86/include/asm/paravirt.h:768 [inline] [ 1015.074244] [] ? __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:162 [inline] [ 1015.074244] [] ? _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+0x319/0x450 security/selinux/avc.c:1114 [] cred_has_capability+0x13a/0x2e0 security/selinux/hooks.c:1666 [] selinux_vm_enough_memory+0x4e/0x60 security/selinux/hooks.c:2255 [] security_vm_enough_memory_mm+0x77/0xb0 security/security.c:232 [] dup_mmap kernel/fork.c:615 [inline] [] dup_mm kernel/fork.c:1156 [inline] [] copy_mm kernel/fork.c:1210 [inline] [] copy_process.part.51+0x3ecf/0x6330 kernel/fork.c:1678 [] copy_process kernel/fork.c:1503 [inline] [] _do_fork+0x1b0/0xdd0 kernel/fork.c:1963 [] SYSC_clone kernel/fork.c:2075 [inline] [] SyS_clone+0x37/0x50 kernel/fork.c:2069 [] do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb ODEBUG: object ffff8801db307ce8 is NOT on stack ffff8801a03c8000, but annotated ------------[ cut here ]------------ WARNING: CPU: 1 PID: 3875 at lib/debugobjects.c:303 debug_object_is_on_stack lib/debugobjects.c:303 [inline] WARNING: CPU: 1 PID: 3875 at lib/debugobjects.c:303 __debug_object_init.cold.10+0x6b/0x2b0 lib/debugobjects.c:329