ip (4244) used greatest stack depth: 16944 bytes left IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready ===================================== WARNING: bad unlock balance detected! 4.16.0-rc2+ #235 Not tainted ------------------------------------- syzkaller420029/4178 is trying to release lock (rcu_read_lock_bh) at: [] rcu_read_unlock_bh include/linux/rcupdate.h:722 [inline] [] hashlimit_mt_common.isra.10+0x1beb/0x2610 net/netfilter/xt_hashlimit.c:777 but there are no more locks to release! other info that might help us debug this: 4 locks held by syzkaller420029/4178: #0: (&mm->mmap_sem){++++}, at: [<0000000081520212>] __do_page_fault+0x32d/0xc90 arch/x86/mm/fault.c:1355 #1: ((&idev->mc_ifc_timer)){+.-.}, at: [<00000000df4a8ee8>] lockdep_copy_map include/linux/lockdep.h:178 [inline] #1: ((&idev->mc_ifc_timer)){+.-.}, at: [<00000000df4a8ee8>] call_timer_fn+0x1c6/0x820 kernel/time/timer.c:1316 #2: (rcu_read_lock){....}, at: [<00000000c630f099>] read_pnet include/net/net_namespace.h:284 [inline] #2: (rcu_read_lock){....}, at: [<00000000c630f099>] dev_net include/linux/netdevice.h:2056 [inline] #2: (rcu_read_lock){....}, at: [<00000000c630f099>] mld_sendpack+0x180/0xe70 net/ipv6/mcast.c:1625 #3: (rcu_read_lock){....}, at: [<0000000074167d70>] nf_hook.constprop.37+0x0/0x830 net/ipv6/mcast.c:2795 stack backtrace: CPU: 1 PID: 4178 Comm: syzkaller420029 Not tainted 4.16.0-rc2+ #235 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 print_unlock_imbalance_bug+0x12f/0x140 kernel/locking/lockdep.c:3484 __lock_release kernel/locking/lockdep.c:3691 [inline] lock_release+0x6fe/0xa40 kernel/locking/lockdep.c:3939 rcu_lock_release include/linux/rcupdate.h:249 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:724 [inline] hashlimit_mt_common.isra.10+0x1c08/0x2610 net/netfilter/xt_hashlimit.c:777 hashlimit_mt+0x78/0x90 net/netfilter/xt_hashlimit.c:846 ip6t_do_table+0x98d/0x1a30 net/ipv6/netfilter/ip6_tables.c:319 ip6table_raw_hook+0x65/0x80 net/ipv6/netfilter/ip6table_raw.c:42 nf_hook_entry_hookfn include/linux/netfilter.h:120 [inline] nf_hook_slow+0xba/0x1a0 net/netfilter/core.c:483 nf_hook.constprop.37+0x3f6/0x830 include/linux/netfilter.h:243 NF_HOOK include/linux/netfilter.h:286 [inline] mld_sendpack+0x6c2/0xe70 net/ipv6/mcast.c:1658 mld_send_cr net/ipv6/mcast.c:1954 [inline] mld_ifc_timer_expire+0x3d9/0x770 net/ipv6/mcast.c:2451 call_timer_fn+0x228/0x820 kernel/time/timer.c:1326 expire_timers kernel/time/timer.c:1363 [inline] __run_timers+0x7ee/0xb70 kernel/time/timer.c:1666 run_timer_softirq+0x4c/0x70 kernel/time/timer.c:1692 __do_softirq+0x2d7/0xb85 kernel/softirq.c:285 invoke_softirq kernel/softirq.c:365 [inline] irq_exit+0x1cc/0x200 kernel/softirq.c:405 exiting_irq arch/x86/include/asm/apic.h:541 [inline] smp_apic_timer_interrupt+0x16b/0x700 arch/x86/kernel/apic/apic.c:1052 apic_timer_interrupt+0x8e/0xa0 arch/x86/entry/entry_64.S:796 RIP: 0010:memset_erms+0x9/0x10 arch/x86/lib/memset_64.S:65 RSP: 0000:ffff8801b193e788 EFLAGS: 00010206 ORIG_RAX: ffffffffffffff12 RAX: 1ffff10037480000 RBX: ffffed0037480000 RCX: 0000000000008d80 RDX: 0000000000040000 RSI: 0000000000000000 RDI: ffffed0037477280 RBP: ffff8801b193e7a0 R08: 0000000000100000 R09: ffffed0037440000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000200000 R13: 0000000000000000 R14: dffffc0000000000 R15: ffffea0006e88000 kasan_alloc_pages+0x38/0x40 mm/kasan/kasan.c:311 post_alloc_hook mm/page_alloc.c:1800 [inline] prep_new_page mm/page_alloc.c:1809 [inline] get_page_from_freelist+0x2cf2/0x52d0 mm/page_alloc.c:3233 __alloc_pages_nodemask+0x4a5/0xdd0 mm/page_alloc.c:4239 __alloc_pages include/linux/gfp.h:456 [inline] __alloc_pages_node include/linux/gfp.h:469 [inline] alloc_pages_vma+0x30b/0x4b0 mm/mempolicy.c:2011 do_huge_pmd_anonymous_page+0x376/0x1b00 mm/huge_memory.c:722 create_huge_pmd mm/memory.c:3870 [inline] __handle_mm_fault+0x1a0c/0x3ce0 mm/memory.c:4074 handle_mm_fault+0x35c/0x970 mm/memory.c:4140 __do_page_fault+0x5c9/0xc90 arch/x86/mm/fault.c:1426 do_page_fault+0xee/0x730 arch/x86/mm/fault.c:1501 page_fault+0x82/0x90 arch/x86/entry/entry_64.S:1122 RIP: 0033:0x401f48 RSP: 002b:00007ffe2578cef0 EFLAGS: 00010217 RAX: 0000000000000000 RBX: ffffffffffffffff RCX: 0000000000446119 RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000004 RBP: 00000000004a7c30 R08: 00000000000004a8 R09: 0000000000000000 R10: 0000000020038b58 R11: 0000000000000207 R12: 0000000020038c80 R13: 00000000004035e0 R14: 0000000000000000 R15: 0000000000000000