BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 1 UID: 0 PID: 6032 Comm: udevd Not tainted 6.13.0-rc2-syzkaller-g2e7aff49b5da #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:484 (C) __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 lookup_chain_cache_add kernel/locking/lockdep.c:3851 [inline] validate_chain kernel/locking/lockdep.c:3872 [inline] __lock_acquire+0x2070/0x7904 kernel/locking/lockdep.c:5226 lock_acquire+0x23c/0x724 kernel/locking/lockdep.c:5849 local_lock_acquire+0x3c/0x98 include/linux/local_lock_internal.h:29 put_cpu_partial+0x64/0x1c0 mm/slub.c:3189 get_partial_node+0x128/0x410 mm/slub.c:2849 get_partial mm/slub.c:2937 [inline] ___slab_alloc+0x6f0/0xf4c mm/slub.c:3795 __slab_alloc+0x74/0xd0 mm/slub.c:3905 __slab_alloc_node mm/slub.c:3980 [inline] slab_alloc_node mm/slub.c:4141 [inline] kmem_cache_alloc_noprof+0x300/0x410 mm/slub.c:4160 kmem_alloc_batch lib/debugobjects.c:371 [inline] fill_pool+0x158/0x5e8 lib/debugobjects.c:403 debug_objects_fill_pool+0x84/0xa0 lib/debugobjects.c:725 debug_object_activate+0x48/0x4ac lib/debugobjects.c:814 debug_work_activate kernel/workqueue.c:664 [inline] insert_work+0x4c/0x2d4 kernel/workqueue.c:2180 __queue_work+0xe20/0x1308 kernel/workqueue.c:2339 queue_work_on+0xe0/0x1a0 kernel/workqueue.c:2390 wg_queue_enqueue_per_device_and_peer drivers/net/wireguard/queueing.h:176 [inline] wg_packet_create_data drivers/net/wireguard/send.c:320 [inline] wg_packet_send_staged_packets+0xe38/0x1460 drivers/net/wireguard/send.c:388 wg_xmit+0x930/0xdf8 drivers/net/wireguard/device.c:218 __netdev_start_xmit include/linux/netdevice.h:5002 [inline] netdev_start_xmit include/linux/netdevice.h:5011 [inline] xmit_one net/core/dev.c:3590 [inline] dev_hard_start_xmit+0x274/0x904 net/core/dev.c:3606 __dev_queue_xmit+0x1680/0x35b4 net/core/dev.c:4434 dev_queue_xmit include/linux/netdevice.h:3168 [inline] neigh_connected_output+0x344/0x3d8 net/core/neighbour.c:1543 neigh_output include/net/neighbour.h:539 [inline] ip6_finish_output2+0x16bc/0x214c net/ipv6/ip6_output.c:141 ip6_finish_output+0x428/0x7c4 net/ipv6/ip6_output.c:226 NF_HOOK_COND include/linux/netfilter.h:303 [inline] ip6_output+0x274/0x598 net/ipv6/ip6_output.c:247 dst_output include/net/dst.h:450 [inline] NF_HOOK include/linux/netfilter.h:314 [inline] ndisc_send_skb+0xab0/0x1548 net/ipv6/ndisc.c:511 ndisc_send_rs+0x494/0x5ec net/ipv6/ndisc.c:721 addrconf_rs_timer+0x300/0x598 net/ipv6/addrconf.c:4061 call_timer_fn+0x1b4/0x8b8 kernel/time/timer.c:1793 expire_timers kernel/time/timer.c:1844 [inline] __run_timers kernel/time/timer.c:2418 [inline] __run_timer_base+0x56c/0x7b4 kernel/time/timer.c:2430 run_timer_base kernel/time/timer.c:2439 [inline] run_timer_softirq+0xcc/0x194 kernel/time/timer.c:2449 handle_softirqs+0x320/0xd34 kernel/softirq.c:554 __do_softirq+0x14/0x20 kernel/softirq.c:588 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:891 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:86 invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0x1d8/0x544 kernel/softirq.c:655 irq_exit_rcu+0x14/0x84 kernel/softirq.c:671 __el1_irq arch/arm64/kernel/entry-common.c:561 [inline] el1_interrupt+0x38/0x68 arch/arm64/kernel/entry-common.c:575 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:580 el1h_64_irq+0x6c/0x70 arch/arm64/kernel/entry.S:596 __pi_memset_generic+0x170/0x188 arch/arm64/lib/memset.S:198 (P) slab_post_alloc_hook mm/slub.c:4107 [inline] (L) slab_alloc_node mm/slub.c:4153 [inline] (L) __do_kmalloc_node mm/slub.c:4282 [inline] (L) __kmalloc_noprof+0x304/0x54c mm/slub.c:4295 (L) kmalloc_noprof include/linux/slab.h:905 [inline] tomoyo_realpath_from_path+0xc8/0x4cc security/tomoyo/realpath.c:251 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_check_open_permission+0x1ec/0x414 security/tomoyo/file.c:771 tomoyo_file_open+0x15c/0x1ec security/tomoyo/tomoyo.c:334 security_file_open+0xc8/0x298 security/security.c:3105 do_dentry_open+0x2b8/0x168c fs/open.c:928 vfs_open+0x48/0x2d4 fs/open.c:1075 do_open fs/namei.c:3828 [inline] path_openat+0x2300/0x2b14 fs/namei.c:3987 do_filp_open+0x1e8/0x404 fs/namei.c:4014 do_sys_openat2+0x124/0x1b8 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_sys_openat fs/open.c:1433 [inline] __se_sys_openat fs/open.c:1428 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1428 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600