uvm_fault(0xfffffd806ed9ecc0, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at rtrequest+0x8e1: movzbl 0(%r14),%r15d TID PID UID PRFLAGS PFLAGS CPU COMMAND *477326 14494 0 0x2 0 0 syz-executor2136178122 rtrequest(1,ffff80002123d998,0,ffff80002123d908,0) at rtrequest+0x8e1 sys/net/route.c:941 rtm_output(ffff800000cd1c00,ffff80002123da40,ffff80002123d998,0,0) at rtm_output+0x5f7 sys/net/rtsock.c:958 route_output(fffffd8074e97800,fffffd8075010b88) at route_output+0x6b3 sys/net/rtsock.c:863 route_send(fffffd8075010b88,fffffd8074e97800,0,0) at route_send+0x8f sys/net/rtsock.c:339 sosend(fffffd8075010b88,0,ffff80002123dc00,0,0,0) at sosend+0x66d sendit(ffff8000211a3a98,3,ffff80002123dd00,0,ffff80002123dde0) at sendit+0x65d sys/kern/uipc_syscalls.c:786 sys_sendto(ffff8000211a3a98,ffff80002123dd90,ffff80002123dde0) at sys_sendto+0x84 sys/kern/uipc_syscalls.c:564 syscall(ffff80002123de60) at syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002123de60) at syscall+0x606 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ae5efc482a0, count: 6 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(0xfffffd806ed9ecc0, 0x0, 0, 1) -> e ddb{0}> trace rtrequest(1,ffff80002123d998,0,ffff80002123d908,0) at rtrequest+0x8e1 sys/net/route.c:941 rtm_output(ffff800000cd1c00,ffff80002123da40,ffff80002123d998,0,0) at rtm_output+0x5f7 sys/net/rtsock.c:958 route_output(fffffd8074e97800,fffffd8075010b88) at route_output+0x6b3 sys/net/rtsock.c:863 route_send(fffffd8075010b88,fffffd8074e97800,0,0) at route_send+0x8f sys/net/rtsock.c:339 sosend(fffffd8075010b88,0,ffff80002123dc00,0,0,0) at sosend+0x66d sendit(ffff8000211a3a98,3,ffff80002123dd00,0,ffff80002123dde0) at sendit+0x65d sys/kern/uipc_syscalls.c:786 sys_sendto(ffff8000211a3a98,ffff80002123dd90,ffff80002123dde0) at sys_sendto+0x84 sys/kern/uipc_syscalls.c:564 syscall(ffff80002123de60) at syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002123de60) at syscall+0x606 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ae5efc482a0, count: -9 ddb{0}> show registers rdi 0 rsi 0x2 rbp 0xffff80002123d8e0 rbx 0x33 rdx 0x93025743976b9b2 rcx 0x1 rax 0x1 r8 0x20 r9 0 r10 0xbc2224970de4d86f r11 0xda7fce2335675e16 r12 0xfffffd807e94b4d0 r13 0xffff80002123d998 r14 0 r15 0xffff8000006c9640 rip 0xffffffff819d3741 rtrequest+0x8e1 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002123d7f0 ss 0x10 rtrequest+0x8e1: movzbl 0(%r14),%r15d ddb{0}> show proc PROC (syz-executor2136178122) tid=477326 pid=14494 tcnt=1 stat=onproc flags process=2 proc=0 runpri=17, usrpri=52, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff8000211a3d40,0xffffffff82cd23e8 process=0xffff8000ffff69f0 user=0xffff800021238000, vmspace=0xfffffd806ed9ecc0 estcpu=2, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND *14494 477326 42905 0 7 0x2 syz-executor2136178122 42905 171275 5758 0 3 0x10008a sigsusp ksh 5758 136194 63624 0 3 0x9a kqread sshd 2438 15471 1 0 3 0x100083 ttyin getty 63624 212395 1 0 3 0x88 kqread sshd 66801 117562 77573 74 3 0x1100092 bpf pflogd 77573 54088 1 0 3 0x80 netio pflogd 30074 26145 47974 73 3 0x1100090 kqread syslogd 47974 124859 1 0 3 0x100082 netio syslogd 93521 474817 1 0 3 0x100080 kqread resolvd 77670 69203 96196 77 3 0x100092 kqread dhcpleased 78347 126290 96196 77 3 0x100092 kqread dhcpleased 96196 243359 1 0 3 0x80 kqread dhcpleased 30976 501696 0 0 3 0x14200 bored smr 21312 323489 0 0 3 0x14200 pgzero zerothread 65041 93349 0 0 3 0x14200 aiodoned aiodoned 85336 236241 0 0 3 0x14200 syncer update 42287 491162 0 0 3 0x14200 cleaner cleaner 99678 350421 0 0 3 0x14200 reaper reaper 29427 162283 0 0 3 0x14200 pgdaemon pagedaemon 86023 125496 0 0 3 0x14200 bored viomb 15534 146052 0 0 3 0x40014200 acpi0 acpi0 68068 212110 0 0 7 0x40014200 idle1 28353 183199 0 0 3 0x14200 bored softnet3 13710 341825 0 0 3 0x14200 bored softnet2 94499 89489 0 0 3 0x14200 bored softnet1 17050 500503 0 0 3 0x14200 bored softnet0 30966 392046 0 0 3 0x14200 bored systqmp 32235 466914 0 0 3 0x14200 bored systq 40282 162044 0 0 3 0x14200 tmoslp softclockmp 19362 37743 0 0 3 0x40014200 tmoslp softclock 88208 107915 0 0 3 0x40014200 idle0 1 198342 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 14494 (syz-executor2136178122) thread 0xffff8000211a3a98 (477326) exclusive rwlock netlock r = 0 (0xffffffff82bb4fd0) #0 witness_lock+0x447 #1 rtm_output+0x554 sys/net/rtsock.c:954 #2 route_output+0x6b3 sys/net/rtsock.c:863 #3 route_send+0x8f sys/net/rtsock.c:339 #4 sosend+0x66d #5 sendit+0x65d sys/kern/uipc_syscalls.c:786 #6 sys_sendto+0x84 sys/kern/uipc_syscalls.c:564 #7 syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline] #7 syscall+0x606 sys/arch/amd64/amd64/trap.c:623 #8 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10162 6456K 6457K 78643K 11240 0 pcb 13 8K 8K 78643K 13 0 rtable 60 2K 2K 78643K 119 0 pf 15 6K 10K 78643K 26 0 ifaddr 13 9K 9K 78643K 13 0 ifgroup 22 1K 1K 78643K 22 0 counters 44 33K 33K 78643K 44 0 ioctlops 0 0K 4K 78643K 1475 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1176 74K 74K 78643K 1192 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 1K 1K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 1 0K 0K 78643K 1 0 proc 67 91K 91K 78643K 302 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 25 122K 122K 78643K 25 0 exec 0 0K 1K 78643K 272 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 103 12K 12K 78643K 2492 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 4 0K 0K 78643K 4 0 temp 1 5904K 5968K 78643K 3102 0 kqueue 11 16K 18K 78643K 24 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 22 0 18 1 0 1 1 0 8 0 rtentry 112 24 0 1 1 0 1 1 0 8 0 unpcb 144 35 0 20 1 0 1 1 0 8 0 syncache 304 5 0 5 1 0 1 1 0 8 1 tcpqe 32 155 0 155 1 0 1 1 0 8 1 tcpcb 808 8 0 5 1 0 1 1 0 8 0 arp 120 2 0 0 1 0 1 1 0 8 0 inpcb 368 33 0 27 1 0 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 pfstitem 24 9 0 0 1 0 1 1 0 8 0 pfstkey 128 9 0 0 1 0 1 1 0 8 0 pfstate 376 9 0 0 1 0 1 1 0 8 0 pfrule 1344 21 0 16 2 1 1 2 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 1433 0 38 88 0 88 88 0 8 0 ffsino 272 1433 0 38 93 0 93 93 0 8 0 nchpl 144 1619 0 49 59 0 59 59 0 8 0 uvmvnodes 80 1447 0 0 30 0 30 30 0 8 0 vnodes 216 1447 0 0 81 0 81 81 0 8 0 namei 1024 4579 0 4579 1 0 1 1 0 8 1 percpumem 16 35 0 0 1 0 1 1 0 8 0 kstatmem 264 8 0 0 1 0 1 1 0 8 0 scxspl 216 4876 0 4876 3 2 1 2 1 8 1 plimitpl 152 18 0 10 1 0 1 1 0 8 0 sigapl 424 341 0 308 5 1 4 5 0 8 0 knotepl 120 46 0 0 2 0 2 2 0 8 0 kqueuepl 216 20 0 13 1 0 1 1 0 8 0 pipepl 320 95 0 92 1 0 1 1 0 8 0 fdescpl 496 323 0 308 3 0 3 3 0 8 0 filepl 152 1282 0 1223 3 0 3 3 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 19 0 9 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 104 71 0 59 1 0 1 1 0 8 0 zombiepl 144 308 0 308 1 0 1 1 0 8 1 processpl 1072 341 0 308 3 0 3 3 0 8 0 procpl 680 341 0 308 4 1 3 4 0 8 0 sockpl 488 90 0 65 4 0 4 4 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 243 0 0 31 0 31 31 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 267 0 0 17 0 17 17 0 8 0 bufpl 288 2466 0 91 170 0 170 170 0 8 0 anonpl 24 163943 0 161916 25 1 24 25 0 186 11 amapchunkpl 152 8312 0 8156 8 1 7 8 0 158 0 amappl16 200 4561 0 4560 5 1 4 5 0 8 3 amappl15 192 30 0 29 1 0 1 1 0 8 0 amappl14 184 117 0 106 1 0 1 1 0 8 0 amappl13 176 8 0 8 2 2 0 1 0 8 0 amappl12 168 872 0 857 2 1 1 2 0 8 0 amappl11 160 76 0 62 1 0 1 1 0 8 0 amappl10 152 14 0 14 1 0 1 1 0 8 1 amappl9 144 137 0 137 1 0 1 1 0 8 1 amappl8 136 68 0 67 1 0 1 1 0 8 0 amappl7 128 99 0 87 1 0 1 1 0 8 0 amappl6 120 117 0 112 1 0 1 1 0 8 0 amappl5 112 112 0 100 1 0 1 1 0 8 0 amappl4 104 362 0 340 1 0 1 1 0 8 0 amappl3 96 2196 0 2158 2 1 1 2 0 8 0 amappl2 88 644 0 588 2 0 2 2 0 8 0 amappl1 80 9273 0 8797 12 0 12 12 0 8 0 amappl 88 2182 0 2126 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 72 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 323 0 308 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 323 0 308 1 0 1 1 0 8 0 vmmpekpl 168 7353 0 7338 1 0 1 1 0 8 0 vmmpepl 168 34684 0 33636 52 1 51 52 0 357 5 vmsppl 464 322 0 308 3 0 3 3 0 8 0 rwobjpl 56 18350 0 16196 33 1 32 33 0 8 1 pdppl 4096 654 0 616 54 16 38 46 0 8 0 pvpl 32 268161 0 263363 58 2 56 57 0 265 16 pmappl 248 322 0 308 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 475 0 19 14 0 14 14 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace rtrequest(1,ffff80002123d998,0,ffff80002123d908,0) at rtrequest+0x8e1 sys/net/route.c:941 rtm_output(ffff800000cd1c00,ffff80002123da40,ffff80002123d998,0,0) at rtm_output+0x5f7 sys/net/rtsock.c:958 route_output(fffffd8074e97800,fffffd8075010b88) at route_output+0x6b3 sys/net/rtsock.c:863 route_send(fffffd8075010b88,fffffd8074e97800,0,0) at route_send+0x8f sys/net/rtsock.c:339 sosend(fffffd8075010b88,0,ffff80002123dc00,0,0,0) at sosend+0x66d sendit(ffff8000211a3a98,3,ffff80002123dd00,0,ffff80002123dde0) at sendit+0x65d sys/kern/uipc_syscalls.c:786 sys_sendto(ffff8000211a3a98,ffff80002123dd90,ffff80002123dde0) at sys_sendto+0x84 sys/kern/uipc_syscalls.c:564 syscall(ffff80002123de60) at syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002123de60) at syscall+0x606 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ae5efc482a0, count: -9 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffff800020d48ff0) at x86_ipi_db+0x1e 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+0x27 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020d48ff0) at sched_idle+0x41e sys/kern/kern_sched.c:191 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff800020d48ff0) at x86_ipi_db+0x1e 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+0x27 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020d48ff0) at sched_idle+0x41e sys/kern/kern_sched.c:191 end trace frame: 0x0, count: -5 ddb{1}>