Oops: general protection fault, probably for non-canonical address 0xdffffc0000000004: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027] CPU: 0 UID: 0 PID: 2932 Comm: kworker/u8:7 Not tainted 6.13.0-rc3-syzkaller-ge84a3bf7f4aa #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: netns cleanup_net 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 60 0d 07 f8 4d 89 ec 49 c1 ec 03 <43> 80 3c 3c 00 74 08 4c 89 ef e8 2a 6e 6d f8 4d 8b 75 00 49 8d 7d RSP: 0018:ffffc90000007af8 EFLAGS: 00010202 RAX: ffffffff89986690 RBX: 0000000000000020 RCX: ffff8880301a3c00 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000020 RBP: 1ffffffff1c5cc4a R08: ffffffff8a400a69 R09: 1ffff110052f38c0 R10: dffffc0000000000 R11: ffffed10052f38c1 R12: 0000000000000004 R13: 0000000000000020 R14: 00000000fffffff8 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffffffd000000 CR3: 0000000063f90000 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:2567 [inline] rcu_core+0xaaa/0x17a0 kernel/rcu/tree.c:2823 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:lockdep_unregister_key+0x56d/0x610 kernel/locking/lockdep.c:6593 Code: 25 94 48 c7 c6 90 05 7b 81 e8 2f 26 0a 00 e8 9a 3a 0a 00 e9 e5 fb ff ff e8 e0 95 4d 0a 41 f7 c7 00 02 00 00 74 d0 fb 45 84 f6 <75> cf eb e0 90 0f 0b 90 45 31 f6 e9 62 ff ff ff 90 0f 0b 90 e9 a1 RSP: 0018:ffffc9000bd07620 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 1ffff920017a0ecc RCX: ffffffff9a3ab903 RDX: 0000000000000001 RSI: ffffffff8c0aa4a0 RDI: ffffffff8c5faea0 RBP: ffffc9000bd076f8 R08: ffffffff94275c37 R09: 1ffffffff284eb86 R10: dffffc0000000000 R11: fffffbfff284eb87 R12: ffffc9000bd07660 R13: 1ffff920017a0ec8 R14: 0000000000000000 R15: 0000000000000a06 __qdisc_destroy+0x165/0x410 net/sched/sch_generic.c:1085 netdev_for_each_tx_queue include/linux/netdevice.h:2562 [inline] dev_shutdown+0x9b/0x450 net/sched/sch_generic.c:1496 unregister_netdevice_many_notify+0x995/0x1da0 net/core/dev.c:11515 unregister_netdevice_many net/core/dev.c:11590 [inline] default_device_exit_batch+0xa1f/0xaa0 net/core/dev.c:12073 ops_exit_list net/core/net_namespace.c:177 [inline] cleanup_net+0x89d/0xd50 net/core/net_namespace.c:648 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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+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 60 0d 07 f8 4d 89 ec 49 c1 ec 03 <43> 80 3c 3c 00 74 08 4c 89 ef e8 2a 6e 6d f8 4d 8b 75 00 49 8d 7d RSP: 0018:ffffc90000007af8 EFLAGS: 00010202 RAX: ffffffff89986690 RBX: 0000000000000020 RCX: ffff8880301a3c00 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000020 RBP: 1ffffffff1c5cc4a R08: ffffffff8a400a69 R09: 1ffff110052f38c0 R10: dffffc0000000000 R11: ffffed10052f38c1 R12: 0000000000000004 R13: 0000000000000020 R14: 00000000fffffff8 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffffffd000000 CR3: 0000000063f90000 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 60 0d 07 f8 call 0xf8070d83 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 2a 6e 6d f8 call 0xf86d6e63 39: 4d 8b 75 00 mov 0x0(%r13),%r14 3d: 49 rex.WB 3e: 8d .byte 0x8d 3f: 7d .byte 0x7d