BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 0 PID: 6218 Comm: systemd-udevd Not tainted 5.7.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x188/0x20d lib/dump_stack.c:118 add_chain_cache kernel/locking/lockdep.c:3100 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3181 [inline] validate_chain kernel/locking/lockdep.c:3202 [inline] __lock_acquire.cold+0x27/0x3f8 kernel/locking/lockdep.c:4355 lock_acquire+0x1f2/0x8f0 kernel/locking/lockdep.c:4934 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x8c/0xbf kernel/locking/spinlock.c:159 __debug_check_no_obj_freed lib/debugobjects.c:955 [inline] debug_check_no_obj_freed+0xc8/0x449 lib/debugobjects.c:998 kmem_cache_free+0x185/0x320 mm/slab.c:3693 kfree_skbmem net/core/skbuff.c:622 [inline] kfree_skbmem+0xef/0x1b0 net/core/skbuff.c:616 __kfree_skb net/core/skbuff.c:679 [inline] consume_skb net/core/skbuff.c:837 [inline] consume_skb+0xfb/0x400 net/core/skbuff.c:831 packet_rcv+0xec/0x13e0 net/packet/af_packet.c:2154 dev_queue_xmit_nit+0x7e6/0xaa0 net/core/dev.c:2276 xmit_one net/core/dev.c:3473 [inline] dev_hard_start_xmit+0xbb/0x9b0 net/core/dev.c:3493 __dev_queue_xmit+0x25e1/0x30a0 net/core/dev.c:4052 macvlan_queue_xmit drivers/net/macvlan.c:537 [inline] macvlan_start_xmit+0x19d/0x7dd drivers/net/macvlan.c:562 __netdev_start_xmit include/linux/netdevice.h:4533 [inline] netdev_start_xmit include/linux/netdevice.h:4547 [inline] xmit_one net/core/dev.c:3477 [inline] dev_hard_start_xmit+0x1a4/0x9b0 net/core/dev.c:3493 sch_direct_xmit+0x345/0xc20 net/sched/sch_generic.c:313 qdisc_restart net/sched/sch_generic.c:376 [inline] __qdisc_run+0x4d1/0x17b0 net/sched/sch_generic.c:384 qdisc_run include/net/pkt_sched.h:134 [inline] qdisc_run include/net/pkt_sched.h:126 [inline] __dev_xmit_skb net/core/dev.c:3668 [inline] __dev_queue_xmit+0x2115/0x30a0 net/core/dev.c:4021 neigh_hh_output include/net/neighbour.h:499 [inline] neigh_output include/net/neighbour.h:508 [inline] ip6_finish_output2+0xfb5/0x25b0 net/ipv6/ip6_output.c:117 __ip6_finish_output+0x442/0xab0 net/ipv6/ip6_output.c:143 ip6_finish_output+0x34/0x1f0 net/ipv6/ip6_output.c:153 NF_HOOK_COND include/linux/netfilter.h:296 [inline] ip6_output+0x239/0x810 net/ipv6/ip6_output.c:176 dst_output include/net/dst.h:435 [inline] NF_HOOK include/linux/netfilter.h:307 [inline] ndisc_send_skb+0xf40/0x14b0 net/ipv6/ndisc.c:506 ndisc_send_rs+0x12e/0x6f0 net/ipv6/ndisc.c:700 addrconf_rs_timer+0x30f/0x6e0 net/ipv6/addrconf.c:3889 call_timer_fn+0x1ac/0x780 kernel/time/timer.c:1405 expire_timers kernel/time/timer.c:1450 [inline] __run_timers kernel/time/timer.c:1774 [inline] __run_timers kernel/time/timer.c:1741 [inline] run_timer_softirq+0x623/0x1600 kernel/time/timer.c:1787 __do_softirq+0x26c/0x9f7 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x192/0x1d0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:546 [inline] smp_apic_timer_interrupt+0x19e/0x600 arch/x86/kernel/apic/apic.c:1140 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:759 [inline] RIP: 0010:lock_acquire+0x267/0x8f0 kernel/locking/lockdep.c:4937 Code: 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 0f 85 c6 05 00 00 48 83 3d 65 3f 3b 08 00 0f 84 65 04 00 00 48 8b 3c 24 57 9d <0f> 1f 44 00 00 48 b8 00 00 00 00 00 fc ff df 48 03 44 24 08 48 c7 RSP: 0018:ffffc90007e87408 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff1329854 RBX: ffff88808bfa65c0 RCX: ffffffff81592bdb RDX: dffffc0000000000 RSI: 0000000000000008 RDI: 0000000000000282 RBP: 0000000000000000 R08: 0000000000000001 R09: fffffbfff185cd3d R10: ffffffff8c2e69e7 R11: fffffbfff185cd3c R12: 0000000000000002 R13: ffffffff899bed80 R14: 0000000000000000 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:208 [inline] rcu_read_lock include/linux/rcupdate.h:601 [inline] prepend_path.isra.0+0x2bf/0xf50 fs/d_path.c:91 d_absolute_path+0xd8/0x160 fs/d_path.c:201 tomoyo_get_absolute_path security/tomoyo/realpath.c:100 [inline] tomoyo_realpath_from_path+0x280/0x620 security/tomoyo/realpath.c:274 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_check_open_permission+0x26d/0x370 security/tomoyo/file.c:771 tomoyo_file_open security/tomoyo/tomoyo.c:319 [inline] tomoyo_file_open+0xa3/0xd0 security/tomoyo/tomoyo.c:314 security_file_open+0x6e/0x410 security/security.c:1548 do_dentry_open+0x358/0x1290 fs/open.c:784 do_open fs/namei.c:3229 [inline] path_openat+0x1e59/0x27d0 fs/namei.c:3346 do_filp_open+0x192/0x260 fs/namei.c:3373 do_sys_openat2+0x585/0x7d0 fs/open.c:1148 do_sys_open+0xc3/0x140 fs/open.c:1164 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x7faf1cf6d6f0 Code: 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 3d 19 30 2c 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 fe 9d 01 00 48 89 04 24 RSP: 002b:00007ffd51ee1258 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007faf1cf6d6f0 RDX: 0000000000000180 RSI: 00000000000800c2 RDI: 00005586414ad3d0 RBP: 000000000003a2f8 R08: 000000000000fcff R09: 0000000000000030 R10: 0000000000000000 R11: 0000000000000246 R12: 00005586414ad3e5 R13: 8421084210842109 R14: 00000000000800c2 R15: 00007faf1cffb540