------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(1) WARNING: CPU: 1 PID: 1094 at kernel/locking/lockdep.c:234 hlock_class kernel/locking/lockdep.c:234 [inline] WARNING: CPU: 1 PID: 1094 at kernel/locking/lockdep.c:234 check_wait_context kernel/locking/lockdep.c:4852 [inline] WARNING: CPU: 1 PID: 1094 at kernel/locking/lockdep.c:234 __lock_acquire+0x564/0x2100 kernel/locking/lockdep.c:5178 Modules linked in: CPU: 1 UID: 0 PID: 1094 Comm: kworker/u8:5 Not tainted 6.14.0-rc7-syzkaller-00205-g586de92313fc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: bat_events batadv_nc_worker RIP: 0010:hlock_class kernel/locking/lockdep.c:234 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4852 [inline] RIP: 0010:__lock_acquire+0x564/0x2100 kernel/locking/lockdep.c:5178 Code: 00 00 83 3d b1 4f a0 0e 00 75 23 90 48 c7 c7 40 b2 2a 8c 48 c7 c6 40 b5 2a 8c e8 47 bd e4 ff 48 ba 00 00 00 00 00 fc ff df 90 <0f> 0b 90 90 90 31 db 48 81 c3 c4 00 00 00 48 89 d8 48 c1 e8 03 0f RSP: 0018:ffffc900040c7330 EFLAGS: 00010046 RAX: 342c5b43b37f1700 RBX: 0000000000001b20 RCX: ffff8880278c8000 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00000000000c1b20 R08: ffffffff81819e52 R09: fffffbfff1d3a69c R10: dffffc0000000000 R11: fffffbfff1d3a69c R12: ffff8880278c8ad4 R13: 000000000000000a R14: 1ffff11004f1916c R15: ffff8880278c8b60 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe92568b78 CR3: 0000000051522000 CR4: 0000000000350ef0 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5851 _raw_spin_lock_nested+0x31/0x40 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested+0xb0/0x140 kernel/sched/core.c:606 raw_spin_rq_lock kernel/sched/sched.h:1521 [inline] rq_lock kernel/sched/sched.h:1852 [inline] __schedule+0x357/0x4c90 kernel/sched/core.c:6688 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7087 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:should_resched arch/x86/include/asm/preempt.h:103 [inline] RIP: 0010:__local_bh_enable_ip+0x170/0x200 kernel/softirq.c:396 Code: 8c e8 94 be 85 0a 65 66 8b 05 a4 78 80 7e 66 85 c0 75 5d bf 01 00 00 00 e8 7d 25 0c 00 e8 28 4f 46 00 fb 65 8b 05 68 78 80 7e <85> c0 75 05 e8 57 e1 a6 ff 48 c7 44 24 20 0e 36 e0 45 49 c7 04 1c RSP: 0018:ffffc900040c7960 EFLAGS: 00000286 RAX: 0000000080000000 RBX: 1ffff92000818f30 RCX: ffffffff819d4bca RDX: dffffc0000000000 RSI: ffffffff8c2ab3a0 RDI: ffffffff8c8100a0 RBP: ffffc900040c7a10 R08: ffffffff9454d92f R09: 1ffffffff28a9b25 R10: dffffc0000000000 R11: fffffbfff28a9b26 R12: dffffc0000000000 R13: 1ffff92000818f34 R14: ffffc900040c79a0 R15: 0000000000000201 spin_unlock_bh include/linux/spinlock.h:396 [inline] batadv_nc_purge_paths+0x312/0x3b0 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x365/0x610 net/batman-adv/network-coding.c:722 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xac0/0x18e0 kernel/workqueue.c:3319 worker_thread+0x870/0xd30 kernel/workqueue.c:3400 kthread+0x7ab/0x920 kernel/kthread.c:464 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 ---------------- Code disassembly (best guess): 0: 8c e8 mov %gs,%eax 2: 94 xchg %eax,%esp 3: be 85 0a 65 66 mov $0x66650a85,%esi 8: 8b 05 a4 78 80 7e mov 0x7e8078a4(%rip),%eax # 0x7e8078b2 e: 66 85 c0 test %ax,%ax 11: 75 5d jne 0x70 13: bf 01 00 00 00 mov $0x1,%edi 18: e8 7d 25 0c 00 call 0xc259a 1d: e8 28 4f 46 00 call 0x464f4a 22: fb sti 23: 65 8b 05 68 78 80 7e mov %gs:0x7e807868(%rip),%eax # 0x7e807892 * 2a: 85 c0 test %eax,%eax <-- trapping instruction 2c: 75 05 jne 0x33 2e: e8 57 e1 a6 ff call 0xffa6e18a 33: 48 c7 44 24 20 0e 36 movq $0x45e0360e,0x20(%rsp) 3a: e0 45 3c: 49 rex.WB 3d: c7 .byte 0xc7 3e: 04 1c add $0x1c,%al