Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 UID: 0 PID: 1105 Comm: kworker/u8:6 Not tainted 6.14.0-rc7-syzkaller-00202-g183601b78a9b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Workqueue: bat_events batadv_nc_worker
RIP: 0010:dst_dev_put+0x27/0x290 net/core/dst.c:146
Code: 90 90 90 f3 0f 1e fa 55 41 57 41 56 41 55 41 54 53 49 89 fd 49 bf 00 00 00 00 00 fc ff df e8 70 73 fa f7 4d 89 ec 49 c1 ec 03 <43> 80 3c 3c 00 74 08 4c 89 ef e8 da 2b 5f f8 4d 8b 75 00 49 8d 7d
RSP: 0018:ffffc90000a28af8 EFLAGS: 00010246
RAX: ffffffff89c76c00 RBX: 0000000000000001 RCX: ffff888027b15a00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 1ffffffff1ca7e4a R08: ffffffff8a705d89 R09: 1ffff1100c2c94c0
R10: dffffc0000000000 R11: ffffed100c2c94c1 R12: 0000000000000000
R13: 0000000000000001 R14: 00000000fffffff8 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc3a3f5d38 CR3: 0000000060bd4000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rt_fibinfo_free_cpus net/ipv4/fib_semantics.c:201 [inline]
fib_nh_common_release+0x1fc/0x420 net/ipv4/fib_semantics.c:212
fib_nh_release net/ipv4/fib_semantics.c:224 [inline]
free_fib_info_rcu+0xdc/0x4a0 net/ipv4/fib_semantics.c:236
rcu_do_batch kernel/rcu/tree.c:2546 [inline]
rcu_core+0xaaa/0x17a0 kernel/rcu/tree.c:2802
handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561
__do_softirq kernel/softirq.c:595 [inline]
invoke_softirq kernel/softirq.c:435 [inline]
__irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662
irq_exit_rcu+0x9/0x30 kernel/softirq.c:678
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:check_preemption_disabled+0x37/0x120
Code: 8b 04 25 28 00 00 00 48 89 44 24 08 65 8b 1d 8c 89 02 74 65 8b 05 81 89 02 74 a9 ff ff ff 7f 74 26 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 0f 85 ce 00 00 00 89 d8 48 83 c4 10 5b 41 5c 41 5e
RSP: 0018:ffffc90003fb79f0 EFLAGS: 00000202
RAX: 29323539f895a700 RBX: 0000000000000001 RCX: ffff888027b15a00
RDX: ffff888027b15a00 RSI: ffffffff8c802cc0 RDI: ffffffff8c802c80
RBP: 0000000000000001 R08: ffffffff8bcd180a R09: 1ffffffff28a2f08
R10: dffffc0000000000 R11: fffffbfff28a2f09 R12: ffff88805d5e8d80
R13: 1ffff1100babd313 R14: ffff88807e474838 R15: ffffffff8bcd1ad0
rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline]
rcu_is_watching+0x15/0xb0 kernel/rcu/tree.c:716
rcu_read_lock include/linux/rcupdate.h:850 [inline]
batadv_nc_process_nc_paths+0xf3/0x3a0 net/batman-adv/network-coding.c:687
batadv_nc_worker+0x42a/0x610 net/batman-adv/network-coding.c:728
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xabe/0x18e0 kernel/workqueue.c:3319
worker_thread+0x870/0xd30 kernel/workqueue.c:3400
kthread+0x7a9/0x920 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:dst_dev_put+0x27/0x290 net/core/dst.c:146
Code: 90 90 90 f3 0f 1e fa 55 41 57 41 56 41 55 41 54 53 49 89 fd 49 bf 00 00 00 00 00 fc ff df e8 70 73 fa f7 4d 89 ec 49 c1 ec 03 <43> 80 3c 3c 00 74 08 4c 89 ef e8 da 2b 5f f8 4d 8b 75 00 49 8d 7d
RSP: 0018:ffffc90000a28af8 EFLAGS: 00010246
RAX: ffffffff89c76c00 RBX: 0000000000000001 RCX: ffff888027b15a00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 1ffffffff1ca7e4a R08: ffffffff8a705d89 R09: 1ffff1100c2c94c0
R10: dffffc0000000000 R11: ffffed100c2c94c1 R12: 0000000000000000
R13: 0000000000000001 R14: 00000000fffffff8 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc3a3f5d38 CR3: 0000000060bd4000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 90 nop
1: 90 nop
2: 90 nop
3: f3 0f 1e fa endbr64
7: 55 push %rbp
8: 41 57 push %r15
a: 41 56 push %r14
c: 41 55 push %r13
e: 41 54 push %r12
10: 53 push %rbx
11: 49 89 fd mov %rdi,%r13
14: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15
1b: fc ff df
1e: e8 70 73 fa f7 call 0xf7fa7393
23: 4d 89 ec mov %r13,%r12
26: 49 c1 ec 03 shr $0x3,%r12
* 2a: 43 80 3c 3c 00 cmpb $0x0,(%r12,%r15,1) <-- trapping instruction
2f: 74 08 je 0x39
31: 4c 89 ef mov %r13,%rdi
34: e8 da 2b 5f f8 call 0xf85f2c13
39: 4d 8b 75 00 mov 0x0(%r13),%r14
3d: 49 rex.WB
3e: 8d .byte 0x8d
3f: 7d .byte 0x7d