uvm_fault(0xfffffd806020cbc0, 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(ffff800000cad980) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000cad980) at in_delmulti+0xb7 sys/netinet/in.c:917 ip_freemoptions(ffff800000bfaf90) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd806f3b7d10) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:580 udp_detach(fffffd806f1021c8) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1249 soclose(fffffd806f1021c8,0) at soclose+0x245 sys/kern/uipc_socket.c:351 soo_close(fffffd8068e481f0,ffff8000216ada48) at soo_close+0x40 fdrop(fffffd8068e481f0,ffff8000216ada48) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd8068e481f0,ffff8000216ada48) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000216ada48) at fdfree+0xf3 sys/kern/kern_descrip.c:1195 exit1(ffff8000216ada48,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:202 sys_exit(ffff8000216ada48,ffff800027b39880,ffff800027b398e0) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800027b39950) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd9a00, 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(0xfffffd806020cbc0, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000cad980) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000cad980) at in_delmulti+0xb7 sys/netinet/in.c:917 ip_freemoptions(ffff800000bfaf90) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd806f3b7d10) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:580 udp_detach(fffffd806f1021c8) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1249 soclose(fffffd806f1021c8,0) at soclose+0x245 sys/kern/uipc_socket.c:351 soo_close(fffffd8068e481f0,ffff8000216ada48) at soo_close+0x40 fdrop(fffffd8068e481f0,ffff8000216ada48) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd8068e481f0,ffff8000216ada48) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000216ada48) at fdfree+0xf3 sys/kern/kern_descrip.c:1195 exit1(ffff8000216ada48,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:202 sys_exit(ffff8000216ada48,ffff800027b39880,ffff800027b398e0) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800027b39950) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd9a00, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff800027b39500 rbx 0 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0x3b138dffedf6c174 r11 0x24996919f05ec6d0 r12 0 r13 0x3 r14 0xffff8000006b5000 r15 0xffff800000cad980 rip 0xffffffff814cc5f0 igmp_leavegroup+0x80 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800027b394d0 ss 0x10 igmp_leavegroup+0x80: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.3) pid=75197 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=83, nice=20 forw=0xffffffffffffffff, list=0xffff800027b2cd28,0xffff8000216ac7f8 process=0xffff8000216613a8 user=0xffff800027b34000, vmspace=0xfffffd806020cbc0 estcpu=33, cpticks=2, pctcpu=0.3 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 38846 114133 59663 0 2 0x490 syz-executor.4 38846 277576 59663 0 3 0x4000090 kqpoll syz-executor.4 38846 49399 59663 0 3 0x4000090 fsleep syz-executor.4 92781 424401 61580 0 2 0x480 syz-executor.5 92781 280397 61580 0 3 0x4000080 fsleep syz-executor.5 92781 337718 61580 0 3 0x4000080 fsleep syz-executor.5 93619 119136 57560 0 2 0x482 syz-executor.3 84456 297839 1 0 3 0x100083 ttyin getty 74185 16404 57560 0 3 0x82 piperd syz-executor.0 61580 441551 57560 0 2 0x482 syz-executor.5 37832 192942 57560 0 3 0x82 piperd syz-executor.7 53013 503478 57560 0 2 0x482 syz-executor.2 22495 164696 57560 0 3 0x82 piperd syz-executor.6 10711 122213 57560 0 3 0x82 piperd syz-executor.1 59663 331519 57560 0 2 0x482 syz-executor.4 85430 283180 0 0 3 0x14280 nfsidl nfsio 38034 226050 0 0 3 0x14280 nfsidl nfsio 85227 389595 0 0 3 0x14280 nfsidl nfsio 8271 319509 0 0 3 0x14280 nfsidl nfsio 62585 262824 0 0 3 0x14280 nfsidl nfsio 43933 438833 0 0 3 0x14280 nfsidl nfsio 90473 391691 0 0 3 0x14200 bored sosplice 57560 355756 66287 0 3 0x82 kqread syz-fuzzer 57560 35156 66287 0 2 0x4000482 syz-fuzzer 57560 407921 66287 0 3 0x4000082 thrsleep syz-fuzzer 57560 434595 66287 0 3 0x4000082 thrsleep syz-fuzzer 57560 386840 66287 0 3 0x4000082 thrsleep syz-fuzzer 57560 271527 66287 0 3 0x4000082 thrsleep syz-fuzzer 57560 194988 66287 0 3 0x4000082 thrsleep syz-fuzzer 57560 216963 66287 0 3 0x4000082 thrsleep syz-fuzzer 66287 378209 17674 0 3 0x10008a sigsusp ksh 17674 357409 34548 0 3 0x9a kqread sshd 34548 403403 1 0 3 0x88 kqread sshd 82668 123436 35658 73 3 0x1100090 kqread syslogd 35658 281818 1 0 3 0x100082 netio syslogd 60739 369298 1 0 3 0x100080 kqread resolvd 77347 474398 42720 77 3 0x100092 kqread dhcpleased 15070 304786 42720 77 3 0x100092 kqread dhcpleased 42720 60904 1 0 3 0x80 kqread dhcpleased 12030 423216 0 0 3 0x14200 bored smr 93264 25916 0 0 2 0x14200 zerothread 28567 347591 0 0 3 0x14200 aiodoned aiodoned 30588 415953 0 0 3 0x14200 syncer update 98827 14744 0 0 3 0x14200 cleaner cleaner 69262 10851 0 0 3 0x14200 reaper reaper 1967 26859 0 0 3 0x14200 pgdaemon pagedaemon 26787 123195 0 0 3 0x14200 bored viomb 46901 307925 0 0 3 0x40014200 acpi0 acpi0 67701 257735 0 0 3 0x14200 bored softnet 32511 53935 0 0 3 0x14200 bored systqmp 69666 492610 0 0 3 0x14200 bored systq 51569 220161 0 0 3 0x40014200 bored softclock 43392 384893 0 0 3 0x40014200 idle0 1 147825 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 10208 6596K 8131K 78643K 52059 0 pcb 13 16K 18K 78643K 1214 0 rtable 199 22K 23K 78643K 3910 0 ifaddr 103 23K 26K 78643K 1468 0 sysctl 2 0K 0K 78643K 6 0 counters 27 17K 17K 78643K 137 0 ioctlops 0 0K 4K 78643K 2345 0 iov 0 0K 32K 78643K 1729 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1486 93K 94K 78643K 13826 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 13K 78643K 98 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 1714 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 13 45K 73K 78643K 8897 0 sigio 0 0K 0K 78643K 221 0 proc 71 55K 71K 78643K 2219 0 subproc 104 6K 6K 78643K 741 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 445 0 in_multi 64 4K 6K 78643K 897 0 ether_multi 1 0K 0K 78643K 92 0 mrt 1 0K 0K 78643K 38 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 187 837K 837K 78643K 187 0 exec 0 0K 2K 78643K 3010 0 pfkey data 0 0K 0K 78643K 5 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 479 872K 874K 78643K 107119 0 UVM aobj 131 9K 9K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 405 0 NDP 12 0K 2K 78643K 246 0 temp 136 4711K 4831K 78643K 146224 0 kqueue 13 20K 26K 78643K 566 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 712 0 709 10 9 1 3 0 8 0 rtentry 112 749 0 682 4 1 3 4 0 8 0 unpcb 136 5715 0 5702 52 51 1 8 0 8 0 syncache 296 24 0 24 8 8 0 1 0 8 0 tcpqe 32 4 0 4 2 2 0 1 0 8 0 tcpcb 736 2496 0 2486 92 90 2 19 0 8 0 arp 88 129 0 117 1 0 1 1 0 8 0 ipq 40 11 0 10 5 4 1 1 0 8 0 ipqe 40 40 0 39 5 4 1 1 0 8 0 inpcb 304 7246 0 7237 103 101 2 12 0 8 1 rttmr 72 15 0 15 4 4 0 1 0 8 0 ip6q 72 4 0 4 2 2 0 1 0 8 0 ip6af 40 7 0 7 2 2 0 1 0 8 0 nd6 48 194 0 179 1 0 1 1 0 8 0 pkpcb 40 19 0 19 4 4 0 1 0 8 0 kcovpl 48 57 0 49 1 0 1 1 0 8 0 ppxss 1152 35 0 35 6 6 0 1 0 8 0 pfstscr 40 172 0 165 1 0 1 1 0 8 0 pfosfp 40 10 0 7 1 0 1 1 0 8 0 pfosfpen 112 10 0 2 1 0 1 1 0 8 0 pfrktable 1344 701 0 684 6 4 2 2 0 8 0 pftag 88 7 0 0 1 0 1 1 0 8 0 pfstitem 24 28 0 14 1 0 1 1 0 8 0 pfstkey 112 258 0 256 1 0 1 1 0 8 0 pfstate 320 164 0 157 1 0 1 1 0 8 0 pfrule 1360 647 0 585 6 0 6 6 0 8 0 art_heap8 4096 2 0 1 2 1 1 2 0 8 0 art_heap4 256 2946 0 2651 51 25 26 31 0 8 0 art_table 32 2948 0 2652 4 0 4 4 0 8 0 art_node 16 743 0 686 1 0 1 1 0 8 0 sysvmsgpl 40 26 0 17 1 0 1 1 0 8 0 semapl 112 1712 0 1702 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 13068 0 11605 92 0 92 92 0 8 0 ffsino 240 13068 0 11605 87 0 87 87 0 8 0 nchpl 144 24428 0 22801 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 98601 0 98601 5 4 1 2 0 8 1 vcpupl 1984 60 0 0 8 0 8 8 0 8 0 vmpool 528 111 0 51 8 4 4 5 0 8 0 pfiaddrpl 120 221 0 199 4 3 1 1 0 8 0 scsiplug 72 14 0 14 4 4 0 1 0 8 0 scxspl 216 77475 0 77475 23 22 1 8 0 8 1 plimitpl 152 1398 0 1384 1 0 1 1 0 8 0 sigapl 424 9100 0 9055 8 1 7 8 0 8 0 futexpl 64 90911 0 90908 4 3 1 1 0 8 0 knotepl 120 82251 0 81941 21 11 10 10 0 8 0 kqueuepl 184 2174 0 2164 37 36 1 7 0 8 0 pipepl 304 2025 0 1997 49 46 3 12 0 8 0 fdescpl 432 9065 0 9041 5 1 4 4 0 8 0 filepl 120 67161 0 66913 108 99 9 17 0 8 0 lockfpl 104 2095 0 2093 5 4 1 2 0 8 0 lockfspl 48 679 0 677 1 0 1 1 0 8 0 sessionpl 144 74 0 58 1 0 1 1 0 8 0 pgrppl 48 827 0 811 1 0 1 1 0 8 0 ucredpl 96 8534 0 8523 1 0 1 1 0 8 0 zombiepl 144 9057 0 9055 2 1 1 1 0 8 0 processpl 1000 9100 0 9055 9 1 8 9 0 8 0 procpl 672 22123 0 22067 18 11 7 9 0 8 0 sosppl 168 87 0 87 16 16 0 1 0 8 0 sockpl 448 13701 0 13676 217 213 4 32 0 8 0 mcl64k 65536 390 0 390 24 23 1 1 0 8 1 mcl16k 16384 74 0 74 16 16 0 1 0 8 0 mcl12k 12288 280 0 280 21 20 1 1 0 8 1 mcl9k 9216 194 0 194 24 24 0 1 0 8 0 mcl8k 8192 818 0 818 22 21 1 1 0 8 1 mcl4k 4096 1005 0 1005 11 10 1 1 0 8 1 mcl2k2 2112 76 0 76 26 25 1 1 0 8 1 mcl2k 2048 93457 0 93234 45 15 30 30 0 8 0 mtagpl 96 8497 0 7617 55 19 36 38 0 8 0 mbufpl 256 215954 0 214885 419 313 106 348 0 8 0 bufpl 288 19613 0 13205 459 0 459 459 0 8 0 anonpl 24 2536304 0 2516934 296 152 144 164 0 188 3 amapchunkpl 152 259644 0 258911 100 66 34 47 0 158 1 amappl16 200 27623 0 26785 155 100 55 61 0 8 8 amappl15 192 1747 0 1742 1 0 1 1 0 8 0 amappl14 184 1154 0 1150 2 1 1 1 0 8 0 amappl13 176 1359 0 1352 1 0 1 1 0 8 0 amappl12 168 1166 0 1162 1 0 1 1 0 8 0 amappl11 160 498 0 488 1 0 1 1 0 8 0 amappl10 152 1550 0 1546 1 0 1 1 0 8 0 amappl9 144 1082 0 1079 1 0 1 1 0 8 0 amappl8 136 3172 0 3067 4 0 4 4 0 8 0 amappl7 128 1874 0 1864 1 0 1 1 0 8 0 amappl6 120 969 0 943 2 1 1 2 0 8 0 amappl5 112 7291 0 7276 1 0 1 1 0 8 0 amappl4 104 3615 0 3577 2 0 2 2 0 8 0 amappl3 96 2886 0 2863 1 0 1 1 0 8 0 amappl2 88 3175 0 3120 7 5 2 3 0 8 0 amappl1 80 161520 0 160998 21 8 13 18 0 8 0 amappl 88 105553 0 105287 11 3 8 8 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 9176 0 9092 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 9176 0 9092 1 0 1 1 0 8 0 vmmpekpl 168 64401 0 64332 4 0 4 4 0 8 0 vmmpepl 168 840321 0 837687 314 163 151 166 0 357 8 vmsppl 272 9175 0 9092 6 0 6 6 0 8 0 rwobjpl 24 200859 0 192948 53 3 50 50 0 8 0 pdppl 4096 18358 0 18244 644 522 122 126 0 8 8 pvpl 32 4359575 0 4337234 449 236 213 262 0 265 4 pmappl 216 9175 0 9092 7 2 5 5 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 2204 0 1255 35 6 29 34 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000cad980) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000cad980) at in_delmulti+0xb7 sys/netinet/in.c:917 ip_freemoptions(ffff800000bfaf90) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd806f3b7d10) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:580 udp_detach(fffffd806f1021c8) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1249 soclose(fffffd806f1021c8,0) at soclose+0x245 sys/kern/uipc_socket.c:351 soo_close(fffffd8068e481f0,ffff8000216ada48) at soo_close+0x40 fdrop(fffffd8068e481f0,ffff8000216ada48) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd8068e481f0,ffff8000216ada48) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000216ada48) at fdfree+0xf3 sys/kern/kern_descrip.c:1195 exit1(ffff8000216ada48,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:202 sys_exit(ffff8000216ada48,ffff800027b39880,ffff800027b398e0) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800027b39950) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd9a00, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000cad980) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000cad980) at in_delmulti+0xb7 sys/netinet/in.c:917 ip_freemoptions(ffff800000bfaf90) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd806f3b7d10) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:580 udp_detach(fffffd806f1021c8) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1249 soclose(fffffd806f1021c8,0) at soclose+0x245 sys/kern/uipc_socket.c:351 soo_close(fffffd8068e481f0,ffff8000216ada48) at soo_close+0x40 fdrop(fffffd8068e481f0,ffff8000216ada48) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd8068e481f0,ffff8000216ada48) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000216ada48) at fdfree+0xf3 sys/kern/kern_descrip.c:1195 exit1(ffff8000216ada48,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:202 sys_exit(ffff8000216ada48,ffff800027b39880,ffff800027b398e0) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800027b39950) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd9a00, count: -14