uvm_fault(0xfffffd8066e68bb8, 0x4, 0, 1) -> e kernel: page fault trap, code=0 Stopped at igmp_leavegroup+0x80: movl 0x4(%rax),%r12d TID PID UID PRFLAGS PFLAGS CPU COMMAND igmp_leavegroup(ffff800000bccd80) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000bccd80) at in_delmulti+0xb7 sys/netinet/in.c:917 ip_freemoptions(ffff8000006c3fe0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd806f3b0af8) at in_pcbdetach+0xfc sys/netinet/in_pcb.c:585 udp_detach(fffffd807ce08578) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1258 soclose(fffffd807ce08578,0) at soclose+0x245 sys/kern/uipc_socket.c:351 soo_close(fffffd807b44e178,ffff8000216667f0) at soo_close+0x40 fdrop(fffffd807b44e178,ffff8000216667f0) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd807b44e178,ffff8000216667f0) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000216667f0) at fdfree+0xf3 sys/kern/kern_descrip.c:1195 exit1(ffff8000216667f0,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:202 sys_exit(ffff8000216667f0,ffff80002e855da0,ffff80002e855e00) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff80002e855e70) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe2a90, 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(0xfffffd8066e68bb8, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000bccd80) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000bccd80) at in_delmulti+0xb7 sys/netinet/in.c:917 ip_freemoptions(ffff8000006c3fe0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd806f3b0af8) at in_pcbdetach+0xfc sys/netinet/in_pcb.c:585 udp_detach(fffffd807ce08578) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1258 soclose(fffffd807ce08578,0) at soclose+0x245 sys/kern/uipc_socket.c:351 soo_close(fffffd807b44e178,ffff8000216667f0) at soo_close+0x40 fdrop(fffffd807b44e178,ffff8000216667f0) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd807b44e178,ffff8000216667f0) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000216667f0) at fdfree+0xf3 sys/kern/kern_descrip.c:1195 exit1(ffff8000216667f0,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:202 sys_exit(ffff8000216667f0,ffff80002e855da0,ffff80002e855e00) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff80002e855e70) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe2a90, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002e855a20 rbx 0 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0x6c9b3cfb7d8773fa r11 0x2295c6f4c700eadf r12 0 r13 0x3 r14 0xffff8000006b5000 r15 0xffff800000bccd80 rip 0xffffffff81fe60f0 igmp_leavegroup+0x80 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002e8559f0 ss 0x10 igmp_leavegroup+0x80: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.0) pid=376994 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff8000215ecd20,0xffffffff8299abb8 process=0xffff800027f5c808 user=0xffff80002e850000, vmspace=0xfffffd8066e68bb8 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 19513 215823 54885 0 2 0 syz-executor.2 19513 12882 54885 0 3 0x4000080 kqsel syz-executor.2 19513 258942 54885 0 3 0x4000080 fsleep syz-executor.2 70054 138560 53883 0 3 0x82 nanoslp syz-executor.0 77944 193709 1 0 3 0x100083 ttyin getty 54885 331274 53883 0 3 0x82 nanoslp syz-executor.2 98201 176154 53883 0 3 0x82 nanoslp syz-executor.4 74655 62953 53883 0 3 0x82 nanoslp syz-executor.1 78617 285420 53883 0 3 0x82 piperd syz-executor.7 65673 168063 0 0 3 0x14280 nfsidl nfsio 19736 130072 0 0 3 0x14280 nfsidl nfsio 27183 76290 0 0 3 0x14280 nfsidl nfsio 4626 173246 0 0 3 0x14280 nfsidl nfsio 37705 34112 0 0 3 0x14280 nfsidl nfsio 93110 266124 0 0 3 0x14280 nfsidl nfsio 50226 14560 0 0 3 0x14280 nfsidl nfsio 60810 10584 0 0 3 0x14280 nfsidl nfsio 85010 188044 0 0 3 0x14280 nfsidl nfsio 43293 448225 0 0 3 0x14280 nfsidl nfsio 35907 186667 0 0 3 0x14280 nfsidl nfsio 49459 446883 0 0 3 0x14280 nfsidl nfsio 68363 12967 0 0 3 0x14280 nfsidl nfsio 58703 394154 0 0 3 0x14280 nfsidl nfsio 90167 410583 0 0 3 0x14280 nfsidl nfsio 4169 225233 0 0 3 0x14280 nfsidl nfsio 4233 302374 0 0 3 0x14280 nfsidl nfsio 87668 66916 0 0 3 0x14280 nfsidl nfsio 6709 255899 0 0 3 0x14280 nfsidl nfsio 85204 72416 0 0 3 0x14280 nfsidl nfsio 88315 252945 0 0 3 0x14200 bored sosplice 64255 145920 53883 0 3 0x82 piperd syz-executor.5 5624 152913 53883 0 3 0x82 piperd syz-executor.6 66981 216730 53883 0 2 0x2 syz-executor.3 53883 159083 61818 0 3 0x82 thrsleep syz-fuzzer 53883 64544 61818 0 3 0x4000082 nanoslp syz-fuzzer 53883 457898 61818 0 3 0x4000082 thrsleep syz-fuzzer 53883 374578 61818 0 3 0x4000082 kqread syz-fuzzer 53883 421802 61818 0 3 0x4000082 thrsleep syz-fuzzer 53883 47639 61818 0 3 0x4000082 thrsleep syz-fuzzer 53883 340937 61818 0 3 0x4000082 thrsleep syz-fuzzer 53883 319228 61818 0 3 0x4000082 thrsleep syz-fuzzer 53883 97837 61818 0 3 0x4000082 thrsleep syz-fuzzer 61818 255798 83839 0 3 0x10008a sigsusp ksh 83839 393180 58500 0 3 0x9a kqread sshd 58500 93027 1 0 3 0x88 kqread sshd 44457 132314 64008 73 3 0x1100090 kqread syslogd 64008 58540 1 0 3 0x100082 netio syslogd 12774 177884 1 0 3 0x100080 kqread resolvd 15090 89420 96786 77 3 0x100092 kqread dhcpleased 71324 314035 96786 77 3 0x100092 kqread dhcpleased 96786 17225 1 0 3 0x80 kqread dhcpleased 25035 164828 0 0 3 0x14200 bored smr 14652 93426 0 0 2 0x14200 zerothread 40331 326812 0 0 3 0x14200 aiodoned aiodoned 92831 97639 0 0 3 0x14200 syncer update 808 295203 0 0 3 0x14200 cleaner cleaner 35145 493077 0 0 3 0x14200 reaper reaper 90122 446487 0 0 3 0x14200 pgdaemon pagedaemon 83132 346126 0 0 3 0x14200 bored viomb 90824 102673 0 0 3 0x40014200 acpi0 acpi0 16321 82598 0 0 3 0x14200 bored softnet 74221 416213 0 0 3 0x14200 bored systqmp 70307 333056 0 0 3 0x14200 bored systq 55260 487709 0 0 3 0x40014200 bored softclock 46840 225450 0 0 3 0x40014200 idle0 1 84648 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 10226 6903K 7446K 78643K 22454 0 pcb 14 11K 12K 78643K 315 0 rtable 212 17K 20K 78643K 1161 0 ifaddr 76 17K 18K 78643K 318 0 sysctl 2 0K 0K 78643K 2 0 counters 26 17K 17K 78643K 57 0 ioctlops 0 0K 4K 78643K 775 0 iov 0 0K 28K 78643K 206 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1402 88K 88K 78643K 4521 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 39 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 370 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 12 41K 81K 78643K 2611 0 sigio 0 0K 0K 78643K 77 0 proc 58 55K 79K 78643K 866 0 subproc 104 6K 6K 78643K 237 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 446 0 in_multi 82 5K 7K 78643K 322 0 ether_multi 1 0K 0K 78643K 28 0 mrt 1 0K 0K 78643K 4 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 235 1049K 1049K 78643K 235 0 exec 0 0K 2K 78643K 1363 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 7 26K 26K 78643K 7 0 UVM amap 283 134K 137K 78643K 32830 0 UVM aobj 80 3K 3K 78643K 80 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 90 0 NDP 10 0K 1K 78643K 83 0 temp 124 4713K 4777K 78643K 15810 0 kqueue 13 20K 26K 78643K 170 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 181 0 178 2 1 1 2 0 8 0 rtentry 112 236 0 147 4 0 4 4 0 8 0 unpcb 136 1215 0 1202 10 9 1 6 0 8 0 syncache 296 33 0 33 5 5 0 1 0 8 0 tcpqe 32 165 0 165 4 4 0 1 0 8 0 tcpcb 736 1857 0 1835 38 35 3 14 0 8 1 arp 88 38 0 22 1 0 1 1 0 8 0 ipq 40 3 0 3 1 1 0 1 0 8 0 ipqe 40 9 0 9 1 1 0 1 0 8 0 inpcb 312 3108 0 3097 24 22 2 9 0 8 0 ip6q 72 3 0 2 1 0 1 1 0 8 0 ip6af 40 5 0 4 1 0 1 1 0 8 0 nd6 48 65 0 42 1 0 1 1 0 8 0 kcovpl 48 18 0 10 1 0 1 1 0 8 0 ppxss 1152 8 0 8 3 2 1 1 0 8 1 pfosfp 40 7 0 6 1 0 1 1 0 8 0 pfosfpen 112 7 0 6 1 0 1 1 0 8 0 pfrktable 1344 68 0 62 3 1 2 2 0 8 1 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstkey 112 3 0 3 1 1 0 1 0 8 0 pfstate 320 3 0 3 1 1 0 1 0 8 0 pfrule 1360 105 0 85 3 1 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 965 0 594 31 3 28 29 0 8 0 art_table 32 966 0 594 4 0 4 4 0 8 0 art_node 16 235 0 156 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 7 2 2 0 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 368 0 358 1 0 1 1 0 8 0 shmpl 112 77 0 0 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 4810 0 3376 90 0 90 90 0 8 0 ffsino 240 4810 0 3376 85 0 85 85 0 8 0 nchpl 144 8308 0 6691 62 0 62 62 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 33995 0 33994 2 1 1 2 0 8 0 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 528 71 0 67 2 1 1 1 0 8 0 pfiaddrpl 120 27 0 16 2 1 1 1 0 8 0 scxspl 216 23788 0 23788 13 12 1 8 0 8 1 plimitpl 152 334 0 320 1 0 1 1 0 8 0 sigapl 424 2899 0 2840 9 1 8 8 0 8 0 futexpl 64 25721 0 25720 1 0 1 1 0 8 0 knotepl 120 30318 0 30233 9 5 4 7 0 8 0 kqueuepl 184 744 0 735 14 13 1 6 0 8 0 pipepl 304 578 0 550 13 10 3 8 0 8 0 fdescpl 432 2865 0 2842 4 0 4 4 0 8 0 filepl 120 23291 0 23047 34 24 10 18 0 8 2 lockfpl 104 765 0 763 2 1 1 2 0 8 0 lockfspl 48 155 0 153 1 0 1 1 0 8 0 sessionpl 144 35 0 19 1 0 1 1 0 8 0 pgrppl 48 38 0 22 1 0 1 1 0 8 0 ucredpl 96 2835 0 2825 1 0 1 1 0 8 0 zombiepl 144 2843 0 2840 1 0 1 1 0 8 0 processpl 1000 2899 0 2840 8 0 8 8 0 8 0 procpl 672 6657 0 6588 9 1 8 8 0 8 0 sosppl 168 15 0 15 2 1 1 1 0 8 1 sockpl 448 4511 0 4484 53 49 4 21 0 8 0 mcl64k 65536 119 0 119 4 3 1 1 0 8 1 mcl16k 16384 35 0 35 6 6 0 1 0 8 0 mcl12k 12288 83 0 83 5 4 1 1 0 8 1 mcl9k 9216 25 0 25 7 6 1 1 0 8 1 mcl8k 8192 241 0 240 3 2 1 1 0 8 0 mcl4k 4096 294 0 294 1 0 1 1 0 8 1 mcl2k2 2112 26 0 26 7 7 0 1 0 8 0 mcl2k 2048 78999 0 78948 17 9 8 13 0 8 0 mtagpl 96 285 0 202 5 2 3 4 0 8 0 mbufpl 256 142728 0 142344 35 10 25 29 0 8 0 bufpl 288 7390 0 982 458 0 458 458 0 8 0 anonpl 24 806438 0 789139 160 36 124 136 0 188 0 amapchunkpl 152 78641 0 77974 47 14 33 38 0 158 2 amappl16 200 9924 0 9252 90 52 38 49 0 8 0 amappl15 192 845 0 838 1 0 1 1 0 8 0 amappl14 184 418 0 413 1 0 1 1 0 8 0 amappl13 176 523 0 522 1 0 1 1 0 8 0 amappl12 168 259 0 255 1 0 1 1 0 8 0 amappl11 160 191 0 179 1 0 1 1 0 8 0 amappl10 152 324 0 320 1 0 1 1 0 8 0 amappl9 144 703 0 701 1 0 1 1 0 8 0 amappl8 136 1135 0 1072 3 0 3 3 0 8 0 amappl7 128 492 0 481 1 0 1 1 0 8 0 amappl6 120 489 0 466 2 1 1 2 0 8 0 amappl5 112 2219 0 2204 1 0 1 1 0 8 0 amappl4 104 1734 0 1704 2 0 2 2 0 8 0 amappl3 96 546 0 533 1 0 1 1 0 8 0 amappl2 88 1371 0 1325 3 1 2 3 0 8 0 amappl1 80 53622 0 53121 18 5 13 18 0 8 0 amappl 88 32170 0 31974 7 0 7 7 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 79 0 0 2 0 2 2 0 8 0 uaddrrnd 24 2936 0 2909 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2936 0 2909 1 0 1 1 0 8 0 vmmpekpl 168 24277 0 24229 3 0 3 3 0 8 0 vmmpepl 168 266783 0 264551 179 60 119 151 0 357 4 vmsppl 272 2935 0 2909 5 2 3 3 0 8 0 rwobjpl 24 71136 0 63573 48 0 48 48 0 8 0 pdppl 4096 5878 0 5822 220 152 68 72 0 8 12 pvpl 32 1414414 0 1392670 273 72 201 243 0 265 0 pmappl 216 2935 0 2909 2 0 2 2 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1082 0 297 24 0 24 24 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000bccd80) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000bccd80) at in_delmulti+0xb7 sys/netinet/in.c:917 ip_freemoptions(ffff8000006c3fe0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd806f3b0af8) at in_pcbdetach+0xfc sys/netinet/in_pcb.c:585 udp_detach(fffffd807ce08578) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1258 soclose(fffffd807ce08578,0) at soclose+0x245 sys/kern/uipc_socket.c:351 soo_close(fffffd807b44e178,ffff8000216667f0) at soo_close+0x40 fdrop(fffffd807b44e178,ffff8000216667f0) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd807b44e178,ffff8000216667f0) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000216667f0) at fdfree+0xf3 sys/kern/kern_descrip.c:1195 exit1(ffff8000216667f0,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:202 sys_exit(ffff8000216667f0,ffff80002e855da0,ffff80002e855e00) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff80002e855e70) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe2a90, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000bccd80) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000bccd80) at in_delmulti+0xb7 sys/netinet/in.c:917 ip_freemoptions(ffff8000006c3fe0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd806f3b0af8) at in_pcbdetach+0xfc sys/netinet/in_pcb.c:585 udp_detach(fffffd807ce08578) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1258 soclose(fffffd807ce08578,0) at soclose+0x245 sys/kern/uipc_socket.c:351 soo_close(fffffd807b44e178,ffff8000216667f0) at soo_close+0x40 fdrop(fffffd807b44e178,ffff8000216667f0) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd807b44e178,ffff8000216667f0) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000216667f0) at fdfree+0xf3 sys/kern/kern_descrip.c:1195 exit1(ffff8000216667f0,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:202 sys_exit(ffff8000216667f0,ffff80002e855da0,ffff80002e855e00) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff80002e855e70) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe2a90, count: -14