* [syzbot] [net?] BUG: unable to handle kernel paging request in dst_dev_put (2)
@ 2024-12-04 14:29 syzbot
2025-03-23 10:30 ` syzbot
0 siblings, 1 reply; 2+ messages in thread
From: syzbot @ 2024-12-04 14:29 UTC (permalink / raw)
To: davem, edumazet, horms, kuba, linux-kernel, netdev, pabeni,
syzkaller-bugs
Hello,
syzbot found the following issue on:
HEAD commit: 7b1d1d4cfac0 Merge remote-tracking branch 'iommu/arm/smmu'..
git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
console output: https://syzkaller.appspot.com/x/log.txt?x=114ca75f980000
kernel config: https://syzkaller.appspot.com/x/.config?x=dfe1e340fbee3d16
dashboard link: https://syzkaller.appspot.com/bug?extid=9911f8283beca191268b
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/354fe38e2935/disk-7b1d1d4c.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/f12e0b1ef3fd/vmlinux-7b1d1d4c.xz
kernel image: https://storage.googleapis.com/syzbot-assets/291dbc519bb3/Image-7b1d1d4c.gz.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+9911f8283beca191268b@syzkaller.appspotmail.com
Unable to handle kernel paging request at virtual address dfff800000000000
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
Mem abort info:
ESR = 0x0000000096000005
EC = 0x25: DABT (current EL), IL = 32 bits
SET = 0, FnV = 0
EA = 0, S1PTW = 0
FSC = 0x05: level 1 translation fault
Data abort info:
ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000
CM = 0, WnR = 0, TnD = 0, TagAccess = 0
GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[dfff800000000000] address between user and kernel address ranges
Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 UID: 0 PID: 16 Comm: ksoftirqd/0 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : dst_dev_put+0x2c/0x2bc net/core/dst.c:146
lr : dst_dev_put+0x28/0x2bc net/core/dst.c:145
sp : ffff8000979379a0
x29: ffff8000979379a0 x28: ffffffffffffffff x27: ffff80008f16a000
x26: 1ffff00011e2d466 x25: dfff800000000000 x24: dfff800000000000
x23: 0000000000000000 x22: dfff800000000000 x21: ffff80008f821110
x20: 00007dfe9b881038 x19: 0000000000000002 x18: ffff0001b364a9a8
x17: 0000000000000040 x16: ffff800080585eb0 x15: 0000000000000001
x14: 1fffe0001df07cc3 x13: 0000000000000000 x12: 0000000000000000
x11: ffff60001df07cc4 x10: 0000000000ff0100 x9 : 0000000000000000
x8 : ffff0000c19e5ac0 x7 : ffff8000832ff164 x6 : 0000000000000000
x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff800089f54340
x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000002
Call trace:
dst_dev_put+0x2c/0x2bc net/core/dst.c:146 (P)
dst_dev_put+0x28/0x2bc net/core/dst.c:145 (L)
rt_fibinfo_free_cpus net/ipv4/fib_semantics.c:206 [inline]
fib_nh_common_release+0x1f4/0x440 net/ipv4/fib_semantics.c:217
fib6_nh_release+0x3a0/0x40c net/ipv6/route.c:3668
fib6_info_destroy_rcu+0xc8/0x214 net/ipv6/ip6_fib.c:177
rcu_do_batch kernel/rcu/tree.c:2567 [inline]
rcu_core+0x898/0x1b5c kernel/rcu/tree.c:2823
rcu_core_si+0x10/0x1c kernel/rcu/tree.c:2840
handle_softirqs+0x2e0/0xbf8 kernel/softirq.c:554
run_ksoftirqd+0x70/0xc0 kernel/softirq.c:949
smpboot_thread_fn+0x4b0/0x90c kernel/smpboot.c:164
kthread+0x288/0x310 kernel/kthread.c:389
ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862
Code: aa0003f3 f2fbfff6 97a314b2 d343fe77 (38766ae8)
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
0: aa0003f3 mov x19, x0
4: f2fbfff6 movk x22, #0xdfff, lsl #48
8: 97a314b2 bl 0xfffffffffe8c52d0
c: d343fe77 lsr x23, x19, #3
* 10: 38766ae8 ldrb w8, [x23, x22] <-- trapping instruction
---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [syzbot] [net?] BUG: unable to handle kernel paging request in dst_dev_put (2)
2024-12-04 14:29 [syzbot] [net?] BUG: unable to handle kernel paging request in dst_dev_put (2) syzbot
@ 2025-03-23 10:30 ` syzbot
0 siblings, 0 replies; 2+ messages in thread
From: syzbot @ 2025-03-23 10:30 UTC (permalink / raw)
To: davem, edumazet, horms, kuba, linux-kernel, netdev, pabeni,
syzkaller-bugs
syzbot has found a reproducer for the following issue on:
HEAD commit: 183601b78a9b Merge tag 'perf-urgent-2025-03-22' of git://g..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=13b9443f980000
kernel config: https://syzkaller.appspot.com/x/.config?x=27515cfdbafbb90d
dashboard link: https://syzkaller.appspot.com/bug?extid=9911f8283beca191268b
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=129cdc4c580000
Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/7feb34a89c2a/non_bootable_disk-183601b7.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/517fad16d32e/vmlinux-183601b7.xz
kernel image: https://storage.googleapis.com/syzbot-assets/1fbe51b195ec/bzImage-183601b7.xz
mounted in repro: https://storage.googleapis.com/syzbot-assets/5475b0a1ea33/mount_0.gz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+9911f8283beca191268b@syzkaller.appspotmail.com
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: 5660 Comm: rm Not tainted 6.14.0-rc7-syzkaller-00202-g183601b78a9b #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
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 50 9f f2 f7 4d 89 ec 49 c1 ec 03 <43> 80 3c 3c 00 74 08 4c 89 ef e8 ca de 59 f8 4d 8b 75 00 49 8d 7d
RSP: 0018:ffffc90000007b30 EFLAGS: 00010246
RAX: ffffffff89cf4080 RBX: 0000000000000001 RCX: ffff8880348bc880
RDX: 0000000000000100 RSI: 0000000000000008 RDI: 0000000000000001
RBP: ffff88801fc00000 R08: ffffe8ffffc8df1f R09: 1ffffd1ffff91be3
R10: dffffc0000000000 R11: fffff91ffff91be4 R12: 0000000000000000
R13: 0000000000000001 R14: ffff888012569510 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f478d4afd11 CR3: 0000000058e7a000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
fib6_nh_release_dsts net/ipv6/route.c:3690 [inline]
fib6_nh_release+0x355/0x420 net/ipv6/route.c:3671
fib6_info_destroy_rcu+0xc0/0x1b0 net/ipv6/ip6_fib.c:177
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
</IRQ>
<TASK>
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 9e 58 1d f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> b3 bc 83 f5 65 8b 05 a4 0f f8 73 85 c0 74 43 48 c7 04 24 0e 36
RSP: 0018:ffffc9000cd2f680 EFLAGS: 00000206
RAX: 74f1bd27331e4e00 RBX: 1ffff920019a5ed4 RCX: ffffffff9a654903
RDX: dffffc0000000000 RSI: ffffffff8c2ab3a0 RDI: 0000000000000001
RBP: ffffc9000cd2f710 R08: ffffffff903cfb77 R09: 1ffffffff2079f6e
R10: dffffc0000000000 R11: fffffbfff2079f6f R12: dffffc0000000000
R13: 1ffff920019a5ed0 R14: ffffc9000cd2f6a0 R15: 0000000000000246
__debug_check_no_obj_freed lib/debugobjects.c:1108 [inline]
debug_check_no_obj_freed+0x561/0x580 lib/debugobjects.c:1129
slab_free_hook mm/slub.c:2284 [inline]
slab_free mm/slub.c:4609 [inline]
kmem_cache_free+0x114/0x410 mm/slub.c:4711
file_free+0x24/0x200 fs/file_table.c:68
path_openat+0x2edd/0x3590 fs/namei.c:3998
do_filp_open+0x27f/0x4e0 fs/namei.c:4016
do_sys_openat2+0x13e/0x1d0 fs/open.c:1428
do_sys_open fs/open.c:1443 [inline]
__do_sys_openat fs/open.c:1459 [inline]
__se_sys_openat fs/open.c:1454 [inline]
__x64_sys_openat+0x247/0x2a0 fs/open.c:1454
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f478d4c8a46
Code: 10 00 00 00 44 8b 54 24 e0 48 89 44 24 c0 48 8d 44 24 d0 48 89 44 24 c8 44 89 c2 4c 89 ce bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 0c f7 d8 89 05 0a 48 01 00 48 83 c8 ff c3 31
RSP: 002b:00007ffd8b657538 EFLAGS: 00000287 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007ffd8b6577a8 RCX: 00007f478d4c8a46
RDX: 0000000000080000 RSI: 00007ffd8b6575b0 RDI: 00000000ffffff9c
RBP: 00007ffd8b6575a0 R08: 0000000000080000 R09: 00007ffd8b6575b0
R10: 0000000000000000 R11: 0000000000000287 R12: 00007ffd8b6575b0
R13: 0000000000000003 R14: 00007ffd8b65778f R15: 00000000ffffffff
</TASK>
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 50 9f f2 f7 4d 89 ec 49 c1 ec 03 <43> 80 3c 3c 00 74 08 4c 89 ef e8 ca de 59 f8 4d 8b 75 00 49 8d 7d
RSP: 0018:ffffc90000007b30 EFLAGS: 00010246
RAX: ffffffff89cf4080 RBX: 0000000000000001 RCX: ffff8880348bc880
RDX: 0000000000000100 RSI: 0000000000000008 RDI: 0000000000000001
RBP: ffff88801fc00000 R08: ffffe8ffffc8df1f R09: 1ffffd1ffff91be3
R10: dffffc0000000000 R11: fffff91ffff91be4 R12: 0000000000000000
R13: 0000000000000001 R14: ffff888012569510 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f478d4afd11 CR3: 0000000058e7a000 CR4: 0000000000352ef0
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 50 9f f2 f7 call 0xf7f29f73
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 ca de 59 f8 call 0xf859df03
39: 4d 8b 75 00 mov 0x0(%r13),%r14
3d: 49 rex.WB
3e: 8d .byte 0x8d
3f: 7d .byte 0x7d
---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-03-23 10:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-04 14:29 [syzbot] [net?] BUG: unable to handle kernel paging request in dst_dev_put (2) syzbot
2025-03-23 10:30 ` syzbot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).