general protection fault, probably for non-canonical address 0xdffffc00000001ab: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000d58-0x0000000000000d5f]
CPU: 1 PID: 7443 Comm: kworker/u4:8 Not tainted 6.4.0-rc6-next-20230616-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:__rq_lockp kernel/sched/sched.h:1234 [inline]
RIP: 0010:lockdep_assert_rq_held kernel/sched/sched.h:1351 [inline]
RIP: 0010:rq_clock_task kernel/sched/sched.h:1503 [inline]
RIP: 0010:update_curr+0xae/0x7c0 kernel/sched/fair.c:900
Code: d2 0f 85 2d 05 00 00 8b 0d 6f a7 4c 0d 85 c9 74 50 49 8d bc 24 58 0d 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 0b 05 00 00 41 8b 94 24 58 0d
RSP: 0018:ffffc900001e0c20 EFLAGS: 00010002
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000001
RDX: 00000000000001ab RSI: ffff888028b08080 RDI: 0000000000000d58
RBP: ffff8880793a5800 R08: 0000000000000000 R09: fffffbfff1d53172
R10: ffffffff8ea98b97 R11: 0000000000000001 R12: 0000000000000000
R13: ffff8880b993c400 R14: ffff8880793a5800 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555557150708 CR3: 000000007ebe3000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
enqueue_entity+0x2cb/0x1470 kernel/sched/fair.c:4836
enqueue_task_fair+0x154/0xb90 kernel/sched/fair.c:6318
enqueue_task kernel/sched/core.c:2082 [inline]
activate_task kernel/sched/core.c:2112 [inline]
ttwu_do_activate+0x20c/0xd30 kernel/sched/core.c:3775
ttwu_queue kernel/sched/core.c:4025 [inline]
try_to_wake_up+0x65a/0x1bf0 kernel/sched/core.c:4344
hrtimer_wakeup+0x47/0x60 kernel/time/hrtimer.c:1939
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x5a3/0xa40 kernel/time/hrtimer.c:1749
hrtimer_interrupt+0x320/0x7b0 kernel/time/hrtimer.c:1811
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1098 [inline]
__sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1115
sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1109
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:lock_acquire.part.0+0x156/0x370 kernel/locking/lockdep.c:5726
Code: b8 ff ff ff ff 65 0f c1 05 37 88 9c 7e 83 f8 01 0f 85 c7 01 00 00 9c 58 f6 c4 02 0f 85 da 01 00 00 48 85 ed 0f 85 ad 01 00 00 <48> b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 03 00 00 00 00 48 c7
RSP: 0018:ffffc9000312fb28 EFLAGS: 00000206
RAX: 0000000000000046 RBX: 1ffff92000625f66 RCX: ffffffff9173e720
RDX: 1ffff110109198c8 RSI: 0000000000000201 RDI: 0000000000000000
RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff23085eb
R10: ffffffff91842f5f R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880814d11d8
__raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline]
_raw_spin_lock_bh+0x33/0x40 kernel/locking/spinlock.c:178
spin_lock_bh include/linux/spinlock.h:355 [inline]
batadv_nc_purge_paths+0xdf/0x3c0 net/batman-adv/network-coding.c:442
batadv_nc_worker+0x931/0xfe0 net/batman-adv/network-coding.c:722
process_one_work+0xa34/0x16f0 kernel/workqueue.c:2594
worker_thread+0x67d/0x10c0 kernel/workqueue.c:2745
kthread+0x344/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__rq_lockp kernel/sched/sched.h:1234 [inline]
RIP: 0010:lockdep_assert_rq_held kernel/sched/sched.h:1351 [inline]
RIP: 0010:rq_clock_task kernel/sched/sched.h:1503 [inline]
RIP: 0010:update_curr+0xae/0x7c0 kernel/sched/fair.c:900
Code: d2 0f 85 2d 05 00 00 8b 0d 6f a7 4c 0d 85 c9 74 50 49 8d bc 24 58 0d 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 0b 05 00 00 41 8b 94 24 58 0d
RSP: 0018:ffffc900001e0c20 EFLAGS: 00010002
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000001
RDX: 00000000000001ab RSI: ffff888028b08080 RDI: 0000000000000d58
RBP: ffff8880793a5800 R08: 0000000000000000 R09: fffffbfff1d53172
R10: ffffffff8ea98b97 R11: 0000000000000001 R12: 0000000000000000
R13: ffff8880b993c400 R14: ffff8880793a5800 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555557150708 CR3: 000000007ebe3000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: d2 0f rorb %cl,(%rdi)
2: 85 2d 05 00 00 8b test %ebp,-0x74fffffb(%rip) # 0x8b00000d
8: 0d 6f a7 4c 0d or $0xd4ca76f,%eax
d: 85 c9 test %ecx,%ecx
f: 74 50 je 0x61
11: 49 8d bc 24 58 0d 00 lea 0xd58(%r12),%rdi
18: 00
19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
20: fc ff df
23: 48 89 fa mov %rdi,%rdx
26: 48 c1 ea 03 shr $0x3,%rdx
* 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction
2e: 84 c0 test %al,%al
30: 74 08 je 0x3a
32: 3c 03 cmp $0x3,%al
34: 0f 8e 0b 05 00 00 jle 0x545
3a: 41 rex.B
3b: 8b .byte 0x8b
3c: 94 xchg %eax,%esp
3d: 24 58 and $0x58,%al
3f: 0d .byte 0xd