=============================== [ INFO: suspicious RCU usage. ] 4.9.107-gdb2c520 #49 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 udevd/30400: #0: (&mm->mmap_sem){++++++}, at: [] dup_mmap kernel/fork.c:568 [inline] #0: (&mm->mmap_sem){++++++}, at: [] dup_mm kernel/fork.c:1150 [inline] #0: (&mm->mmap_sem){++++++}, at: [] copy_mm kernel/fork.c:1204 [inline] #0: (&mm->mmap_sem){++++++}, at: [] copy_process.part.51+0x39d3/0x6330 kernel/fork.c:1670 #1: (&mm->mmap_sem/1){+.+.+.}, at: [] dup_mmap kernel/fork.c:577 [inline] #1: (&mm->mmap_sem/1){+.+.+.}, at: [] dup_mm kernel/fork.c:1150 [inline] #1: (&mm->mmap_sem/1){+.+.+.}, at: [] copy_mm kernel/fork.c:1204 [inline] #1: (&mm->mmap_sem/1){+.+.+.}, at: [] copy_process.part.51+0x39f9/0x6330 kernel/fork.c:1670 #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: 30400 Comm: udevd Not tainted 4.9.107-gdb2c520 #49 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801db307d60 ffffffff81eb3da9 ffff8801d4674800 0000000000000000 0000000000000002 ffffffff83c6e0e0 ffff8801cc2e5558 ffff8801db307d90 ffffffff81425fc0 ffff8801cc2e5400 ffff8801c96c6e48 ffff8801c96c6648 Call Trace: [ 772.440212] [] __dump_stack lib/dump_stack.c:15 [inline] [ 772.440212] [] 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+0x20b/0x937 kernel/softirq.c:284 [] invoke_softirq kernel/softirq.c:364 [inline] [] irq_exit+0x147/0x190 kernel/softirq.c:405 [] exiting_irq arch/x86/include/asm/apic.h:659 [inline] [] smp_apic_timer_interrupt+0x81/0xa0 arch/x86/kernel/apic/apic.c:960 [] apic_timer_interrupt+0xa0/0xb0 arch/x86/entry/entry_64.S:648 [ 772.553472] [] ? arch_local_irq_restore arch/x86/include/asm/paravirt.h:768 [inline] [ 772.553472] [] ? __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:162 [inline] [ 772.553472] [] ? _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:609 [inline] [] dup_mm kernel/fork.c:1150 [inline] [] copy_mm kernel/fork.c:1204 [inline] [] copy_process.part.51+0x3ec7/0x6330 kernel/fork.c:1670 [] copy_process kernel/fork.c:1497 [inline] [] _do_fork+0x1b0/0xdc0 kernel/fork.c:1955 [] SYSC_clone kernel/fork.c:2065 [inline] [] SyS_clone+0x37/0x50 kernel/fork.c:2059 [] 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 ffff880194a70000, but annotated ------------[ cut here ]------------ WARNING: CPU: 1 PID: 30400 at lib/debugobjects.c:303 debug_object_is_on_stack lib/debugobjects.c:303 [inline] WARNING: CPU: 1 PID: 30400 at lib/debugobjects.c:303 __debug_object_init.cold.10+0x6b/0x2b0 lib/debugobjects.c:329