uvm_fault(0xfffffd806f328458, 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(ffff800000ce2480,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000ce2480) at in_delmulti+0xd3 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c6830) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd8077addd20) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:589 udp_detach(fffffd80673643f8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd80673643f8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd80673643f8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd806c99f268,ffff8000216e5348) at soo_close+0x44 fdrop(fffffd806c99f268,ffff8000216e5348) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd806c99f268,ffff8000216e5348) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000216e5348) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000216e5348,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000216e5348,ffff800024b62480,ffff800024b624d0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800024b62550) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e3c47e03810, 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(0xfffffd806f328458, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000ce2480,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000ce2480) at in_delmulti+0xd3 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c6830) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd8077addd20) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:589 udp_detach(fffffd80673643f8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd80673643f8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd80673643f8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd806c99f268,ffff8000216e5348) at soo_close+0x44 fdrop(fffffd806c99f268,ffff8000216e5348) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd806c99f268,ffff8000216e5348) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000216e5348) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000216e5348,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000216e5348,ffff800024b62480,ffff800024b624d0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800024b62550) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e3c47e03810, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff800024b62110 rbx 0x5 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0x2ae678d38f89895c r11 0x3998125d79a34234 r12 0 r13 0x3 r14 0xffff800000ce2480 r15 0xffff8000006b7000 rip 0xffffffff81c4d38f igmp_leavegroup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800024b620e0 ss 0x10 igmp_leavegroup+0xaf: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.3) pid=489407 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=84, nice=20 forw=0xffffffffffffffff, list=0xffff8000216eeb08,0xffff8000216ee5a8 process=0xffff8000216767f0 user=0xffff800024b5d000, vmspace=0xfffffd806f328458 estcpu=34, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 36660 421215 72082 0 3 0x80 nanoslp syz-executor.2 36660 141115 72082 0 3 0x4000080 ttyout syz-executor.2 36660 19136 72082 0 3 0x4000080 fsleep syz-executor.2 73042 158405 30936 0 3 0x82 piperd syz-executor.1 68083 411482 30936 0 3 0x82 piperd syz-executor.0 72082 480233 30936 0 3 0x82 nanoslp syz-executor.2 58654 208582 30936 0 3 0x82 piperd syz-executor.6 18673 153597 0 0 3 0x14280 nfsidl nfsio 14001 337779 0 0 3 0x14280 nfsidl nfsio 16595 204769 0 0 3 0x14280 nfsidl nfsio 53712 151521 0 0 3 0x14280 nfsidl nfsio 40422 176193 0 0 3 0x14280 nfsidl nfsio 23584 290239 0 0 3 0x14280 nfsidl nfsio 59211 494163 0 0 3 0x14280 nfsidl nfsio 54974 61136 0 0 3 0x14280 nfsidl nfsio 34418 181800 0 0 3 0x14280 nfsidl nfsio 37277 200077 0 0 3 0x14280 nfsidl nfsio 41528 466266 0 0 3 0x14280 nfsidl nfsio 16049 275272 0 0 3 0x14280 nfsidl nfsio 65817 422273 0 0 3 0x14280 nfsidl nfsio 13724 482975 0 0 3 0x14280 nfsidl nfsio 89663 916 0 0 3 0x14280 nfsidl nfsio 49997 107395 0 0 3 0x14280 nfsidl nfsio 53684 249463 0 0 3 0x14280 nfsidl nfsio 44599 8812 0 0 3 0x14280 nfsidl nfsio 38738 181599 0 0 3 0x14280 nfsidl nfsio 42618 91615 0 0 3 0x14280 nfsidl nfsio 54726 126299 0 0 3 0x14200 bored sosplice 74151 381963 30936 0 3 0x82 piperd syz-executor.7 58803 217724 30936 0 3 0x82 piperd syz-executor.5 31524 326854 30936 0 3 0x82 piperd syz-executor.4 34748 294992 30936 0 3 0x82 nanoslp syz-executor.3 30936 295860 47862 0 3 0x82 wait syz-fuzzer 30936 90716 47862 0 3 0x4000082 thrsleep syz-fuzzer 30936 429234 47862 0 3 0x4000082 wait syz-fuzzer 30936 252871 47862 0 3 0x4000082 thrsleep syz-fuzzer 30936 223584 47862 0 3 0x4000082 thrsleep syz-fuzzer 30936 259962 47862 0 3 0x4000082 wait syz-fuzzer 30936 55836 47862 0 3 0x4000082 wait syz-fuzzer 30936 401329 47862 0 3 0x4000082 kqread syz-fuzzer 30936 43332 47862 0 3 0x4000082 wait syz-fuzzer 30936 415811 47862 0 3 0x4000082 wait syz-fuzzer 30936 254120 47862 0 3 0x4000082 thrsleep syz-fuzzer 30936 261587 47862 0 3 0x4000082 wait syz-fuzzer 30936 173706 47862 0 3 0x4000082 thrsleep syz-fuzzer 30936 327421 47862 0 3 0x4000082 wait syz-fuzzer 47862 70169 90958 0 3 0x10008a sigsusp ksh 90958 392764 86356 0 3 0x9a kqread sshd 40824 465273 1 0 3 0x100083 ttyin getty 86356 116445 1 0 3 0x88 kqread sshd 27840 51038 22449 73 3 0x1100090 kqread syslogd 22449 445693 1 0 3 0x100082 netio syslogd 68766 186581 1 0 3 0x100080 kqread resolvd 38297 159517 19373 77 3 0x100092 kqread dhcpleased 10213 273643 19373 77 3 0x100092 kqread dhcpleased 19373 420351 1 0 3 0x80 kqread dhcpleased 74878 191652 0 0 3 0x14200 bored smr 83133 460704 0 0 3 0x14200 pgzero zerothread 73664 119241 0 0 3 0x14200 aiodoned aiodoned 35969 427501 0 0 3 0x14200 syncer update 78359 355874 0 0 3 0x14200 cleaner cleaner 60937 19148 0 0 3 0x14200 reaper reaper 19834 67615 0 0 3 0x14200 pgdaemon pagedaemon 55257 268422 0 0 3 0x14200 bored viomb 76512 346090 0 0 3 0x40014200 acpi0 acpi0 23372 204345 0 0 3 0x14200 bored softnet3 58141 153972 0 0 3 0x14200 bored softnet2 89182 423496 0 0 3 0x14200 bored softnet1 67810 339151 0 0 3 0x14200 bored softnet0 60447 221308 0 0 3 0x14200 bored systqmp 80133 437919 0 0 3 0x14200 bored systq 60688 331413 0 0 3 0x40014200 bored softclock 75751 258303 0 0 3 0x40014200 idle0 1 393251 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 10195 6407K 7479K 78643K 13599 0 pcb 13 12K 14K 78643K 214 0 rtable 197 14K 14K 78643K 773 0 pf 31 9K 1036K 78643K 115 0 ifaddr 40 10K 11K 78643K 114 0 ifgroup 54 2K 2K 78643K 184 0 sysctl 2 0K 0K 78643K 2 0 counters 27 17K 17K 78643K 56 0 ioctlops 0 0K 2K 78643K 124 0 iov 0 0K 24K 78643K 208 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1477 92K 92K 78643K 2324 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 26 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 286 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 12 41K 73K 78643K 1555 0 sigio 0 0K 0K 78643K 16 0 proc 58 59K 75K 78643K 881 0 subproc 104 6K 6K 78643K 259 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 366 0 in_multi 81 6K 7K 78643K 467 0 ether_multi 1 0K 0K 78643K 3 0 mrt 0 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 223 996K 996K 78643K 223 0 exec 0 0K 1K 78643K 737 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 299 86K 89K 78643K 16057 0 UVM aobj 59 2K 2K 78643K 65 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 46 0 NDP 12 0K 2K 78643K 81 0 temp 74 5856K 5932K 78643K 15274 0 kqueue 12 18K 24K 78643K 98 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 145 0 142 2 1 1 2 0 8 0 rtentry 112 240 0 153 4 0 4 4 0 8 0 unpcb 144 2330 0 2315 21 15 6 8 0 8 5 syncache 296 10 0 10 3 3 0 1 0 8 0 tcpqe 32 121 0 121 3 3 0 1 0 8 0 tcpcb 776 615 0 611 24 17 7 8 0 8 6 arp 88 40 0 24 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 68 0 67 1 0 1 1 0 8 0 inpcb 336 1888 0 1880 17 10 7 7 0 8 6 nd6 104 59 0 38 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 1 0 1 0 8 0 kcovpl 48 19 0 11 1 0 1 1 0 8 0 ppxss 1160 8 0 8 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1042 0 695 29 6 23 29 0 8 1 art_table 32 1043 0 695 4 0 4 4 0 8 0 art_node 16 239 0 163 1 0 1 1 0 8 0 sysvmsgpl 40 47 0 38 1 0 1 1 0 8 0 semapl 112 284 0 274 1 0 1 1 0 8 0 shmpl 112 62 0 6 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3347 0 1901 91 0 91 91 0 8 0 ffsino 240 3347 0 1901 86 0 86 86 0 8 0 nchpl 144 5372 0 3733 63 0 63 63 0 8 0 uvmvnodes 80 4199 0 0 86 0 86 86 0 8 0 vnodes 216 4199 0 0 234 0 234 234 0 8 0 namei 1024 21589 0 21589 4 3 1 3 0 8 1 kstatmem 264 82 0 58 2 0 2 2 0 8 0 scxspl 216 16165 0 16165 13 12 1 8 0 8 1 plimitpl 152 269 0 251 1 0 1 1 0 8 0 sigapl 424 1854 0 1794 8 0 8 8 0 8 0 futexpl 64 16186 0 16185 1 0 1 1 0 8 0 knotepl 120 26374 0 26294 19 15 4 11 0 8 0 kqueuepl 184 385 0 377 7 6 1 7 0 8 0 pipepl 288 417 0 389 7 4 3 7 0 8 0 fdescpl 432 1817 0 1794 4 0 4 4 0 8 0 filepl 120 13592 0 13312 26 14 12 15 0 8 3 lockfpl 104 568 0 566 3 2 1 2 0 8 0 lockfspl 48 186 0 184 1 0 1 1 0 8 0 sessionpl 144 34 0 18 1 0 1 1 0 8 0 pgrppl 48 83 0 67 1 0 1 1 0 8 0 ucredpl 104 1605 0 1595 1 0 1 1 0 8 0 zombiepl 144 1795 0 1794 1 0 1 1 0 8 0 processpl 1008 1854 0 1794 10 1 9 9 0 8 1 procpl 696 3930 0 3855 12 2 10 10 0 8 2 sosppl 168 22 0 22 4 3 1 1 0 8 1 sockpl 456 4366 0 4340 79 67 12 25 0 8 8 mcl64k 65536 298 0 298 1 0 1 1 0 8 1 mcl16k 16384 59 0 59 3 2 1 1 0 8 1 mcl12k 12288 125 0 125 3 2 1 1 0 8 1 mcl9k 9216 19 0 19 5 4 1 1 0 8 1 mcl8k 8192 143 0 143 3 2 1 1 0 8 1 mcl4k 4096 246 0 245 2 1 1 1 0 8 0 mcl2k2 2112 6 0 6 4 4 0 1 0 8 0 mcl2k 2048 74022 0 73977 40 32 8 31 0 8 2 mtagpl 96 512 0 179 10 1 9 9 0 8 0 mbufpl 256 141975 0 141534 173 140 33 81 0 8 2 bufpl 288 5969 0 149 416 0 416 416 0 8 0 anonpl 24 349320 0 334634 109 14 95 106 0 188 0 amapchunkpl 152 51774 0 50975 44 4 40 40 0 158 4 amappl16 200 8593 0 8150 38 11 27 37 0 8 2 amappl15 192 11 0 11 1 1 0 1 0 8 0 amappl14 184 193 0 178 2 1 1 2 0 8 0 amappl13 176 15 0 14 1 0 1 1 0 8 0 amappl12 168 2609 0 2585 2 0 2 2 0 8 0 amappl11 160 55 0 44 1 0 1 1 0 8 0 amappl10 152 49 0 41 2 1 1 1 0 8 0 amappl9 144 256 0 255 2 1 1 2 0 8 0 amappl8 136 215 0 163 2 0 2 2 0 8 0 amappl7 128 118 0 103 1 0 1 1 0 8 0 amappl6 120 321 0 305 2 1 1 2 0 8 0 amappl5 112 205 0 197 1 0 1 1 0 8 0 amappl4 104 758 0 726 2 0 2 2 0 8 0 amappl3 96 10209 0 10146 3 0 3 3 0 8 0 amappl2 88 2031 0 1977 4 2 2 3 0 8 0 amappl1 80 15627 0 15134 22 11 11 22 0 8 0 amappl 88 15432 0 15238 6 0 6 6 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 64 0 6 2 0 2 2 0 8 0 uaddrrnd 24 1817 0 1794 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1817 0 1794 1 0 1 1 0 8 0 vmmpekpl 168 19058 0 18999 3 0 3 3 0 8 0 vmmpepl 168 135368 0 133358 149 36 113 126 0 357 12 vmsppl 368 1816 0 1794 3 0 3 3 0 8 0 rwobjpl 24 42884 0 37218 35 0 35 35 0 8 0 pdppl 4096 3640 0 3588 242 178 64 68 0 8 12 pvpl 32 802568 0 783067 334 83 251 334 0 265 81 pmappl 216 1816 0 1794 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1124 0 380 22 0 22 22 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000ce2480,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000ce2480) at in_delmulti+0xd3 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c6830) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd8077addd20) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:589 udp_detach(fffffd80673643f8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd80673643f8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd80673643f8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd806c99f268,ffff8000216e5348) at soo_close+0x44 fdrop(fffffd806c99f268,ffff8000216e5348) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd806c99f268,ffff8000216e5348) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000216e5348) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000216e5348,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000216e5348,ffff800024b62480,ffff800024b624d0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800024b62550) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e3c47e03810, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000ce2480,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000ce2480) at in_delmulti+0xd3 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c6830) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd8077addd20) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:589 udp_detach(fffffd80673643f8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd80673643f8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd80673643f8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd806c99f268,ffff8000216e5348) at soo_close+0x44 fdrop(fffffd806c99f268,ffff8000216e5348) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd806c99f268,ffff8000216e5348) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000216e5348) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000216e5348,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000216e5348,ffff800024b62480,ffff800024b624d0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800024b62550) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e3c47e03810, count: -14