uvm_fault: rtm_output

0 views
Skip to first unread message

syzbot

unread,
Sep 7, 2021, 8:01:25 AMSep 7
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 1a94ae9bed1a KNF
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=15936315300000
kernel config: https://syzkaller.appspot.com/x/.config?x=bf87b6915a88cd0d
dashboard link: https://syzkaller.appspot.com/bug?extid=684597dbbb9b516e76ae

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+684597...@syzkaller.appspotmail.com

uvm_fault(0xfffffd80085928a0, 0x58, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at rtm_output+0x3d5: movl 0x58(%r14),%edi
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*477800 8510 0 0 0x4000000 0K syz-executor.0
rtm_output(ffff800000b79600,ffff8000222b5a08,ffff8000222b5968,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035
route_output(fffffd8067d34700,fffffd80717ff5b8,0,0) at route_output+0x6b8 sys/net/rtsock.c:864
route_usrreq(fffffd80717ff5b8,9,fffffd8067d34700,0,0,ffff80002126a7e0) at route_usrreq+0x391 sys/net/rtsock.c:283
sosend(fffffd80717ff5b8,0,ffff8000222b5c10,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:573
sendit(ffff80002126a7e0,6,ffff8000222b5cf0,0,ffff8000222b5dd0) at sendit+0x589 sys/kern/uipc_syscalls.c:653
sys_sendto(ffff80002126a7e0,ffff8000222b5d88,ffff8000222b5dd0) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520
syscall(ffff8000222b5e50) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff8000222b5e50) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x4b20b27a670, count: 7
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports. Insufficient info makes it difficult to find and fix bugs.
ddb{0}>
ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
*cpu0: uvm_fault(0xfffffd80085928a0, 0x58, 0, 1) -> e
ddb{0}> trace
rtm_output(ffff800000b79600,ffff8000222b5a08,ffff8000222b5968,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035
route_output(fffffd8067d34700,fffffd80717ff5b8,0,0) at route_output+0x6b8 sys/net/rtsock.c:864
route_usrreq(fffffd80717ff5b8,9,fffffd8067d34700,0,0,ffff80002126a7e0) at route_usrreq+0x391 sys/net/rtsock.c:283
sosend(fffffd80717ff5b8,0,ffff8000222b5c10,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:573
sendit(ffff80002126a7e0,6,ffff8000222b5cf0,0,ffff8000222b5dd0) at sendit+0x589 sys/kern/uipc_syscalls.c:653
sys_sendto(ffff80002126a7e0,ffff8000222b5d88,ffff8000222b5dd0) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520
syscall(ffff8000222b5e50) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff8000222b5e50) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x4b20b27a670, count: -8
ddb{0}> show registers
rdi 0xffff8000212a0000
rsi 0x2b7
rbp 0xffff8000222b5950
rbx 0x3
rdx 0xffff8000212a0000
rcx 0x2b6
rax 0xffffffff813fbd9b rtm_output+0x1fb
r8 0xffffffff817b2c54 rtable_satoplen+0x1b4
r9 0x1
r10 0x16e3859bebc78bea
r11 0x45ac6cf9075f8084
r12 0x8
r13 0x8
r14 0
r15 0xffff8000222b5968
rip 0xffffffff813fbf75 rtm_output+0x3d5
cs 0x8
rflags 0x10246 __ALIGN_SIZE+0xf246
rsp 0xffff8000222b58c0
ss 0x10
rtm_output+0x3d5: movl 0x58(%r14),%edi
ddb{0}> show proc
PROC (syz-executor.0) pid=477800 stat=onproc
flags process=0 proc=4000000<THREAD>
pri=32, usrpri=73, nice=20
forw=0xffffffffffffffff, list=0xffff80002126aa80,0xffff80002126b270
process=0xffff8000ffff8868 user=0xffff8000222b0000, vmspace=0xfffffd80085928a0
estcpu=36, cpticks=0, pctcpu=0.0
user=0, sys=0, intr=0
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
8510 514823 84571 0 2 0 syz-executor.0
* 8510 477800 84571 0 7 0x4000000 syz-executor.0
97321 412755 90240 0 2 0 syz-executor.1
97321 499968 90240 0 3 0x4000080 fsleep syz-executor.1
63107 156574 0 0 3 0x14200 bored sosplice
90240 485536 96306 0 3 0x82 nanoslp syz-executor.1
84571 486582 96306 0 3 0x82 nanoslp syz-executor.0
96306 441737 69695 0 3 0x82 thrsleep syz-fuzzer
96306 416016 69695 0 3 0x4000082 nanoslp syz-fuzzer
96306 1780 69695 0 3 0x4000082 thrsleep syz-fuzzer
96306 453523 69695 0 3 0x4000082 kqread syz-fuzzer
96306 20915 69695 0 3 0x4000082 thrsleep syz-fuzzer
96306 315335 69695 0 3 0x4000082 thrsleep syz-fuzzer
96306 410810 69695 0 3 0x4000082 thrsleep syz-fuzzer
96306 494429 69695 0 3 0x4000082 thrsleep syz-fuzzer
69695 332727 93451 0 3 0x10008a sigsusp ksh
93451 25153 23169 0 3 0x9a select sshd
85777 23067 1 0 3 0x100083 ttyin getty
23169 288012 1 0 3 0x88 select sshd
30432 431367 35800 74 3 0x100092 bpf pflogd
35800 196989 1 0 3 0x80 netio pflogd
78953 473160 5182 73 3 0x100090 kqread syslogd
5182 351443 1 0 3 0x100082 netio syslogd
73568 92268 1 0 3 0x100080 kqread resolvd
8787 214163 94025 77 3 0x100092 kqread dhcpleased
63964 67386 94025 77 3 0x100092 kqread dhcpleased
94025 333862 1 0 3 0x80 kqread dhcpleased
47599 335180 0 0 3 0x14200 bored smr
52249 197726 0 0 2 0x14200 zerothread
1179 350102 0 0 3 0x14200 aiodoned aiodoned
5655 361092 0 0 3 0x14200 syncer update
65644 116729 0 0 3 0x14200 cleaner cleaner
40864 397917 0 0 3 0x14200 reaper reaper
8901 339985 0 0 3 0x14200 pgdaemon pagedaemon
76496 418777 0 0 3 0x14200 bored crynlk
87051 392475 0 0 3 0x14200 bored crypto
44358 428366 0 0 3 0x14200 bored viomb
20068 381201 0 0 3 0x40014200 acpi0 acpi0
21156 495426 0 0 7 0x40014200 idle1
56851 435287 0 0 3 0x14200 bored softnet
70589 390662 0 0 3 0x14200 bored systqmp
53056 518102 0 0 3 0x14200 bored systq
84014 14836 0 0 3 0x40014200 bored softclock
99961 25338 0 0 3 0x40014200 idle0
1 379863 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{0}> show all locks
Process 8510 (syz-executor.0) thread 0xffff80002126a7e0 (477800)
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82a062b0)
#0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline]
#0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182
#1 kpageflttrap+0x229 sys/arch/amd64/amd64/trap.c:274
#2 kerntrap+0xef sys/arch/amd64/amd64/trap.c:318
#3 alltraps_kern_meltdown+0x7b
#4 rtm_output+0x3d5 sys/net/rtsock.c:1035
#5 route_output+0x6b8 sys/net/rtsock.c:864
#6 route_usrreq+0x391 sys/net/rtsock.c:283
#7 sosend+0x671 sys/kern/uipc_socket.c:573
#8 sendit+0x589 sys/kern/uipc_syscalls.c:653
#9 sys_sendto+0x80 sys/kern/uipc_syscalls.c:520
#10 syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline]
#10 syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587
#11 Xsyscall+0x128
ddb{0}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 10155 6614K 6926K 78643K 12185 0
pcb 13 8K 8K 78643K 78 0
rtable 88 3K 4K 78643K 206 0
ifaddr 58 12K 12K 78643K 114 0
counters 44 34K 34K 78643K 64 0
ioctlops 0 0K 4K 78643K 1532 0
iov 0 0K 8K 78643K 53 0
mount 1 1K 1K 78643K 1 0
log 0 0K 0K 78643K 6 0
vnodes 1220 77K 77K 78643K 1479 0
UFS quota 1 32K 32K 78643K 1 0
UFS mount 5 36K 36K 78643K 5 0
shm 2 1K 9K 78643K 38 0
VM map 2 1K 1K 78643K 2 0
sem 12 1K 1K 78643K 22 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1697 195K 286K 78643K 12598 0
file desc 6 17K 25K 78643K 1294 0
sigio 0 0K 0K 78643K 13 0
proc 71 87K 111K 78643K 467 0
subproc 32 2K 2K 78643K 34 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
ip_moptions 0 0K 0K 78643K 20 0
in_multi 22 1K 2K 78643K 42 0
ether_multi 1 0K 0K 78643K 5 0
ISOFS mount 1 32K 32K 78643K 1 0
MSDOSFS mount 1 16K 16K 78643K 1 0
ttys 31 148K 148K 78643K 31 0
exec 0 0K 2K 78643K 452 0
pagedep 1 8K 8K 78643K 1 0
inodedep 1 32K 32K 78643K 1 0
newblk 1 0K 0K 78643K 1 0
VM swap 7 26K 26K 78643K 7 0
UVM amap 199 25K 29K 78643K 16952 0
UVM aobj 8 7K 7K 78643K 8 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
ip6_options 0 0K 0K 78643K 47 0
NDP 10 0K 0K 78643K 24 0
temp 114 4204K 4268K 78643K 5297 0
kqueue 10 14K 18K 78643K 111 0
SYN cache 2 16K 16K 78643K 2 0
ddb{0}> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache 128 22 0 0 1 0 1 1 0 8 0
rtpcb 120 36 0 31 1 0 1 1 0 8 0
rtentry 112 45 0 12 2 0 2 2 0 8 0
unpcb 120 164 0 147 1 0 1 1 0 8 0
syncache 296 25 0 25 2 2 0 1 0 8 0
tcpqe 32 17 0 17 2 2 0 1 0 8 0
tcpcb 736 249 0 244 12 11 1 6 0 8 0
arp 120 6 0 2 1 0 1 1 0 8 0
inpcb 304 533 0 525 3 2 1 2 0 8 0
nd6 48 6 0 3 1 0 1 1 0 8 0
pkpcb 40 13 0 13 1 1 0 1 0 8 0
kcovpl 48 2 0 0 1 0 1 1 0 8 0
ppxss 1248 10 0 10 1 1 0 1 0 8 0
pffrag 232 11 0 10 2 1 1 1 0 482 0
pffrnode 88 11 0 10 2 1 1 1 0 8 0
pffrent 40 442 0 441 2 1 1 1 0 8 0
pfosfp 40 1428 0 1005 5 0 5 5 0 8 0
pfosfpen 112 1428 0 714 21 0 21 21 0 8 0
pftag 88 5 0 5 1 1 0 1 0 8 0
pfstitem 24 15 0 13 1 0 1 1 0 8 0
pfstkey 112 15 0 13 1 0 1 1 0 8 0
pfstate 320 15 0 13 2 1 1 2 0 8 0
pfrule 1360 31 0 26 2 1 1 2 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 189 0 44 12 1 11 12 0 8 0
art_table 32 190 0 44 2 0 2 2 0 8 0
art_node 16 44 0 14 1 0 1 1 0 8 0
sysvmsgpl 40 17 0 16 1 0 1 1 0 8 0
semupl 112 4 0 4 1 1 0 1 0 8 0
semapl 112 15 0 5 1 0 1 1 0 8 0
shmpl 112 5 0 0 1 0 1 1 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 2970 0 1541 90 0 90 90 0 8 0
ffsino 272 2970 0 1541 96 0 96 96 0 8 0
nchpl 144 4825 0 3205 61 0 61 61 0 8 0
uvmvnodes 72 3194 0 0 59 0 59 59 0 8 0
vnodes 224 3194 0 0 188 0 188 188 0 8 0
namei 1024 11700 0 11700 1 0 1 1 0 8 1
percpumem 16 44 0 10 1 0 1 1 0 8 0
scxspl 216 14094 0 14094 10 9 1 8 0 8 1
plimitpl 152 40 0 31 1 0 1 1 0 8 0
sigapl 424 1545 0 1509 6 1 5 5 0 8 0
futexpl 56 9543 0 9542 1 0 1 1 0 8 0
knotepl 112 52 0 0 2 0 2 2 0 8 0
kqueuepl 216 525 0 514 1 0 1 1 0 8 0
pipepl 336 129 0 119 5 4 1 2 0 8 0
fdescpl 496 1528 0 1509 3 0 3 3 0 8 0
filepl 152 4693 0 4572 5 0 5 5 0 8 0
lockfpl 104 141 0 139 1 0 1 1 0 8 0
lockfspl 48 48 0 46 1 0 1 1 0 8 0
sessionpl 144 18 0 7 1 0 1 1 0 8 0
pgrppl 48 18 0 7 1 0 1 1 0 8 0
ucredpl 96 477 0 465 1 0 1 1 0 8 0
zombiepl 144 1509 0 1509 1 0 1 1 0 8 1
processpl 1072 1545 0 1509 3 0 3 3 0 8 0
procpl 672 2931 0 2886 4 0 4 4 0 8 0
srpgc 96 2 0 2 1 1 0 1 0 8 0
sosppl 168 13 0 13 1 0 1 1 0 8 1
sockpl 480 746 0 716 6 2 4 5 0 8 0
mcl64k 65536 3 0 0 1 0 1 1 0 8 0
mcl12k 12288 9 0 0 1 0 1 1 0 8 0
mcl9k 9216 1 0 0 1 0 1 1 0 8 0
mcl8k 8192 6 0 0 1 0 1 1 0 8 0
mcl4k 4096 6 0 0 1 0 1 1 0 8 0
mcl2k 2048 165 0 0 17 0 17 17 0 8 0
mtagpl 96 52 0 0 2 0 2 2 0 8 0
mbufpl 256 628 0 0 37 0 37 37 0 8 0
bufpl 280 5310 0 135 370 0 370 370 0 8 0
anonpl 24 364289 0 356764 53 4 49 50 0 186 2
amapchunkpl 152 41634 0 41214 35 4 31 31 0 158 13
amappl16 200 3087 0 2896 13 1 12 12 0 8 1
amappl14 184 2 0 2 1 1 0 1 0 8 0
amappl13 176 683 0 679 1 0 1 1 0 8 0
amappl12 168 8 0 6 1 0 1 1 0 8 0
amappl11 160 47 0 33 1 0 1 1 0 8 0
amappl10 152 44 0 36 1 0 1 1 0 8 0
amappl9 144 83 0 80 1 0 1 1 0 8 0
amappl8 136 1012 0 969 2 0 2 2 0 8 0
amappl7 128 706 0 688 1 0 1 1 0 8 0
amappl6 120 126 0 114 1 0 1 1 0 8 0
amappl5 112 1757 0 1737 1 0 1 1 0 8 0
amappl4 104 577 0 551 1 0 1 1 0 8 0
amappl3 96 112 0 109 1 0 1 1 0 8 0
amappl2 88 1118 0 1065 2 0 2 2 0 8 0
amappl1 80 27911 0 27459 13 3 10 13 0 8 0
amappl 88 16561 0 16423 4 0 4 4 0 92 0
dma4096 4096 1 0 1 1 1 0 1 0 8 0
dma1024 1024 1 0 0 1 0 1 1 0 8 0
dma256 256 6 0 6 1 1 0 1 0 8 0
dma128 128 253 0 253 1 1 0 1 0 8 0
dma64 64 6 0 6 1 1 0 1 0 8 0
dma32 32 7 0 7 1 1 0 1 0 8 0
dma16 16 18 0 17 1 0 1 1 0 8 0
aobjpl 64 7 0 0 1 0 1 1 0 8 0
uaddrrnd 24 1528 0 1509 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 1528 0 1509 1 0 1 1 0 8 0
vmmpekpl 168 10983 0 10959 2 0 2 2 0 8 0
vmmpepl 168 168740 0 167146 72 1 71 71 0 357 1
vmsppl 368 1527 0 1509 2 0 2 2 0 8 0
rwobjpl 56 30899 0 29967 16 2 14 14 0 8 0
pdppl 4096 3064 0 3018 62 16 46 50 0 8 0
pvpl 32 850915 0 839847 150 52 98 137 0 265 7
pmappl 224 1527 0 1509 2 0 2 2 0 8 0
extentpl 40 58 0 40 1 0 1 1 0 8 0
phpool 112 346 0 35 10 0 10 10 0 8 0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
rtm_output(ffff800000b79600,ffff8000222b5a08,ffff8000222b5968,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035
route_output(fffffd8067d34700,fffffd80717ff5b8,0,0) at route_output+0x6b8 sys/net/rtsock.c:864
route_usrreq(fffffd80717ff5b8,9,fffffd8067d34700,0,0,ffff80002126a7e0) at route_usrreq+0x391 sys/net/rtsock.c:283
sosend(fffffd80717ff5b8,0,ffff8000222b5c10,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:573
sendit(ffff80002126a7e0,6,ffff8000222b5cf0,0,ffff8000222b5dd0) at sendit+0x589 sys/kern/uipc_syscalls.c:653
sys_sendto(ffff80002126a7e0,ffff8000222b5d88,ffff8000222b5dd0) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520
syscall(ffff8000222b5e50) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff8000222b5e50) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x4b20b27a670, count: -8
ddb{0}> machine ddbcpu 1
Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp
x86_ipi_db(ffff800020d38ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
acpicpu_idle() at acpicpu_idle+0x2eb sys/dev/acpi/acpicpu.c:1206
sched_idle(ffff800020d38ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178
end trace frame: 0x0, count: 10
ddb{1}> trace
x86_ipi_db(ffff800020d38ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
acpicpu_idle() at acpicpu_idle+0x2eb sys/dev/acpi/acpicpu.c:1206
sched_idle(ffff800020d38ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178
end trace frame: 0x0, count: -5


---
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 syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Sep 7, 2021, 8:45:27 AMSep 7
to syzkaller-o...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 1a94ae9bed1a KNF
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=119152ed300000
kernel config: https://syzkaller.appspot.com/x/.config?x=fe55924c11e64b0a
dashboard link: https://syzkaller.appspot.com/bug?extid=684597dbbb9b516e76ae
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=176ec47d300000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16b82f5d300000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+684597...@syzkaller.appspotmail.com

login: uvm_fault(0xfffffd807f00b220, 0x58, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at rtm_output+0x3d5: movl 0x58(%r14),%edi
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*401975 9860 0 0x2 0 0 syz-executor7753
rtm_output(ffff8000006bfb00,ffff8000216930a0,ffff800021693000,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035
route_output(fffffd806d45ea00,fffffd806e4dda90,0,0) at route_output+0x6ba sys/net/rtsock.c:864
route_usrreq(fffffd806e4dda90,9,fffffd806d45ea00,0,0,ffff8000ffff8548) at route_usrreq+0x391 sys/net/rtsock.c:283
sosend(fffffd806e4dda90,0,ffff8000216932b0,0,0,0) at sosend+0x668 sys/kern/uipc_socket.c:573
sendit(ffff8000ffff8548,3,ffff800021693390,0,ffff800021693480) at sendit+0x589 sys/kern/uipc_syscalls.c:653
sys_sendto(ffff8000ffff8548,ffff800021693428,ffff800021693480) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520
syscall(ffff8000216934f0) at syscall+0x571 sys/arch/amd64/amd64/trap.c:587
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffd6d40, count: 7
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports. Insufficient info makes it difficult to find and fix bugs.
ddb>
ddb> set $lines = 0
ddb> set $maxwidth = 0
ddb> show panic
*cpu0: uvm_fault(0xfffffd807f00b220, 0x58, 0, 1) -> e
ddb> trace
rtm_output(ffff8000006bfb00,ffff8000216930a0,ffff800021693000,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035
route_output(fffffd806d45ea00,fffffd806e4dda90,0,0) at route_output+0x6ba sys/net/rtsock.c:864
route_usrreq(fffffd806e4dda90,9,fffffd806d45ea00,0,0,ffff8000ffff8548) at route_usrreq+0x391 sys/net/rtsock.c:283
sosend(fffffd806e4dda90,0,ffff8000216932b0,0,0,0) at sosend+0x668 sys/kern/uipc_socket.c:573
sendit(ffff8000ffff8548,3,ffff800021693390,0,ffff800021693480) at sendit+0x589 sys/kern/uipc_syscalls.c:653
sys_sendto(ffff8000ffff8548,ffff800021693428,ffff800021693480) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520
syscall(ffff8000216934f0) at syscall+0x571 sys/arch/amd64/amd64/trap.c:587
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffd6d40, count: -8
ddb> show registers
rdi 0
rsi 0
rbp 0xffff800021692ff0
rbx 0x3
rdx 0x8
rcx 0xfffffd806f317d00
rax 0x1
r8 0x8
r9 0x1
r10 0x7d702d893045c711
r11 0xdecd4bf8a4957859
r12 0x8
r13 0x8
r14 0
r15 0xffff800021693000
rip 0xffffffff82340165 rtm_output+0x3d5
cs 0x8
rflags 0x10246 __ALIGN_SIZE+0xf246
rsp 0xffff800021692f60
ss 0x10
rtm_output+0x3d5: movl 0x58(%r14),%edi
ddb> show proc
PROC (syz-executor7753) pid=401975 stat=onproc
flags process=2<EXEC> proc=0
pri=50, usrpri=50, nice=20
forw=0xffffffffffffffff, list=0xffff8000ffff8008,0xffffffff828adc98
process=0xffff8000ffff7ba0 user=0xffff80002168e000, vmspace=0xfffffd807f00b220
estcpu=0, cpticks=1, pctcpu=0.0
user=0, sys=1, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
* 9860 401975 39065 0 7 0x2 syz-executor7753
39065 20972 90337 0 3 0x10008a sigsusp ksh
90337 240633 27219 0 2 0x12 sshd
60490 323368 1 0 3 0x100083 ttyin getty
27219 180526 1 0 3 0x88 select sshd
6645 179516 73994 73 3 0x100090 kqread syslogd
73994 470912 1 0 3 0x100082 netio syslogd
11481 501622 1 0 3 0x100080 kqread resolvd
75567 237754 49656 77 3 0x100092 kqread dhcpleased
75215 417726 49656 77 3 0x100092 kqread dhcpleased
49656 356881 1 0 3 0x80 kqread dhcpleased
46857 15265 0 0 3 0x14200 bored smr
72182 30149 0 0 2 0x14200 zerothread
27183 309349 0 0 3 0x14200 aiodoned aiodoned
46609 451043 0 0 3 0x14200 syncer update
29854 161976 0 0 3 0x14200 cleaner cleaner
59303 478439 0 0 3 0x14200 reaper reaper
70964 396436 0 0 3 0x14200 pgdaemon pagedaemon
9071 306477 0 0 3 0x14200 bored crynlk
3777 73731 0 0 3 0x14200 bored crypto
4773 296923 0 0 3 0x14200 bored viomb
50274 478046 0 0 3 0x40014200 acpi0 acpi0
44836 99519 0 0 3 0x14200 bored softnet
42231 409273 0 0 3 0x14200 bored systqmp
34423 437430 0 0 3 0x14200 bored systq
68427 5074 0 0 3 0x40014200 bored softclock
41235 258214 0 0 3 0x40014200 idle0
1 134528 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb> show all locks
No such command
ddb> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 10093 6342K 6373K 78643K 11183 0
pcb 13 8K 8K 78643K 13 0
rtable 63 2K 2K 78643K 113 0
ifaddr 24 7K 7K 78643K 24 0
counters 19 16K 16K 78643K 19 0
ioctlops 0 0K 2K 78643K 25 0
mount 1 1K 1K 78643K 1 0
log 0 0K 0K 78643K 5 0
vnodes 1182 74K 74K 78643K 1187 0
UFS quota 1 32K 32K 78643K 1 0
UFS mount 5 36K 36K 78643K 5 0
shm 2 1K 1K 78643K 2 0
VM map 2 0K 0K 78643K 2 0
sem 2 0K 0K 78643K 2 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1697 195K 286K 78643K 12598 0
file desc 1 0K 0K 78643K 1 0
proc 55 54K 55K 78643K 222 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
in_multi 11 0K 0K 78643K 11 0
ether_multi 1 0K 0K 78643K 1 0
ISOFS mount 1 32K 32K 78643K 1 0
MSDOSFS mount 1 16K 16K 78643K 1 0
ttys 19 95K 95K 78643K 19 0
exec 0 0K 2K 78643K 317 0
pagedep 1 8K 8K 78643K 1 0
inodedep 1 32K 32K 78643K 1 0
newblk 1 0K 0K 78643K 1 0
VM swap 7 26K 26K 78643K 7 0
UVM amap 76 3K 5K 78643K 1496 0
UVM aobj 3 2K 2K 78643K 3 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
NDP 3 0K 0K 78643K 3 0
temp 18 4189K 4253K 78643K 1762 0
kqueue 9 12K 12K 78643K 9 0
SYN cache 2 16K 16K 78643K 2 0
ddb> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
rtpcb 120 20 0 16 1 0 1 1 0 8 0
rtentry 112 23 0 1 1 0 1 1 0 8 0
unpcb 120 33 0 20 1 0 1 1 0 8 0
syncache 296 5 0 5 2 1 1 1 0 8 1
tcpcb 736 8 0 5 1 0 1 1 0 8 0
arp 88 2 0 0 1 0 1 1 0 8 0
inpcb 304 25 0 19 1 0 1 1 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 96 0 0 6 0 6 6 0 8 0
art_table 32 97 0 0 1 0 1 1 0 8 0
art_node 16 22 0 2 1 0 1 1 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 1404 0 22 87 0 87 87 0 8 0
ffsino 240 1404 0 22 82 0 82 82 0 8 0
nchpl 144 1579 0 38 58 0 58 58 0 8 0
uvmvnodes 72 1413 0 0 26 0 26 26 0 8 0
vnodes 224 1413 0 0 84 0 84 84 0 8 0
namei 1024 3889 0 3889 2 1 1 1 0 8 1
scxspl 216 3360 0 3360 2 1 1 2 0 8 1
plimitpl 152 15 0 9 1 0 1 1 0 8 0
sigapl 424 232 0 204 4 0 4 4 0 8 0
knotepl 112 121 0 98 1 0 1 1 0 8 0
kqueuepl 184 5 0 0 1 0 1 1 0 8 0
pipepl 304 64 0 61 2 1 1 1 0 8 0
fdescpl 432 217 0 204 2 0 2 2 0 8 0
filepl 120 962 0 908 2 0 2 2 0 8 0
lockfpl 104 6 0 4 1 0 1 1 0 8 0
lockfspl 48 4 0 2 1 0 1 1 0 8 0
sessionpl 144 17 0 9 1 0 1 1 0 8 0
pgrppl 48 17 0 9 1 0 1 1 0 8 0
ucredpl 96 64 0 54 1 0 1 1 0 8 0
zombiepl 144 204 0 204 2 1 1 1 0 8 1
processpl 1008 232 0 204 4 0 4 4 0 8 0
procpl 672 232 0 204 3 0 3 3 0 8 0
sockpl 448 78 0 55 3 0 3 3 0 8 0
mcl8k 8192 9 0 9 2 1 1 1 0 8 1
mcl4k 4096 5 0 5 2 1 1 1 0 8 1
mcl2k 2048 5875 0 5839 9 2 7 8 0 8 2
mtagpl 96 3 0 3 1 1 0 1 0 8 0
mbufpl 256 10045 0 9968 8 2 6 8 0 8 0
bufpl 280 1926 0 84 132 0 132 132 0 8 0
anonpl 24 32271 0 30134 16 2 14 15 0 188 1
amapchunkpl 152 2890 0 2755 7 1 6 7 0 158 0
amappl16 200 87 0 83 1 0 1 1 0 8 0
amappl13 176 16 0 15 2 1 1 1 0 8 0
amappl12 168 17 0 17 2 1 1 1 0 8 1
amappl11 160 52 0 42 1 0 1 1 0 8 0
amappl10 152 29 0 26 1 0 1 1 0 8 0
amappl9 144 210 0 208 1 0 1 1 0 8 0
amappl8 136 251 0 251 2 1 1 1 0 8 1
amappl7 128 47 0 40 1 0 1 1 0 8 0
amappl6 120 78 0 71 1 0 1 1 0 8 0
amappl5 112 199 0 187 1 0 1 1 0 8 0
amappl4 104 475 0 456 1 0 1 1 0 8 0
amappl3 96 37 0 36 1 0 1 1 0 8 0
amappl2 88 379 0 334 3 1 2 2 0 8 0
amappl1 80 7064 0 6716 10 1 9 9 0 8 1
amappl 88 1273 0 1213 2 0 2 2 0 92 0
dma4096 4096 1 0 1 1 1 0 1 0 8 0
dma1024 1024 1 0 0 1 0 1 1 0 8 0
dma256 256 6 0 6 1 1 0 1 0 8 0
dma128 128 253 0 253 1 1 0 1 0 8 0
dma64 64 6 0 6 1 1 0 1 0 8 0
dma32 32 7 0 7 1 1 0 1 0 8 0
dma16 16 18 0 17 1 0 1 1 0 8 0
aobjpl 64 2 0 0 1 0 1 1 0 8 0
uaddrrnd 24 217 0 204 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 217 0 204 1 0 1 1 0 8 0
vmmpekpl 168 5776 0 5765 1 0 1 1 0 8 0
vmmpepl 168 21080 0 20305 40 2 38 38 0 357 4
vmsppl 272 216 0 204 2 1 1 2 0 8 0
rwobjpl 24 6637 0 6130 5 1 4 4 0 8 0
pdppl 4096 441 0 408 49 16 33 39 0 8 0
pvpl 32 104903 0 100971 37 2 35 36 0 265 3
pmappl 192 216 0 204 1 0 1 1 0 8 0
extentpl 40 58 0 40 1 0 1 1 0 8 0
phpool 112 260 0 26 7 0 7 7 0 8 0
ddb> machine ddbcpu 0
No such command
ddb> trace
rtm_output(ffff8000006bfb00,ffff8000216930a0,ffff800021693000,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035
route_output(fffffd806d45ea00,fffffd806e4dda90,0,0) at route_output+0x6ba sys/net/rtsock.c:864
route_usrreq(fffffd806e4dda90,9,fffffd806d45ea00,0,0,ffff8000ffff8548) at route_usrreq+0x391 sys/net/rtsock.c:283
sosend(fffffd806e4dda90,0,ffff8000216932b0,0,0,0) at sosend+0x668 sys/kern/uipc_socket.c:573
sendit(ffff8000ffff8548,3,ffff800021693390,0,ffff800021693480) at sendit+0x589 sys/kern/uipc_syscalls.c:653
sys_sendto(ffff8000ffff8548,ffff800021693428,ffff800021693480) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520
syscall(ffff8000216934f0) at syscall+0x571 sys/arch/amd64/amd64/trap.c:587
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffd6d40, count: -8
ddb> machine ddbcpu 1
No such command
ddb> trace
rtm_output(ffff8000006bfb00,ffff8000216930a0,ffff800021693000,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035
route_output(fffffd806d45ea00,fffffd806e4dda90,0,0) at route_output+0x6ba sys/net/rtsock.c:864
route_usrreq(fffffd806e4dda90,9,fffffd806d45ea00,0,0,ffff8000ffff8548) at route_usrreq+0x391 sys/net/rtsock.c:283
sosend(fffffd806e4dda90,0,ffff8000216932b0,0,0,0) at sosend+0x668 sys/kern/uipc_socket.c:573
sendit(ffff8000ffff8548,3,ffff800021693390,0,ffff800021693480) at sendit+0x589 sys/kern/uipc_syscalls.c:653
sys_sendto(ffff8000ffff8548,ffff800021693428,ffff800021693480) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520
syscall(ffff8000216934f0) at syscall+0x571 sys/arch/amd64/amd64/trap.c:587
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffd6d40, count: -8
ddb>

Reply all
Reply to author
Forward
0 new messages