Increase LOCKDEP_CIRCULAR_QUEUE_BITS to avoid this warning: ------------[ cut here ]------------ lockdep bfs error:-1 WARNING: CPU: 0 PID: 73 at kernel/locking/lockdep.c:2059 print_bfs_bug+0x29/0x50 kernel/locking/lockdep.c:2059 Modules linked in: CPU: 0 UID: 0 PID: 73 Comm: kworker/u8:4 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet RIP: 0010:print_bfs_bug+0x29/0x50 kernel/locking/lockdep.c:2059 Code: 90 55 53 89 fb e8 d7 cf d9 02 89 c5 e8 00 a6 ff ff 85 ed 74 19 83 fb ff 74 1c 90 48 c7 c7 ba fb d9 8c 89 de e8 18 da e6 ff 90 <0f> 0b 90 90 5b 5d e9 3c c4 27 09 cc 48 c7 c7 0b 3f eb 8c e8 2f 11 RSP: 0018:ffffc9000156f008 EFLAGS: 00010046 RAX: 460fff1f7ce77f00 RBX: 00000000ffffffff RCX: ffff88801bbf8000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed101710487b R12: ffffffff95557308 R13: ffffffff95557378 R14: ffff88801bbf8c50 R15: 0000000000000022 FS: 0000000000000000(0000) GS:ffff888126dfc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4a658056c0 CR3: 000000002cb00000 CR4: 00000000003526f0 Call Trace: check_irq_usage kernel/locking/lockdep.c:-1 [inline] check_prev_add kernel/locking/lockdep.c:3169 [inline] check_prevs_add kernel/locking/lockdep.c:3284 [inline] validate_chain+0x1a4b/0x2140 kernel/locking/lockdep.c:3908 __lock_acquire+0xab9/0xd20 kernel/locking/lockdep.c:5237 lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5868 _raw_spin_lock_nested+0x32/0x50 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:638 raw_spin_rq_lock kernel/sched/sched.h:1546 [inline] __task_rq_lock+0xc1/0x470 kernel/sched/core.c:714 rt_mutex_setprio+0xc8/0xc70 kernel/sched/core.c:7344 rt_mutex_adjust_prio kernel/locking/rtmutex.c:539 [inline] mark_wakeup_next_waiter kernel/locking/rtmutex.c:1331 [inline] rt_mutex_slowunlock+0x4a7/0x8a0 kernel/locking/rtmutex.c:1466 spin_unlock_irqrestore include/linux/spinlock_rt.h:122 [inline] get_partial_node+0x3f0/0x420 mm/slub.c:3530 get_partial mm/slub.c:3610 [inline] ___slab_alloc+0x9f3/0x13f0 mm/slub.c:4626 __slab_alloc+0xc6/0x1f0 mm/slub.c:4770 __slab_alloc_node mm/slub.c:4846 [inline] slab_alloc_node mm/slub.c:5268 [inline] kmem_cache_alloc_noprof+0xec/0x6b0 mm/slub.c:5287 __build_skb net/core/skbuff.c:467 [inline] __netdev_alloc_skb+0x237/0x5e0 net/core/skbuff.c:764 __netdev_alloc_skb_ip_align include/linux/skbuff.h:3504 [inline] netdev_alloc_skb_ip_align include/linux/skbuff.h:3514 [inline] batadv_iv_ogm_aggregate_new net/batman-adv/bat_iv_ogm.c:566 [inline] batadv_iv_ogm_queue_add+0x80b/0xd20 net/batman-adv/bat_iv_ogm.c:677 batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:854 [inline] batadv_iv_ogm_schedule+0xaf3/0xf00 net/batman-adv/bat_iv_ogm.c:873 batadv_iv_send_outstanding_bat_ogm_packet+0x6c6/0x7e0 net/batman-adv/bat_iv_ogm.c:1709 process_one_work kernel/workqueue.c:3263 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3346 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245