Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 UID: 0 PID: 1333 Comm: kworker/u8:6 Not tainted 6.14.0-rc6-syzkaller-00022-gb7f94fcf5546 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 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 30 aa f2 f7 4d 89 ec 49 c1 ec 03 <43> 80 3c 3c 00 74 08 4c 89 ef e8 da ef 59 f8 4d 8b 75 00 49 8d 7d RSP: 0018:ffffc90000007af8 EFLAGS: 00010256 RAX: ffffffff89cf34e0 RBX: 0000000000000001 RCX: ffff888027e88000 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 1ffffffff1caa64a R08: ffffffff8a781db9 R09: 1ffff1100a3bf0c0 R10: dffffc0000000000 R11: ffffed100a3bf0c1 R12: 0000000000000000 R13: 0000000000000001 R14: 00000000fffffff8 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3f019f CR3: 000000007c1a8000 CR4: 0000000000350ef0 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+0xaac/0x17a0 kernel/rcu/tree.c:2802 handle_softirqs+0x2d6/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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 2e 4f 1d f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 73 ad 83 f5 65 8b 05 c4 00 f8 73 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc90004787160 EFLAGS: 00000206 RAX: a5bbccc61822c200 RBX: 1ffff920008f0e30 RCX: ffffffff819d4b5a RDX: dffffc0000000000 RSI: ffffffff8c2ab3a0 RDI: 0000000000000001 RBP: ffffc900047871f0 R08: ffffffff9454c84f R09: 1ffffffff28a9909 R10: dffffc0000000000 R11: fffffbfff28a990a R12: dffffc0000000000 R13: 1ffff920008f0e2c R14: ffffc90004787180 R15: 0000000000000246 debug_object_activate+0x3f7/0x580 lib/debugobjects.c:836 debug_rcu_head_queue kernel/rcu/rcu.h:224 [inline] __call_rcu_common kernel/rcu/tree.c:3050 [inline] call_rcu+0x97/0xac0 kernel/rcu/tree.c:3172 kernfs_put+0x1dc/0x370 fs/kernfs/dir.c:578 kernfs_remove_by_name_ns+0xe4/0x160 fs/kernfs/dir.c:1696 kernfs_remove_by_name include/linux/kernfs.h:625 [inline] remove_files fs/sysfs/group.c:28 [inline] sysfs_remove_group+0xfe/0x2c0 fs/sysfs/group.c:322 sysfs_remove_groups+0x54/0xb0 fs/sysfs/group.c:346 device_remove_groups drivers/base/core.c:2820 [inline] device_remove_attrs+0x1dc/0x290 drivers/base/core.c:2950 device_del+0x572/0x9b0 drivers/base/core.c:3854 unregister_netdevice_many_notify+0x19b4/0x1f10 net/core/dev.c:11920 unregister_netdevice_many net/core/dev.c:11948 [inline] default_device_exit_batch+0x7ff/0x880 net/core/dev.c:12431 ops_exit_list net/core/net_namespace.c:177 [inline] cleanup_net+0x8af/0xd60 net/core/net_namespace.c:652 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xac0/0x18e0 kernel/workqueue.c:3319 worker_thread+0x870/0xd30 kernel/workqueue.c:3400 kthread+0x7ab/0x920 kernel/kthread.c:464 ret_from_fork+0x4d/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 30 aa f2 f7 4d 89 ec 49 c1 ec 03 <43> 80 3c 3c 00 74 08 4c 89 ef e8 da ef 59 f8 4d 8b 75 00 49 8d 7d RSP: 0018:ffffc90000007af8 EFLAGS: 00010256 RAX: ffffffff89cf34e0 RBX: 0000000000000001 RCX: ffff888027e88000 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 1ffffffff1caa64a R08: ffffffff8a781db9 R09: 1ffff1100a3bf0c0 R10: dffffc0000000000 R11: ffffed100a3bf0c1 R12: 0000000000000000 R13: 0000000000000001 R14: 00000000fffffff8 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3f019f CR3: 000000007c1a8000 CR4: 0000000000350ef0 ---------------- 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 30 aa f2 f7 call 0xf7f2aa53 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 ef 59 f8 call 0xf859f013 39: 4d 8b 75 00 mov 0x0(%r13),%r14 3d: 49 rex.WB 3e: 8d .byte 0x8d 3f: 7d .byte 0x7d