uvm_fault(0xfffffd806962e168, 0x4, 0, 1) -> e kernel: page fault trap, code=0 Stopped at igmp_leavegroup+0xaf: movl 0x4(%rax),%r12d TID PID UID PRFLAGS PFLAGS CPU COMMAND igmp_leavegroup(ffff800000dcb400,ffff8000006ab000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000dcb400) at in_delmulti+0xd3 sys/netinet/in.c:908 ip_freemoptions(ffff8000006bafa0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1737 in_pcbdetach(fffffd8063bbd2e0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:606 udp_detach(fffffd807576d210) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1139 soclose(fffffd807576d210,0) at soclose+0x80 pru_detach sys/sys/protosw.h:283 [inline] soclose(fffffd807576d210,0) at soclose+0x80 sys/kern/uipc_socket.c:410 soo_close(fffffd806cf02970,ffff80002a6b2cf8) at soo_close+0x44 fdrop(fffffd806cf02970,ffff80002a6b2cf8) at fdrop+0xd5 sys/kern/kern_descrip.c:1274 closef(fffffd806cf02970,ffff80002a6b2cf8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002a6b2cf8) at fdfree+0xe3 sys/kern/kern_descrip.c:1190 exit1(ffff80002a6b2cf8,0,0,1) at exit1+0x371 sys/kern/kern_exit.c:199 sys_exit(ffff80002a6b2cf8,ffff8000377f1ac0,ffff8000377f1a10) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff8000377f1ac0) at syscall+0x72a sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73ca5972c780, count: 1 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(0xfffffd806962e168, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000dcb400,ffff8000006ab000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000dcb400) at in_delmulti+0xd3 sys/netinet/in.c:908 ip_freemoptions(ffff8000006bafa0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1737 in_pcbdetach(fffffd8063bbd2e0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:606 udp_detach(fffffd807576d210) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1139 soclose(fffffd807576d210,0) at soclose+0x80 pru_detach sys/sys/protosw.h:283 [inline] soclose(fffffd807576d210,0) at soclose+0x80 sys/kern/uipc_socket.c:410 soo_close(fffffd806cf02970,ffff80002a6b2cf8) at soo_close+0x44 fdrop(fffffd806cf02970,ffff80002a6b2cf8) at fdrop+0xd5 sys/kern/kern_descrip.c:1274 closef(fffffd806cf02970,ffff80002a6b2cf8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002a6b2cf8) at fdfree+0xe3 sys/kern/kern_descrip.c:1190 exit1(ffff80002a6b2cf8,0,0,1) at exit1+0x371 sys/kern/kern_exit.c:199 sys_exit(ffff80002a6b2cf8,ffff8000377f1ac0,ffff8000377f1a10) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff8000377f1ac0) at syscall+0x72a sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73ca5972c780, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff8000377f1660 rbx 0x4 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0x13a1a6ac075efd06 r11 0x9895872b0856f828 r12 0 r13 0x3 r14 0xffff800000dcb400 r15 0xffff8000006ab000 rip 0xffffffff826e05cf igmp_leavegroup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000377f1630 ss 0x10 igmp_leavegroup+0xaf: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.3) tid=360485 pid=67802 tcnt=1 stat=onproc flags process=8001008 proc=2000 runpri=32, usrpri=85, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a6b2cf8 forw=0xffffffffffffffff, list=0xffff80002f562a70,0xffff80002a6b2f98 process=0xffff8000ffff1d68 user=0xffff8000377ec000, vmspace=0xfffffd806962e168 estcpu=35, cpticks=2, pctcpu=0.4, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 18048 390522 96969 0 3 0x8000080 nanoslp syz-executor.5 18048 392411 96969 0 3 0xc000000 smrbar syz-executor.5 26887 94525 9658 60928 2 0x8000490 syz-executor.1 26887 430045 9658 60928 3 0xc000090 netcon syz-executor.1 26887 81280 9658 60928 3 0xc000090 fsleep syz-executor.1 30312 126468 14512 0 2 0x8000480 syz-executor.0 30312 359574 14512 0 3 0xc000080 kqread syz-executor.0 51173 6938 83400 0 3 0x8000080 nanoslp syz-executor.6 51173 202978 83400 0 3 0xc000080 fsleep syz-executor.6 51173 19587 83400 0 3 0xc000080 msgwait syz-executor.6 51173 276324 83400 0 3 0xc000080 fsleep syz-executor.6 33279 301171 0 0 3 0x14200 acct acct 6480 71146 0 0 3 0x14280 nfsidl nfsio 93106 433248 0 0 3 0x14280 nfsidl nfsio 75613 317894 0 0 3 0x14280 nfsidl nfsio 81244 476940 0 0 3 0x14280 nfsidl nfsio 81032 27334 0 0 3 0x14280 nfsidl nfsio 48031 259279 0 0 3 0x14280 nfsidl nfsio 65666 350826 0 0 3 0x14280 nfsidl nfsio 75150 165447 0 0 3 0x14280 nfsidl nfsio 70995 388610 0 0 3 0x14280 nfsidl nfsio 88951 406179 0 0 3 0x14280 nfsidl nfsio 62711 181435 0 0 3 0x14280 nfsidl nfsio 4521 13332 0 0 3 0x14280 nfsidl nfsio 48861 342789 0 0 3 0x14280 nfsidl nfsio 27367 292881 0 0 3 0x14280 nfsidl nfsio 42966 79408 0 0 3 0x14280 nfsidl nfsio 43284 20364 0 0 3 0x14280 nfsidl nfsio 41455 167361 0 0 3 0x14280 nfsidl nfsio 58476 53582 0 0 3 0x14280 nfsidl nfsio 31829 149809 0 0 3 0x14280 nfsidl nfsio 78751 266996 0 0 3 0x14280 nfsidl nfsio 76857 425038 0 0 3 0x14200 bored sosplice 36783 489910 12874 0 2 0x8000482 syz-executor.7 96969 27644 12874 0 2 0x8000482 syz-executor.5 83400 488316 12874 0 2 0x8000482 syz-executor.6 37202 399540 12874 0 3 0x8000082 nanoslp syz-executor.4 43123 332149 12874 0 3 0x8000082 nanoslp syz-executor.3 2477 333353 12874 0 2 0x8000482 syz-executor.2 9658 426649 12874 0 2 0x8000482 syz-executor.1 14512 259238 12874 0 3 0x8000082 nanoslp syz-executor.0 12874 461735 79278 0 3 0x1a000082 wait syz-fuzzer 12874 492103 79278 0 3 0x1e000082 thrsleep syz-fuzzer 12874 483261 79278 0 3 0x1e000082 wait syz-fuzzer 12874 416389 79278 0 3 0x1e000082 wait syz-fuzzer 12874 330726 79278 0 3 0x1e000082 thrsleep syz-fuzzer 12874 329712 79278 0 3 0x1e000082 wait syz-fuzzer 12874 198325 79278 0 3 0x1e000082 wait syz-fuzzer 12874 228101 79278 0 3 0x1e000082 wait syz-fuzzer 12874 112131 79278 0 3 0x1e000082 thrsleep syz-fuzzer 12874 351319 79278 0 3 0x1e000082 wait syz-fuzzer 12874 180502 79278 0 3 0x1e000082 thrsleep syz-fuzzer 12874 9301 79278 0 3 0x1e000082 wait syz-fuzzer 12874 302552 79278 0 3 0x1e000082 thrsleep syz-fuzzer 12874 336484 79278 0 3 0x1e000082 kqread syz-fuzzer 79278 404109 75778 0 3 0x810008a sigsusp ksh 75778 57639 20289 0 3 0x1800009a kqread sshd 32265 422398 1 0 3 0x18100083 ttyin getty 20289 172396 1 0 3 0x18000088 kqread sshd 80149 39816 888 73 3 0x19100090 kqread syslogd 888 301235 1 0 3 0x18100082 sbwait syslogd 61370 210908 1 0 3 0x18100080 kqread resolvd 93830 379904 33813 77 3 0x18100092 kqread dhcpleased 80185 233633 33813 77 3 0x18100092 kqread dhcpleased 33813 266890 1 0 3 0x18000080 kqread dhcpleased 83065 268225 0 0 2 0x14200 smr 53165 436614 0 0 2 0x14200 zerothread 32377 218958 0 0 3 0x14200 aiodoned aiodoned 91172 334875 0 0 3 0x14200 syncer update 52169 77479 0 0 3 0x14200 cleaner cleaner 33359 42985 0 0 3 0x14200 reaper reaper 34138 163214 0 0 3 0x14200 pgdaemon pagedaemon 88429 12408 0 0 3 0x14200 bored viomb 19251 385697 0 0 3 0x40014200 acpi0 acpi0 47228 426413 0 0 3 0x14200 bored softnet3 60570 67069 0 0 3 0x14200 bored softnet2 84954 178403 0 0 3 0x14200 bored softnet1 44455 17897 0 0 3 0x14200 bored softnet0 65665 70115 0 0 3 0x14200 bored systqmp 38766 18464 0 0 3 0x14200 bored systq 60294 465099 0 0 2 0x40014200 softclock 21572 391566 0 0 3 0x40014200 idle0 1 403684 0 0 3 0x8000082 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 10187 6548K 6987K 166960K 12799 0 pcb 16 12K 14K 166960K 139 0 rtable 220 6K 7K 166960K 398 0 pf 34 9K 9K 166960K 62 0 ifaddr 42 11K 11K 166960K 60 0 ifgroup 57 2K 2K 166960K 101 0 counters 32 17K 17K 166960K 43 0 ioctlops 0 0K 2K 166960K 49 0 iov 0 0K 16K 166960K 27 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1431 90K 90K 166960K 2001 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 11 1K 1K 166960K 15 0 dirhash 12 2K 3K 166960K 45 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 16 57K 69K 166960K 627 0 sigio 0 0K 0K 166960K 19 0 proc 58 59K 75K 166960K 513 0 subproc 104 6K 6K 166960K 105 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 132 0 in_multi 89 6K 7K 166960K 120 0 ether_multi 1 0K 0K 166960K 5 0 mrt 0 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 401 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 301 111K 119K 166960K 7711 0 UVM aobj 13 2K 2K 166960K 13 0 pinsyscall 36 72K 100K 166960K 1755 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 27 0 NDP 13 0K 2K 166960K 40 0 temp 61 6800K 6866K 166960K 33274 0 kqueue 13 20K 24K 166960K 66 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 78 0 74 1 0 1 1 0 8 0 rtentry 112 123 0 20 4 0 4 4 0 8 0 unpcb 144 750 0 733 6 0 6 6 0 8 5 syncache 336 9 0 9 1 0 1 1 0 8 1 sackhl 24 4 0 4 1 0 1 1 0 8 1 tcpqe 32 139 0 139 1 0 1 1 0 8 1 tcpcb 808 175 0 164 2 0 2 2 0 8 0 arp 88 20 0 3 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 360 583 0 563 11 0 11 11 0 8 8 nd6 104 29 0 6 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 4 0 3 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 489 0 75 30 0 30 30 0 8 2 art_table 32 490 0 75 4 0 4 4 0 8 0 art_node 16 122 0 29 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 7 1 0 1 1 0 8 0 semupl 112 6 0 6 1 0 1 1 0 8 1 semapl 112 9 0 0 1 0 1 1 0 8 0 shmpl 112 10 0 0 1 0 1 1 0 8 0 dirhash 1024 39 0 22 3 0 3 3 0 8 0 dino2pl 256 2443 0 924 96 0 96 96 0 8 0 ffsino 240 2443 0 924 90 0 90 90 0 8 0 nchpl 144 3373 0 1601 66 0 66 66 0 8 0 uvmvnodes 80 3040 0 0 63 0 63 63 0 8 0 vnodes 216 3040 0 0 169 0 169 169 0 8 0 namei 1024 11423 0 11423 3 0 3 3 0 8 3 vcpupl 2048 3 0 0 1 0 1 1 0 8 0 vmpool 664 7 0 4 1 0 1 1 0 8 0 kstatmem 264 48 0 22 2 0 2 2 0 8 0 scxspl 216 12201 0 12201 8 0 8 8 1 8 8 plimitpl 152 80 0 64 1 0 1 1 0 8 0 sigapl 424 970 0 903 8 0 8 8 0 8 0 futexpl 64 7858 0 7855 1 0 1 1 0 8 0 knotepl 120 9331 0 9248 10 0 10 10 0 8 6 kqueuepl 184 194 0 185 3 0 3 3 0 8 2 pipepl 288 178 0 150 3 0 3 3 0 8 1 fdescpl 432 912 0 885 4 0 4 4 0 8 0 filepl 120 5283 0 5026 16 0 16 16 0 8 5 lockfpl 104 308 0 306 2 0 2 2 0 8 1 lockfspl 48 147 0 145 1 0 1 1 0 8 0 sessionpl 144 23 0 7 1 0 1 1 0 8 0 pgrppl 48 38 0 22 1 0 1 1 0 8 0 ucredpl 104 487 0 475 1 0 1 1 0 8 0 zombiepl 144 907 0 903 1 0 1 1 0 8 0 processpl 1072 970 0 903 5 0 5 5 0 8 0 procpl 656 1627 0 1540 9 0 9 9 0 8 1 sosppl 168 6 0 6 1 0 1 1 0 8 1 sockpl 488 1414 0 1374 43 25 18 21 0 8 10 mcl64k 65536 8 0 7 1 0 1 1 0 8 0 mcl16k 16384 4 0 4 1 0 1 1 0 8 1 mcl12k 12288 28 0 28 1 0 1 1 0 8 1 mcl9k 9216 5 0 5 1 0 1 1 0 8 1 mcl8k 8192 35 0 35 1 0 1 1 0 8 1 mcl4k 4096 98 0 98 1 0 1 1 0 8 1 mcl2k2 2112 15 0 15 1 0 1 1 0 8 1 mcl2k 2048 19921 0 19868 35 20 15 35 0 8 7 mtagpl 96 57 0 12 2 0 2 2 0 8 0 mbufpl 256 66609 0 66359 196 167 29 112 0 8 8 bufpl 280 5719 0 189 395 0 395 395 0 8 0 anonpl 24 230135 0 224315 55 0 55 55 0 188 17 amapchunkpl 152 25353 0 24659 38 0 38 38 0 158 9 amappl16 200 5933 0 5816 13 0 13 13 0 8 5 amappl15 192 11 0 11 1 0 1 1 0 8 1 amappl14 184 149 0 135 2 0 2 2 0 8 1 amappl13 176 10 0 9 1 0 1 1 0 8 0 amappl12 168 1533 0 1506 2 0 2 2 0 8 0 amappl11 160 48 0 36 1 0 1 1 0 8 0 amappl10 152 56 0 47 1 0 1 1 0 8 0 amappl9 144 192 0 191 1 0 1 1 0 8 0 amappl8 136 112 0 73 2 0 2 2 0 8 0 amappl7 128 61 0 53 1 0 1 1 0 8 0 amappl6 120 329 0 316 2 0 2 2 0 8 1 amappl5 112 177 0 165 1 0 1 1 0 8 0 amappl4 104 496 0 466 2 0 2 2 0 8 1 amappl3 96 5534 0 5446 3 0 3 3 0 8 0 amappl2 88 1342 0 1271 4 0 4 4 0 8 2 amappl1 80 11282 0 10788 22 3 19 22 0 8 8 amappl 88 7153 0 6949 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 253 0 253 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 12 0 0 1 0 1 1 0 8 0 uaddrrnd 24 919 0 889 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 919 0 889 1 0 1 1 0 8 0 vmmpekpl 168 11190 0 11140 3 0 3 3 0 8 0 vmmpepl 168 74807 0 72935 114 0 114 114 0 357 28 vmsppl 344 918 0 889 3 0 3 3 0 8 0 rwobjpl 24 28195 0 24060 26 0 26 26 0 8 1 pdppl 4096 1844 0 1781 94 27 67 67 0 8 4 pvpl 32 548224 0 535897 391 40 351 391 0 265 248 pmappl 216 918 0 889 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 562 0 214 13 0 13 13 0 8 1 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000dcb400,ffff8000006ab000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000dcb400) at in_delmulti+0xd3 sys/netinet/in.c:908 ip_freemoptions(ffff8000006bafa0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1737 in_pcbdetach(fffffd8063bbd2e0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:606 udp_detach(fffffd807576d210) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1139 soclose(fffffd807576d210,0) at soclose+0x80 pru_detach sys/sys/protosw.h:283 [inline] soclose(fffffd807576d210,0) at soclose+0x80 sys/kern/uipc_socket.c:410 soo_close(fffffd806cf02970,ffff80002a6b2cf8) at soo_close+0x44 fdrop(fffffd806cf02970,ffff80002a6b2cf8) at fdrop+0xd5 sys/kern/kern_descrip.c:1274 closef(fffffd806cf02970,ffff80002a6b2cf8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002a6b2cf8) at fdfree+0xe3 sys/kern/kern_descrip.c:1190 exit1(ffff80002a6b2cf8,0,0,1) at exit1+0x371 sys/kern/kern_exit.c:199 sys_exit(ffff80002a6b2cf8,ffff8000377f1ac0,ffff8000377f1a10) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff8000377f1ac0) at syscall+0x72a sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73ca5972c780, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000dcb400,ffff8000006ab000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000dcb400) at in_delmulti+0xd3 sys/netinet/in.c:908 ip_freemoptions(ffff8000006bafa0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1737 in_pcbdetach(fffffd8063bbd2e0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:606 udp_detach(fffffd807576d210) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1139 soclose(fffffd807576d210,0) at soclose+0x80 pru_detach sys/sys/protosw.h:283 [inline] soclose(fffffd807576d210,0) at soclose+0x80 sys/kern/uipc_socket.c:410 soo_close(fffffd806cf02970,ffff80002a6b2cf8) at soo_close+0x44 fdrop(fffffd806cf02970,ffff80002a6b2cf8) at fdrop+0xd5 sys/kern/kern_descrip.c:1274 closef(fffffd806cf02970,ffff80002a6b2cf8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002a6b2cf8) at fdfree+0xe3 sys/kern/kern_descrip.c:1190 exit1(ffff80002a6b2cf8,0,0,1) at exit1+0x371 sys/kern/kern_exit.c:199 sys_exit(ffff80002a6b2cf8,ffff8000377f1ac0,ffff8000377f1a10) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff8000377f1ac0) at syscall+0x72a sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73ca5972c780, count: -14