=============================== [ INFO: suspicious RCU usage. ] 4.9.109-g7143cbf #3 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 modprobe/25419: #0: (&mm->mmap_sem){++++++}, at: [] __do_page_fault+0x36b/0xd50 arch/x86/mm/fault.c:1336 #1: (rcu_read_lock){......}, at: [] filemap_map_pages+0xfa/0xd40 mm/filemap.c:2229 #2: (&(ptlock_ptr(page))->rlock#2){+.+...}, at: [] spin_lock include/linux/spinlock.h:302 [inline] #2: (&(ptlock_ptr(page))->rlock#2){+.+...}, at: [] pte_alloc_one_map mm/memory.c:2906 [inline] #2: (&(ptlock_ptr(page))->rlock#2){+.+...}, at: [] alloc_set_pte+0xb98/0x11d0 mm/memory.c:3004 #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: 25419 Comm: modprobe Not tainted 4.9.109-g7143cbf #3 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801db307d60 ffffffff81eb3e29 ffff8801674cb000 0000000000000000 0000000000000002 ffffffff83c6df00 ffff8801be331cd8 ffff8801db307d90 ffffffff81425fc0 ffff8801be331b80 ffff8801d45fee48 ffff8801d45fe648 Call Trace: [ 1456.670551] [] __dump_stack lib/dump_stack.c:15 [inline] [ 1456.670551] [] 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 [ 1456.784177] [] ? arch_local_irq_restore arch/x86/include/asm/paravirt.h:768 [inline] [ 1456.784177] [] ? lock_is_held+0xff/0x140 kernel/locking/lockdep.c:3796 [] rcu_read_lock_held+0xa4/0xc0 kernel/rcu/update.c:297 [] radix_tree_deref_slot include/linux/radix-tree.h:199 [inline] [] filemap_map_pages+0x73c/0xd40 mm/filemap.c:2240 [] do_fault_around mm/memory.c:3129 [inline] [] do_read_fault mm/memory.c:3169 [inline] [] do_fault mm/memory.c:3309 [inline] [] handle_pte_fault mm/memory.c:3510 [inline] [] __handle_mm_fault mm/memory.c:3597 [inline] [] handle_mm_fault+0x1cb3/0x28e0 mm/memory.c:3634 [] __do_page_fault+0x5af/0xd50 arch/x86/mm/fault.c:1407 [] do_page_fault+0x27/0x30 arch/x86/mm/fault.c:1470 [] page_fault+0x28/0x30 arch/x86/entry/entry_64.S:951 BUG: sleeping function called from invalid context at kernel/locking/mutex.c:620 in_atomic(): 1, irqs_disabled(): 0, pid: 25419, name: modprobe INFO: lockdep is turned off. Preemption disabled at:[ 1456.892369] [] spin_lock include/linux/spinlock.h:302 [inline] Preemption disabled at:[ 1456.892369] [] pte_alloc_one_map mm/memory.c:2906 [inline] Preemption disabled at:[ 1456.892369] [] alloc_set_pte+0xb98/0x11d0 mm/memory.c:3004 CPU: 1 PID: 25419 Comm: modprobe Not tainted 4.9.109-g7143cbf #3 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801db3078b0 ffffffff81eb3e29 ffffffff814cbc28 0000000000000000 0000000000000102 ffff8801674cb000 ffff8801674cb000 ffff8801db3078e8 ffffffff814242c0 ffff8801674cb000 ffffffff83c5b400 000000000000026c Call Trace: [ 1456.943646] [] __dump_stack lib/dump_stack.c:15 [inline] [ 1456.943646] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] ___might_sleep.cold.123+0x1bc/0x1f5 kernel/sched/core.c:7992 [] __might_sleep+0x95/0x1a0 kernel/sched/core.c:7949 [] mutex_lock_nested+0x87/0x870 kernel/locking/mutex.c:620 [] exp_funnel_lock kernel/rcu/tree_exp.h:289 [inline] [] _synchronize_rcu_expedited+0x3a7/0x840 kernel/rcu/tree_exp.h:569 [] synchronize_rcu_expedited kernel/rcu/tree_exp.h:687 [inline] [] synchronize_rcu.part.62+0xd3/0x110 kernel/rcu/tree_plugin.h:682 [] synchronize_rcu+0x27/0x90 kernel/rcu/tree_plugin.h:685 [] __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 [ 1457.208343] [] ? arch_local_irq_restore arch/x86/include/asm/paravirt.h:768 [inline] [ 1457.208343] [] ? lock_is_held+0xff/0x140 kernel/locking/lockdep.c:3796 [] rcu_read_lock_held+0xa4/0xc0 kernel/rcu/update.c:297 [] radix_tree_deref_slot include/linux/radix-tree.h:199 [inline] [] filemap_map_pages+0x73c/0xd40 mm/filemap.c:2240 [] do_fault_around mm/memory.c:3129 [inline] [] do_read_fault mm/memory.c:3169 [inline] [] do_fault mm/memory.c:3309 [inline] [] handle_pte_fault mm/memory.c:3510 [inline] [] __handle_mm_fault mm/memory.c:3597 [inline] [] handle_mm_fault+0x1cb3/0x28e0 mm/memory.c:3634 [] __do_page_fault+0x5af/0xd50 arch/x86/mm/fault.c:1407 [] do_page_fault+0x27/0x30 arch/x86/mm/fault.c:1470 [] page_fault+0x28/0x30 arch/x86/entry/entry_64.S:951 BUG: scheduling while atomic: modprobe/25419/0x00000102 INFO: lockdep is turned off. Modules linked in: Preemption disabled at:[ 1457.310131] [] spin_lock include/linux/spinlock.h:302 [inline] Preemption disabled at:[ 1457.310131] [] pte_alloc_one_map mm/memory.c:2906 [inline] Preemption disabled at:[ 1457.310131] [] alloc_set_pte+0xb98/0x11d0 mm/memory.c:3004