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: 52 Comm: kworker/u8:3 Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: netns cleanup_net
RIP: 0010:dst_dev_put+0x25/0x330 net/core/dst.c:146
Code: 90 90 90 90 90 f3 0f 1e fa 41 56 41 55 41 54 55 53 48 89 fb e8 dc 6b 8f f8 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 d6 02 00 00 48 8d 7b 3a 4c 8b 23 48 b8 00 00 00
RSP: 0018:ffffc90000a18d20 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffffff899df989
RDX: 0000000000000000 RSI: ffffffff88fe1324 RDI: 0000000000000001
RBP: 0000607f4761b560 R08: 0000000000000005 R09: 0000000000000007
R10: 0000000000000001 R11: 0000000000000000 R12: fffffbfff1b4c865
R13: dffffc0000000000 R14: 0000607f4761b560 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002027e000 CR3: 000000007bcc0000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rt_fibinfo_free_cpus.part.0+0xe7/0x1c0 net/ipv4/fib_semantics.c:206
rt_fibinfo_free_cpus net/ipv4/fib_semantics.c:198 [inline]
fib_nh_common_release+0x121/0x360 net/ipv4/fib_semantics.c:217
fib_nh_release net/ipv4/fib_semantics.c:229 [inline]
free_fib_info_rcu+0x1a6/0x4d0 net/ipv4/fib_semantics.c:241
rcu_do_batch kernel/rcu/tree.c:2567 [inline]
rcu_core+0x79d/0x14d0 kernel/rcu/tree.c:2823
handle_softirqs+0x213/0x8f0 kernel/softirq.c:554
__do_softirq kernel/softirq.c:588 [inline]
invoke_softirq kernel/softirq.c:428 [inline]
__irq_exit_rcu kernel/softirq.c:637 [inline]
irq_exit_rcu+0xbb/0x120 kernel/softirq.c:649
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:lockdep_unregister_key+0x1b2/0x2b0 kernel/locking/lockdep.c:6569
Code: 54 fd ff ff 48 89 df e8 bc c3 ff ff 89 c3 e8 05 db ff ff 9c 58 f6 c4 02 0f 85 92 00 00 00 41 f7 c5 00 02 00 00 74 01 fb 84 db <75> 4f 5b 5d 41 5c 41 5d 41 5e 41 5f e9 cd b0 0a 00 48 c7 c0 58 7e
RSP: 0018:ffffc90000bd7850 EFLAGS: 00000246
RAX: 0000000000000046 RBX: 0000000000000000 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: ffffffff8b6cd380 RDI: ffffffff8bd1aa80
RBP: ffff88802db07a98 R08: ffffffff937d8440 R09: 000000000001f5a0
R10: ffffffff96deb59f R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000246 R14: ffffffff96fbedc8 R15: ffff88802db07aa0
__qdisc_destroy+0x11a/0x4a0 net/sched/sch_generic.c:1079
qdisc_put+0xab/0xe0 net/sched/sch_generic.c:1105
dev_shutdown+0x1c5/0x430 net/sched/sch_generic.c:1493
unregister_netdevice_many_notify+0x632/0x1e50 net/core/dev.c:11392
unregister_netdevice_many net/core/dev.c:11465 [inline]
default_device_exit_batch+0x861/0xae0 net/core/dev.c:11948
ops_exit_list+0x128/0x180 net/core/net_namespace.c:178
cleanup_net+0x5b7/0xb40 net/core/net_namespace.c:626
process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229
process_scheduled_works kernel/workqueue.c:3310 [inline]
worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:dst_dev_put+0x25/0x330 net/core/dst.c:146
Code: 90 90 90 90 90 f3 0f 1e fa 41 56 41 55 41 54 55 53 48 89 fb e8 dc 6b 8f f8 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 d6 02 00 00 48 8d 7b 3a 4c 8b 23 48 b8 00 00 00
RSP: 0018:ffffc90000a18d20 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffffff899df989
RDX: 0000000000000000 RSI: ffffffff88fe1324 RDI: 0000000000000001
RBP: 0000607f4761b560 R08: 0000000000000005 R09: 0000000000000007
R10: 0000000000000001 R11: 0000000000000000 R12: fffffbfff1b4c865
R13: dffffc0000000000 R14: 0000607f4761b560 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002027e000 CR3: 000000007bcc0000 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: 90 nop
4: 90 nop
5: f3 0f 1e fa endbr64
9: 41 56 push %r14
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 dc 6b 8f f8 call 0xf88f6bf5
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 d6 02 00 00 jne 0x30a
34: 48 8d 7b 3a lea 0x3a(%rbx),%rdi
38: 4c 8b 23 mov (%rbx),%r12
3b: 48 rex.W
3c: b8 .byte 0xb8
3d: 00 00 add %al,(%rax)