general protection fault, probably for non-canonical address 0xdffffc0000000034: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x00000000000001a0-0x00000000000001a7]
CPU: 0 PID: 21360 Comm: kworker/u4:5 Not tainted 5.16.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_purge_orig
RIP: 0010:dst_dev_put+0x1f/0x2b0 net/core/dst.c:154
Code: 0f 1f 84 00 00 00 00 00 0f 1f 00 41 55 41 54 55 53 48 89 fb e8 82 af 49 fa 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 33 02 00 00 48 8d 7b 3a 48 8b 2b 48 b8 00 00 00
RSP: 0018:ffffc90000007d70 EFLAGS: 00010203
RAX: dffffc0000000000 RBX: 00000000000001a4 RCX: 0000000000000100
RDX: 0000000000000034 RSI: ffffffff872dfb6e RDI: 00000000000001a4
RBP: 0000000000000001 R08: 0000000000000001 R09: ffff888054fb05b3
R10: ffffffff87c190c0 R11: 000000000008808a R12: dffffc0000000000
R13: 0000607f4602b3e8 R14: ffffffff8d919364 R15: 00000000000001a4
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffcf7e52198 CR3: 000000004de99000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
rt_fibinfo_free_cpus.part.0+0xf5/0x180 net/ipv4/fib_semantics.c:202
rt_fibinfo_free_cpus net/ipv4/fib_semantics.c:194 [inline]
fib_nh_common_release+0x10c/0x330 net/ipv4/fib_semantics.c:213
fib_nh_release net/ipv4/fib_semantics.c:225 [inline]
free_fib_info_rcu+0x19d/0x4d0 net/ipv4/fib_semantics.c:237
rcu_do_batch kernel/rcu/tree.c:2506 [inline]
rcu_core+0x7ab/0x1470 kernel/rcu/tree.c:2741
__do_softirq+0x29b/0x9c2 kernel/softirq.c:558
do_softirq.part.0+0xde/0x130 kernel/softirq.c:459
do_softirq kernel/softirq.c:451 [inline]
__local_bh_enable_ip+0x102/0x120 kernel/softirq.c:383
spin_unlock_bh include/linux/spinlock.h:394 [inline]
batadv_purge_orig_ref+0xeb7/0x1550 net/batman-adv/originator.c:1259
batadv_purge_orig+0x17/0x60 net/batman-adv/originator.c:1272
process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298
worker_thread+0x658/0x11f0 kernel/workqueue.c:2445
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Modules linked in:
---[ end trace 8eb9a0fae63116ac ]---
RIP: 0010:dst_dev_put+0x1f/0x2b0 net/core/dst.c:154
Code: 0f 1f 84 00 00 00 00 00 0f 1f 00 41 55 41 54 55 53 48 89 fb e8 82 af 49 fa 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 33 02 00 00 48 8d 7b 3a 48 8b 2b 48 b8 00 00 00
RSP: 0018:ffffc90000007d70 EFLAGS: 00010203
RAX: dffffc0000000000 RBX: 00000000000001a4 RCX: 0000000000000100
RDX: 0000000000000034 RSI: ffffffff872dfb6e RDI: 00000000000001a4
RBP: 0000000000000001 R08: 0000000000000001 R09: ffff888054fb05b3
R10: ffffffff87c190c0 R11: 000000000008808a R12: dffffc0000000000
R13: 0000607f4602b3e8 R14: ffffffff8d919364 R15: 00000000000001a4
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffcf7e52198 CR3: 000000004de99000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
----------------
Code disassembly (best guess):
0: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1)
7: 00
8: 0f 1f 00 nopl (%rax)
b: 41 55 push %r13
d: 41 54 push %r12
f: 55 push %rbp
10: 53 push %rbx
11: 48 89 fb mov %rdi,%rbx
14: e8 82 af 49 fa callq 0xfa49af9b
19: 48 89 da mov %rbx,%rdx
1c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
23: fc ff df
26: 48 c1 ea 03 shr $0x3,%rdx
* 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction
2e: 0f 85 33 02 00 00 jne 0x267
34: 48 8d 7b 3a lea 0x3a(%rbx),%rdi
38: 48 8b 2b mov (%rbx),%rbp
3b: 48 rex.W
3c: b8 .byte 0xb8
3d: 00 00 add %al,(%rax)