===================================== WARNING: bad unlock balance detected! syzkaller #0 Not tainted ------------------------------------- dhcpcd-run-hook/5684 is trying to release lock (rcu_read_lock) at: [] rcu_read_unlock+0x2d/0xb0 include/linux/rcupdate.h:867 but there are no more locks to release! other info that might help us debug this: 1 lock held by dhcpcd-run-hook/5684: #0: ffff88803efc9c08 (vm_lock){++++}-{0:0}, at: lock_vma_under_rcu+0x11d/0x590 mm/mmap_lock.c:310 stack backtrace: CPU: 0 UID: 0 PID: 5684 Comm: dhcpcd-run-hook Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 print_unlock_imbalance_bug.part.0+0xfb/0x106 kernel/locking/lockdep.c:5298 print_unlock_imbalance_bug kernel/locking/lockdep.c:5278 [inline] __lock_release kernel/locking/lockdep.c:5537 [inline] lock_release kernel/locking/lockdep.c:5889 [inline] lock_release+0x28d/0x310 kernel/locking/lockdep.c:5875 rcu_read_unlock+0x32/0xb0 include/linux/rcupdate.h:867 pte_unmap include/linux/pgtable.h:117 [inline] wp_page_copy mm/memory.c:3960 [inline] do_wp_page+0x13d7/0x4350 mm/memory.c:4320 handle_pte_fault mm/memory.c:6427 [inline] __handle_mm_fault+0x1ab6/0x2a00 mm/memory.c:6549 handle_mm_fault+0x36d/0xa20 mm/memory.c:6718 do_user_addr_fault+0x5a3/0x12f0 arch/x86/mm/fault.c:1334 handle_page_fault arch/x86/mm/fault.c:1474 [inline] exc_page_fault+0x6f/0xd0 arch/x86/mm/fault.c:1527 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:618 RIP: 0033:0x7ff0616e6fd6 Code: 1d 87 e2 13 00 48 39 5f 08 0f 84 fe 00 00 00 42 0f b7 34 72 48 3b 35 31 72 13 00 48 89 f0 0f 83 80 00 00 00 48 89 f9 83 c0 01 <48> 89 5f 08 48 c1 e9 0c 4a 33 8c f2 80 00 00 00 48 89 0f 4a 89 bc RSP: 002b:00007ffc9694b700 EFLAGS: 00010202 RAX: 0000000000000001 RBX: e63746a2db16e121 RCX: 0000558eba013a80 RDX: 0000558eba00c010 RSI: 0000000000000000 RDI: 0000558eba013a80 RBP: 0000558eba013a70 R08: 0000000000000410 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: ffffffffffffff88 R13: 0000000000000002 R14: 000000000000003f R15: 00007ff06181eac0 ------------[ cut here ]------------ rrln < 0 || rrln > RCU_NEST_PMAX WARNING: kernel/rcu/tree_plugin.h:443 at __rcu_read_unlock kernel/rcu/tree_plugin.h:443 [inline], CPU#0: dhcpcd-run-hook/5684 WARNING: kernel/rcu/tree_plugin.h:443 at __rcu_read_unlock+0x235/0x5e0 kernel/rcu/tree_plugin.h:430, CPU#0: dhcpcd-run-hook/5684 Modules linked in: CPU: 0 UID: 0 PID: 5684 Comm: dhcpcd-run-hook Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:__rcu_read_unlock kernel/rcu/tree_plugin.h:443 [inline] RIP: 0010:__rcu_read_unlock+0x235/0x5e0 kernel/rcu/tree_plugin.h:430 Code: 74 11 c7 45 58 01 00 00 00 bf 09 00 00 00 e8 c2 6f da ff e8 1d fc 22 00 9c 58 f6 c4 02 0f 85 dd 02 00 00 fb e9 57 fe ff ff 90 <0f> 0b 90 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc e8 94 72 88 RSP: 0000:ffffc90003887af0 EFLAGS: 00010286 RAX: 00000000ffffffff RBX: ffff88802540ca00 RCX: ffffffff81e7b7ae RDX: 0000000000000000 RSI: ffffffff8def9308 RDI: ffff88802540cec4 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000012 R12: ffff88802df9a098 R13: ffffea0000f2ff00 R14: 0000000000000000 R15: ffffea0000f2ff00 FS: 00007ff061584c80(0000) GS:ffff8880d6379000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558eba013a88 CR3: 000000002dfa5000 CR4: 0000000000352ef0 Call Trace: pte_unmap include/linux/pgtable.h:117 [inline] wp_page_copy mm/memory.c:3960 [inline] do_wp_page+0x13d7/0x4350 mm/memory.c:4320 handle_pte_fault mm/memory.c:6427 [inline] __handle_mm_fault+0x1ab6/0x2a00 mm/memory.c:6549 handle_mm_fault+0x36d/0xa20 mm/memory.c:6718 do_user_addr_fault+0x5a3/0x12f0 arch/x86/mm/fault.c:1334 handle_page_fault arch/x86/mm/fault.c:1474 [inline] exc_page_fault+0x6f/0xd0 arch/x86/mm/fault.c:1527 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:618 RIP: 0033:0x7ff0616e6fd6 Code: 1d 87 e2 13 00 48 39 5f 08 0f 84 fe 00 00 00 42 0f b7 34 72 48 3b 35 31 72 13 00 48 89 f0 0f 83 80 00 00 00 48 89 f9 83 c0 01 <48> 89 5f 08 48 c1 e9 0c 4a 33 8c f2 80 00 00 00 48 89 0f 4a 89 bc RSP: 002b:00007ffc9694b700 EFLAGS: 00010202 RAX: 0000000000000001 RBX: e63746a2db16e121 RCX: 0000558eba013a80 RDX: 0000558eba00c010 RSI: 0000000000000000 RDI: 0000558eba013a80 RBP: 0000558eba013a70 R08: 0000000000000410 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: ffffffffffffff88 R13: 0000000000000002 R14: 000000000000003f R15: 00007ff06181eac0