uvm_fault(0xffffffff839795b0, 0xffff80002ec68fb8, 0, 1) -> e kernel: page fault trap, code=0 Stopped at mtx_enter_try+0x7b: movl 0x8(%r14),%r15d TID PID UID PRFLAGS PFLAGS CPU COMMAND 290263 84773 0 0x14000 0x200 1 reaper mtx_enter_try(ffff80002ec68fb0) at mtx_enter_try+0x7b sys/kern/kern_lock.c:290 mtx_enter(ffff80002ec68fb0) at mtx_enter+0x62 sys/kern/kern_lock.c:261 filt_procdetach(fffffd8062a40ca8) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff8000fffe8a80,fffffd806ef44e00,fffffd806ef44ea0,1,1) at knote_remove+0x2db sys/kern/kern_event.c:-1 kqueue_purge(ffff8000fffe8a80,fffffd806ef44e00) at kqueue_purge+0x137 sys/kern/kern_event.c:1890 kqueue_close(fffffd8060c5f1a8,ffff8000fffe8a80) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd8060c5f1a8,ffff8000fffe8a80) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8060c5f1a8,ffff8000fffe8a80) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff8000fffe8a80) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff8000fffe8a80,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000fffe8a80,ffff80003a00a470,ffff80003a00a3c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003a00a470) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003a00a470) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x76b7ca490cd0, count: 2 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(0xffffffff839795b0, 0xffff80002ec68fb8, 0, 1) -> e ddb{0}> trace mtx_enter_try(ffff80002ec68fb0) at mtx_enter_try+0x7b sys/kern/kern_lock.c:290 mtx_enter(ffff80002ec68fb0) at mtx_enter+0x62 sys/kern/kern_lock.c:261 filt_procdetach(fffffd8062a40ca8) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff8000fffe8a80,fffffd806ef44e00,fffffd806ef44ea0,1,1) at knote_remove+0x2db sys/kern/kern_event.c:-1 kqueue_purge(ffff8000fffe8a80,fffffd806ef44e00) at kqueue_purge+0x137 sys/kern/kern_event.c:1890 kqueue_close(fffffd8060c5f1a8,ffff8000fffe8a80) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd8060c5f1a8,ffff8000fffe8a80) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8060c5f1a8,ffff8000fffe8a80) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff8000fffe8a80) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff8000fffe8a80,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000fffe8a80,ffff80003a00a470,ffff80003a00a3c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003a00a470) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003a00a470) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x76b7ca490cd0, count: -13 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80003a00a020 rbx 0xfffffd8062a40c00 rdx 0 rcx 0xffff8000fffe8a80 rax 0xffffffff837d9f00 cpu_info_full_primary+0x1f00 r8 0x1 r9 0x1 r10 0xdddeabf123210657 r11 0xa94ddd3b533a4816 r12 0xffffffff83510bb8 proc_filtops r13 0xffffffff837d9ff0 cpu_info_full_primary+0x1ff0 r14 0xffff80002ec68fb0 r15 0 rip 0xffffffff815a952b mtx_enter_try+0x7b cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff80003a009fe0 ss 0x10 mtx_enter_try+0x7b: movl 0x8(%r14),%r15d ddb{0}> show proc PROC (syz-executor) tid=103258 pid=28806 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=72, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff8000fffe8a80 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003c418fb8,0xffffffff83979770 process=0xffff8000fffe6b70 user=0xffff80003a005000, vmspace=0xfffffd8064c9e028 estcpu=22, cpticks=4, pctcpu=0.1, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 22927 278399 69230 0 3 0x82 nanoslp syz-executor 18868 2042 69230 0 3 0x82 nanoslp syz-executor 91050 47155 0 0 3 0x14200 bored sosplice 81401 343235 69230 0 3 0x82 nanoslp syz-executor 69230 85198 75772 0 3 0x82 wait syz-executor 75772 188760 97333 0 3 0x10008a sigsusp ksh 97333 267345 8729 0 3 0x98 kqread sshd-session 8729 279731 50991 0 3 0x92 kqread sshd-session 55872 102932 1 0 3 0x100083 ttyopn getty 50991 82124 1 0 3 0x88 kqread sshd 3533 123625 82267 74 3 0x1100092 bpf pflogd 82267 157579 1 0 3 0x80 sbwait pflogd 33826 505421 75851 73 3 0x1100090 kqread syslogd 75851 229183 1 0 3 0x100082 sbwait syslogd 73203 406688 1 0 3 0x100080 kqread resolvd 72598 451134 14207 77 3 0x100092 kqread dhcpleased 27159 318063 14207 77 3 0x100092 kqread dhcpleased 14207 186214 1 0 3 0x80 kqread dhcpleased 53906 477957 0 0 3 0x14200 bored smr 54659 34580 0 0 3 0x14200 pgzero zerothread 90172 114122 0 0 3 0x14200 aiodoned aiodoned 74287 18768 0 0 3 0x14200 syncer update 83109 189411 0 0 3 0x14200 cleaner cleaner 84773 290263 0 0 7 0x14200 reaper 78807 253801 0 0 3 0x14200 pgdaemon pagedaemon 11230 298541 0 0 3 0x14200 bored viomb 50962 12050 0 0 3 0x40014200 acpi0 acpi0 21356 248341 0 0 3 0x40014200 idle1 80871 487054 0 0 3 0x14200 bored softnet1 79344 372637 0 0 3 0x14200 bored softnet0 28684 436076 0 0 3 0x14200 smrbar systqmp 40626 282159 0 0 3 0x14200 bored systq 31329 37179 0 0 3 0x14200 tmoslp softclockmp 48104 289507 0 0 3 0x40014200 tmoslp softclock 87706 432900 0 0 3 0x40014200 idle0 1 22537 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 28684 (systqmp) thread 0xffff8000ffffe530 (436076) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10230 11032K 11148K 166960K 11748 0 pcb 17 14K 16K 166960K 326 0 rtable 174 7K 9K 166960K 549 0 pf 34 17K 81K 166960K 135 0 ifaddr 33 5K 8K 166960K 90 0 ifgroup 51 2K 2K 166960K 132 0 sysctl 3 1K 9K 166960K 10 0 counters 66 36K 37K 166960K 146 0 ioctlops 0 0K 4K 166960K 1666 0 iov 0 0K 24K 166960K 38 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1337 84K 85K 166960K 1809 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 14 0 VM map 2 1K 1K 166960K 2 0 sem 12 1K 1K 166960K 165 0 dirhash 12 2K 2K 166960K 27 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 13 45K 236K 166960K 807 0 sigio 0 0K 0K 166960K 13 0 proc 72 115K 196K 166960K 622 0 subproc 72 4K 4K 166960K 91 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 71 0 in_multi 66 4K 7K 166960K 146 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 6 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 253 1129K 1129K 166960K 253 0 exec 0 0K 1K 166960K 491 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 214 166K 181K 166960K 8891 0 UVM aobj 20 2K 2K 166960K 22 0 pinsyscall 38 76K 104K 166960K 2000 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 29 0 NDP 11 0K 1K 166960K 60 0 temp 45 8648K 8774K 166960K 25386 0 kqueue 15 22K 28K 166960K 145 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 87 0 84 1 0 1 1 0 8 0 rtentry 176 153 0 84 6 0 6 6 0 8 0 unpcb 144 657 0 640 9 5 4 6 0 8 3 syncache 336 4 0 4 2 1 1 1 0 8 1 tcpcb 736 144 0 140 2 1 1 2 0 8 0 arp 136 25 0 11 1 0 1 1 0 8 0 inpcb 328 869 0 862 12 5 7 7 0 8 6 nd6 152 33 0 17 2 0 2 2 0 8 0 pkpcb 40 8 0 8 2 1 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 mppekey 1024 2 0 2 1 0 1 1 0 8 1 ppxss 1192 30 0 30 2 1 1 1 0 8 1 pppxif 1504 5 0 5 2 1 1 1 0 8 1 pffrag 232 7 0 4 1 0 1 1 0 482 0 pffrnode 88 7 0 4 1 0 1 1 0 8 0 pffrent 40 13 0 10 1 0 1 1 0 8 0 pfosfp 40 1429 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1429 0 714 21 0 21 21 0 8 0 pfrktable 1344 2 0 2 2 2 0 1 0 8 0 pfanchor 1288 3 0 0 1 0 1 1 0 8 0 pfstitem 24 69 0 1 1 0 1 1 0 8 0 pfstkey 128 75 0 7 3 0 3 3 0 8 0 pfstate 384 71 0 4 7 0 7 7 0 8 0 pfrule 1344 25 0 19 2 0 2 2 0 8 0 rttmr 136 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 675 0 333 31 1 30 31 0 8 7 art_table 40 676 0 333 5 0 5 5 0 8 0 art_node 32 152 0 80 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 3 2 1 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 162 0 152 1 0 1 1 0 8 0 shmpl 112 19 0 2 1 0 1 1 0 8 0 dirhash 1024 27 0 10 3 0 3 3 0 8 0 dino2pl 256 2819 0 1310 96 0 96 96 0 8 0 ffsino 296 2821 0 1312 118 0 118 118 0 8 0 nchpl 144 3850 0 2141 64 0 64 64 0 8 0 rtmask 32 4 0 4 1 0 1 1 0 8 1 vnodes 216 3073 0 0 171 0 171 171 0 8 0 namei 1024 13058 0 13058 3 2 1 2 0 8 1 percpumem 16 88 0 40 1 0 1 1 0 8 0 kstatmem 264 82 0 56 3 0 3 3 0 8 1 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 4 0 4 2 1 1 1 0 8 1 scxspl 216 18108 0 18108 11 9 2 8 1 8 2 plimitpl 152 297 0 278 1 0 1 1 0 8 0 sigapl 424 1388 0 1344 35 6 29 35 0 8 22 knotepl 120 322 0 0 10 0 10 10 0 8 0 kqueuepl 224 254 0 244 3 1 2 3 0 8 1 pipepl 344 206 0 179 6 3 3 6 0 8 0 fdescpl 528 1091 0 1064 3 0 3 3 0 8 0 filepl 160 6410 0 6204 20 4 16 16 0 8 4 lockfpl 104 287 0 285 1 0 1 1 0 8 0 lockfspl 48 97 0 95 1 0 1 1 0 8 0 sessionpl 144 24 0 15 1 0 1 1 0 8 0 pgrppl 48 47 0 30 1 0 1 1 0 8 0 ucredpl 104 1039 0 1026 1 0 1 1 0 8 0 zombiepl 144 1352 0 1344 2 1 1 1 0 8 0 processpl 1232 1388 0 1344 24 3 21 24 0 8 15 procpl 664 2464 0 2420 27 7 20 27 0 8 13 sosppl 168 3 0 3 1 0 1 1 0 8 1 sockpl 752 1648 0 1621 31 20 11 17 0 8 8 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 112 0 0 14 0 14 14 0 8 0 mcl2k 2048 42 0 0 6 0 6 6 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 180 0 0 12 0 12 12 0 8 0 bufpl 280 6717 0 580 439 0 439 439 0 8 0 anonpl 32 7564 0 0 62 1 61 61 0 246 0 amapchunkpl 152 29510 0 29120 34 6 28 29 0 158 5 amappl16 200 3765 0 3708 21 6 15 15 0 8 6 amappl15 192 1 0 1 1 1 0 1 0 8 0 amappl14 184 12 0 11 1 0 1 1 0 8 0 amappl13 176 455 0 454 1 0 1 1 0 8 0 amappl12 168 1484 0 1446 3 0 3 3 0 8 0 amappl11 160 4 0 4 1 1 0 1 0 8 0 amappl10 152 54 0 40 1 0 1 1 0 8 0 amappl9 144 248 0 248 1 1 0 1 0 8 0 amappl8 136 28 0 26 1 0 1 1 0 8 0 amappl7 128 93 0 91 1 0 1 1 0 8 0 amappl6 120 304 0 291 1 0 1 1 0 8 0 amappl5 112 80 0 69 1 0 1 1 0 8 0 amappl4 104 442 0 411 1 0 1 1 0 8 0 amappl3 96 5091 0 5018 4 1 3 3 0 8 0 amappl2 88 1203 0 1129 2 0 2 2 0 8 0 amappl1 80 12070 0 11491 14 1 13 14 0 8 0 amappl 88 8005 0 7870 5 0 5 5 0 92 0 uvmvnodes 80 3073 0 0 63 0 63 63 0 8 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 7 0 7 2 1 1 1 0 8 1 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 21 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1091 0 1064 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1091 0 1064 1 0 1 1 0 8 0 vmmpekpl 168 10697 0 10632 6 0 6 6 0 8 0 vmmpepl 168 75340 0 73600 106 8 98 98 0 357 10 vmsppl 488 1090 0 1064 6 1 5 5 0 8 0 rwobjpl 80 25416 0 21393 84 0 84 84 0 8 0 pdppl 4096 2190 0 2128 106 34 72 86 0 8 10 pvpl 32 14514 0 0 118 0 118 118 0 265 0 pmappl 256 1090 0 1064 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 286 0 41 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace mtx_enter_try(ffff80002ec68fb0) at mtx_enter_try+0x7b sys/kern/kern_lock.c:290 mtx_enter(ffff80002ec68fb0) at mtx_enter+0x62 sys/kern/kern_lock.c:261 filt_procdetach(fffffd8062a40ca8) at filt_procdetach+0x4d sys/kern/kern_event.c:432 knote_remove(ffff8000fffe8a80,fffffd806ef44e00,fffffd806ef44ea0,1,1) at knote_remove+0x2db sys/kern/kern_event.c:-1 kqueue_purge(ffff8000fffe8a80,fffffd806ef44e00) at kqueue_purge+0x137 sys/kern/kern_event.c:1890 kqueue_close(fffffd8060c5f1a8,ffff8000fffe8a80) at kqueue_close+0x48 sys/kern/kern_event.c:1934 fdrop(fffffd8060c5f1a8,ffff8000fffe8a80) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8060c5f1a8,ffff8000fffe8a80) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff8000fffe8a80) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff8000fffe8a80,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000fffe8a80,ffff80003a00a470,ffff80003a00a3c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003a00a470) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003a00a470) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x76b7ca490cd0, count: -13 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff8000299edff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff8389f680) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8389f680) at __mp_lock+0x192 sys/kern/kern_lock.c:165 pool_multi_free_ni(ffffffff83979800,ffff80002ee0a000) at pool_multi_free_ni+0x9a sys/kern/subr_pool.c:1708 pool_p_free(ffffffff83979800,ffff80002ee0bf90) at pool_p_free+0x1d0 sys/kern/subr_pool.c:1014 pool_put(ffffffff83979800,ffff8000fffe8fb0) at pool_put+0x309 pool_wakeup sys/kern/subr_pool.c:-1 [inline] pool_put(ffffffff83979800,ffff8000fffe8fb0) at pool_put+0x309 sys/kern/subr_pool.c:817 reaper(ffff8000ffffd4c8) at reaper+0xc2 _atomic_dec_int sys/arch/amd64/compile/SYZKALLER/obj/machine/atomic.h:155 [inline] reaper(ffff8000ffffd4c8) at reaper+0xc2 proc_free sys/kern/kern_exit.c:458 [inline] reaper(ffff8000ffffd4c8) at reaper+0xc2 sys/kern/kern_exit.c:497 end trace frame: 0x0, count: 7 ddb{1}> trace x86_ipi_db(ffff8000299edff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff8389f680) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8389f680) at __mp_lock+0x192 sys/kern/kern_lock.c:165 pool_multi_free_ni(ffffffff83979800,ffff80002ee0a000) at pool_multi_free_ni+0x9a sys/kern/subr_pool.c:1708 pool_p_free(ffffffff83979800,ffff80002ee0bf90) at pool_p_free+0x1d0 sys/kern/subr_pool.c:1014 pool_put(ffffffff83979800,ffff8000fffe8fb0) at pool_put+0x309 pool_wakeup sys/kern/subr_pool.c:-1 [inline] pool_put(ffffffff83979800,ffff8000fffe8fb0) at pool_put+0x309 sys/kern/subr_pool.c:817 reaper(ffff8000ffffd4c8) at reaper+0xc2 _atomic_dec_int sys/arch/amd64/compile/SYZKALLER/obj/machine/atomic.h:155 [inline] reaper(ffff8000ffffd4c8) at reaper+0xc2 proc_free sys/kern/kern_exit.c:458 [inline] reaper(ffff8000ffffd4c8) at reaper+0xc2 sys/kern/kern_exit.c:497 end trace frame: 0x0, count: -8