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: 0 UID: 0 PID: 6097 Comm: syz-executor Not tainted 6.14.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
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 f0 a6 05 f8 4d 89 ec 49 c1 ec 03 <43> 80 3c 3c 00 74 08 4c 89 ef e8 0a b8 69 f8 4d 8b 75 00 49 8d 7d
RSP: 0018:ffffc90000007af8 EFLAGS: 00010246
RAX: ffffffff89b9b410 RBX: 0000000000000001 RCX: ffff8880301e9e00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 1ffffffff1c5fe4a R08: ffffffff8a623c09 R09: 1ffff1100bb54cc0
R10: dffffc0000000000 R11: ffffed100bb54cc1 R12: 0000000000000000
R13: 0000000000000001 R14: 00000000fffffff8 R15: dffffc0000000000
FS: 0000555575d96500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555575db9608 CR3: 00000000659ae000 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:__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 ee be 32 f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 b3 df 9c f5 65 8b 05 64 27 13 74 85 c0 74 43 48 c7 04 24 0e 36
RSP: 0018:ffffc9000444f2a0 EFLAGS: 00000206
RAX: c2ddb4d702938c00 RBX: 1ffff92000889e58 RCX: ffffffff9a3ca903
RDX: dffffc0000000000 RSI: ffffffff8c0aa660 RDI: 0000000000000001
RBP: ffffc9000444f330 R08: ffffffff901a2777 R09: 1ffffffff20344ee
R10: dffffc0000000000 R11: fffffbfff20344ef R12: dffffc0000000000
R13: 1ffff92000889e54 R14: ffffc9000444f2c0 R15: 0000000000000246
__debug_check_no_obj_freed lib/debugobjects.c:1108 [inline]
debug_check_no_obj_freed+0x561/0x580 lib/debugobjects.c:1129
free_pages_prepare mm/page_alloc.c:1134 [inline]
free_unref_folios+0x55d/0x18a0 mm/page_alloc.c:2707
folios_put_refs+0x76c/0x860 mm/swap.c:994
folio_batch_release include/linux/pagevec.h:101 [inline]
shmem_undo_range+0x593/0x1820 mm/shmem.c:1112
shmem_truncate_range mm/shmem.c:1224 [inline]
shmem_evict_inode+0x29b/0xa80 mm/shmem.c:1352
evict+0x4e8/0x9a0 fs/inode.c:796
__dentry_kill+0x20d/0x630 fs/dcache.c:643
dput+0x19f/0x2b0 fs/dcache.c:885
__fput+0x60b/0x9f0 fs/file_table.c:456
task_work_run+0x24f/0x310 kernel/task_work.c:227
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218
do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff2ccb8ba0a
Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 43 91 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 a3 91 02 00 8b 44 24
RSP: 002b:00007fff777d6d00 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007ff2ccb8ba0a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007fff777d6d5c R08: 0000000000000000 R09: 00007fff777d6a67
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000006
R13: 000000000000004f R14: 000000000001b9d1 R15: 00007fff777d6db0
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 f0 a6 05 f8 4d 89 ec 49 c1 ec 03 <43> 80 3c 3c 00 74 08 4c 89 ef e8 0a b8 69 f8 4d 8b 75 00 49 8d 7d
RSP: 0018:ffffc90000007af8 EFLAGS: 00010246
RAX: ffffffff89b9b410 RBX: 0000000000000001 RCX: ffff8880301e9e00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 1ffffffff1c5fe4a R08: ffffffff8a623c09 R09: 1ffff1100bb54cc0
R10: dffffc0000000000 R11: ffffed100bb54cc1 R12: 0000000000000000
R13: 0000000000000001 R14: 00000000fffffff8 R15: dffffc0000000000
FS: 0000555575d96500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555575db9608 CR3: 00000000659ae000 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 f0 a6 05 f8 call 0xf805a713
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 0a b8 69 f8 call 0xf869b843
39: 4d 8b 75 00 mov 0x0(%r13),%r14
3d: 49 rex.WB
3e: 8d .byte 0x8d
3f: 7d .byte 0x7d