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 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