uvm_fault(0xfffffd8078eaecf8, 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(ffff800000ce3200,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000ce3200) at in_delmulti+0xd3 sys/netinet/in.c:908 ip_freemoptions(ffff800000d3df70) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1762 in_pcbdetach(fffffd8060fd4160) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:589 udp_detach(fffffd8060f29ab8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd8060f29ab8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd8060f29ab8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd806cdbf530,ffff8000299f1620) at soo_close+0x44 fdrop(fffffd806cdbf530,ffff8000299f1620) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd806cdbf530,ffff8000299f1620) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000299f1620) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000299f1620,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000299f1620,ffff800024bb0690,ffff800024bb06e0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800024bb0760) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75d59e263250, 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(0xfffffd8078eaecf8, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000ce3200,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000ce3200) at in_delmulti+0xd3 sys/netinet/in.c:908 ip_freemoptions(ffff800000d3df70) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1762 in_pcbdetach(fffffd8060fd4160) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:589 udp_detach(fffffd8060f29ab8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd8060f29ab8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd8060f29ab8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd806cdbf530,ffff8000299f1620) at soo_close+0x44 fdrop(fffffd806cdbf530,ffff8000299f1620) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd806cdbf530,ffff8000299f1620) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000299f1620) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000299f1620,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000299f1620,ffff800024bb0690,ffff800024bb06e0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800024bb0760) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75d59e263250, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff800024bb0320 rbx 0x8 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0x703791ae9fdd83aa r11 0x8c4dc2c9cdf8ee3e r12 0 r13 0x3 r14 0xffff800000ce3200 r15 0xffff8000006b7000 rip 0xffffffff8160facf igmp_leavegroup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800024bb02f0 ss 0x10 igmp_leavegroup+0xaf: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.4) pid=128179 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000299f10b0,0xffff8000216ec5b0 process=0xffff8000fffeafc8 user=0xffff800024bab000, vmspace=0xfffffd8078eaecf8 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 70432 373228 72288 0 2 0 syz-executor.0 81436 483337 53556 0 2 0 syz-executor.1 81436 424245 53556 0 2 0x4000000 syz-executor.1 94558 481196 14144 0 2 0 syz-executor.2 94558 447144 14144 0 3 0x4000080 fsleep syz-executor.2 94558 288334 14144 0 3 0x4000080 fsleep syz-executor.2 82526 163711 9779 0 2 0 syz-executor.5 82526 509534 9779 0 3 0x4000080 fsleep syz-executor.5 21432 32456 36188 0 2 0 syz-executor.7 21432 437006 36188 0 3 0x4000080 fsleep syz-executor.7 36188 75364 80748 0 3 0x82 nanoslp syz-executor.7 72288 401015 80748 0 3 0x82 nanoslp syz-executor.0 66430 317871 1 0 3 0x100083 ttyin getty 67272 261818 80748 0 2 0x2 syz-executor.6 14144 34482 80748 0 3 0x82 nanoslp syz-executor.2 53556 107526 80748 0 3 0x82 nanoslp syz-executor.1 9779 229384 80748 0 3 0x82 nanoslp syz-executor.5 57503 499460 80748 0 2 0x2 syz-executor.3 65750 265759 80748 0 3 0x82 nanoslp syz-executor.4 69098 508098 0 0 3 0x14200 bored sosplice 80748 498801 276 0 3 0x82 wait syz-fuzzer 80748 301214 276 0 3 0x4000082 nanoslp syz-fuzzer 80748 441128 276 0 3 0x4000082 thrsleep syz-fuzzer 80748 364456 276 0 3 0x4000082 wait syz-fuzzer 80748 523160 276 0 3 0x4000082 wait syz-fuzzer 80748 8535 276 0 3 0x4000082 thrsleep syz-fuzzer 80748 191343 276 0 3 0x4000082 thrsleep syz-fuzzer 80748 86882 276 0 3 0x4000082 wait syz-fuzzer 80748 489605 276 0 2 0x4000002 syz-fuzzer 80748 49693 276 0 3 0x4000082 wait syz-fuzzer 80748 150093 276 0 3 0x4000082 thrsleep syz-fuzzer 80748 95985 276 0 3 0x4000082 wait syz-fuzzer 80748 113894 276 0 3 0x4000082 wait syz-fuzzer 80748 226156 276 0 3 0x4000082 wait syz-fuzzer 276 374076 48013 0 3 0x10008a sigsusp ksh 48013 214973 16491 0 2 0x12 sshd 16491 479250 1 0 3 0x88 kqread sshd 8076 148386 82847 73 3 0x1100090 kqread syslogd 82847 33444 1 0 3 0x100082 netio syslogd 73836 202478 1 0 3 0x100080 kqread resolvd 65156 22849 80731 77 3 0x100092 kqread dhcpleased 9018 38181 80731 77 3 0x100092 kqread dhcpleased 80731 423885 1 0 3 0x80 kqread dhcpleased 70098 4850 0 0 3 0x14200 bored smr 43232 242050 0 0 2 0x14200 zerothread 33291 430331 0 0 3 0x14200 aiodoned aiodoned 57321 351729 0 0 3 0x14200 syncer update 58227 455793 0 0 3 0x14200 cleaner cleaner 40143 385066 0 0 3 0x14200 reaper reaper 55445 22243 0 0 3 0x14200 pgdaemon pagedaemon 56236 13720 0 0 3 0x14200 bored viomb 76284 490242 0 0 3 0x40014200 acpi0 acpi0 33473 192272 0 0 3 0x14200 bored softnet3 78202 512509 0 0 3 0x14200 bored softnet2 7514 427743 0 0 3 0x14200 bored softnet1 57208 406827 0 0 2 0x14200 softnet0 65953 208199 0 0 3 0x14200 bored systqmp 19056 467298 0 0 3 0x14200 bored systq 80211 388343 0 0 3 0x40014200 bored softclock 76302 354429 0 0 3 0x40014200 idle0 1 193567 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 10181 6556K 7525K 78643K 30996 0 pcb 15 14K 16K 78643K 1179 0 rtable 234 16K 16K 78643K 1984 0 pf 37 10K 17K 78643K 3959 0 ifaddr 45 12K 13K 78643K 247 0 ifgroup 58 2K 2K 78643K 338 0 sysctl 2 0K 0K 78643K 7 0 counters 28 17K 17K 78643K 123 0 ioctlops 0 0K 4K 78643K 492 0 iov 0 0K 20K 78643K 926 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1600 100K 100K 78643K 8710 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 59 0 VM map 2 1K 1K 78643K 2 0 sem 11 1K 1K 78643K 11 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 16 57K 77K 78643K 7343 0 sigio 0 0K 0K 78643K 172 0 proc 59 59K 75K 78643K 1655 0 subproc 104 6K 6K 78643K 494 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 343 0 in_multi 97 7K 7K 78643K 586 0 ether_multi 1 0K 0K 78643K 52 0 mrt 1 0K 0K 78643K 69 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 1K 78643K 1831 0 pfkey data 0 0K 0K 78643K 7 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 370 95K 111K 78643K 68097 0 UVM aobj 58 2K 2K 78643K 58 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 281 0 NDP 13 0K 1K 78643K 171 0 temp 74 5860K 14048K 78643K 97362 0 kqueue 12 18K 24K 78643K 459 0 SYN cache 2 36K 36K 78643K 4 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 577 0 573 8 7 1 3 0 8 0 rtentry 112 591 0 490 4 1 3 4 0 8 0 unpcb 144 5647 0 5632 54 53 1 6 0 8 0 syncache 296 40 0 40 12 12 0 1 0 8 0 tcpqe 32 251 0 251 10 10 0 1 0 8 0 tcpcb 808 2167 0 2161 72 61 11 14 0 8 10 arp 88 89 0 71 1 0 1 1 0 8 0 ipq 40 12 0 12 2 2 0 1 0 8 0 ipqe 40 35 0 35 2 2 0 1 0 8 0 inpcb 336 6188 0 6176 93 84 9 12 0 8 7 nd6 104 118 0 92 1 0 1 1 0 8 0 pkpcb 40 9 0 9 3 3 0 1 0 8 0 kcovpl 48 38 0 30 1 0 1 1 0 8 0 ppxss 1160 43 0 43 8 8 0 1 0 8 0 pppxif 1360 12 0 12 4 4 0 1 0 8 0 pfstscr 40 48 0 47 1 0 1 1 0 8 0 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfanchor 1288 855 11 343 48 5 43 43 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 264 3 0 3 1 1 0 1 0 8 0 pfstitem 24 45 0 44 1 0 1 1 0 8 0 pfstkey 128 187 0 176 1 0 1 1 0 8 0 pfstate 344 111 0 110 1 0 1 1 0 8 0 rttmr 136 15 0 15 5 5 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2113 0 1667 47 19 28 29 0 8 0 art_table 32 2114 0 1667 4 0 4 4 0 8 0 art_node 16 513 0 424 1 0 1 1 0 8 0 sysvmsgpl 40 60 0 42 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 9 0 0 1 0 1 1 0 8 0 shmpl 112 55 0 0 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 10096 0 8618 93 0 93 93 0 8 0 ffsino 240 10096 0 8618 88 0 88 88 0 8 0 nchpl 144 21890 0 21400 63 41 22 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 92721 0 92721 6 5 1 2 0 8 1 kstatmem 264 186 0 160 3 1 2 3 0 8 0 scsiplug 72 6 0 6 2 2 0 1 0 8 0 scxspl 216 58392 0 58392 22 21 1 8 0 8 1 plimitpl 152 698 0 683 1 0 1 1 0 8 0 sigapl 424 7603 0 7559 8 1 7 8 0 8 0 futexpl 64 77763 0 77759 2 1 1 1 0 8 0 knotepl 120 77798 0 77717 65 58 7 15 0 8 3 kqueuepl 184 1405 0 1397 18 17 1 6 0 8 0 pipepl 288 1492 0 1464 28 25 3 7 0 8 0 fdescpl 432 7565 0 7538 4 0 4 4 0 8 0 filepl 120 58581 0 58341 68 57 11 16 0 8 3 lockfpl 104 2428 0 2426 6 5 1 2 0 8 0 lockfspl 48 758 0 756 1 0 1 1 0 8 0 sessionpl 144 54 0 38 1 0 1 1 0 8 0 pgrppl 48 75 0 59 1 0 1 1 0 8 0 ucredpl 104 6681 0 6671 1 0 1 1 0 8 0 zombiepl 144 7560 0 7559 1 0 1 1 0 8 0 processpl 1008 7603 0 7559 11 4 7 9 0 8 0 procpl 696 17889 0 17827 14 5 9 10 0 8 0 sosppl 168 57 0 56 6 5 1 1 0 8 0 sockpl 456 12432 0 12401 315 303 12 29 0 8 7 mcl64k 65536 231 0 231 8 8 0 1 0 8 0 mcl16k 16384 131 0 131 11 10 1 1 0 8 1 mcl12k 12288 231 0 231 9 8 1 1 0 8 1 mcl9k 9216 154 0 154 16 16 0 1 0 8 0 mcl8k 8192 603 0 603 10 9 1 1 0 8 1 mcl4k 4096 845 0 845 5 4 1 1 0 8 1 mcl2k2 2112 60 0 60 18 17 1 1 0 8 1 mcl2k 2048 85411 0 85297 49 33 16 29 0 8 0 mtagpl 96 1058 0 848 11 5 6 6 0 8 0 mbufpl 256 209069 0 208528 450 401 49 83 0 8 5 bufpl 288 15600 0 9215 457 0 457 457 0 8 0 anonpl 24 824826 0 810184 156 52 104 118 0 188 0 amapchunkpl 152 234273 0 233430 87 44 43 48 0 158 7 amappl16 200 18449 0 17930 100 72 28 38 0 8 0 amappl15 192 9 0 9 1 1 0 1 0 8 0 amappl14 184 272 0 261 2 1 1 2 0 8 0 amappl13 176 14 0 14 1 1 0 1 0 8 0 amappl12 168 8645 0 8614 2 0 2 2 0 8 0 amappl11 160 58 0 48 1 0 1 1 0 8 0 amappl10 152 86 0 77 2 1 1 1 0 8 0 amappl9 144 180 0 178 2 1 1 2 0 8 0 amappl8 136 411 0 317 4 0 4 4 0 8 0 amappl7 128 70 0 53 1 0 1 1 0 8 0 amappl6 120 473 0 455 2 1 1 2 0 8 0 amappl5 112 342 0 336 1 0 1 1 0 8 0 amappl4 104 1074 0 1041 2 1 1 2 0 8 0 amappl3 96 42812 0 42736 3 0 3 3 0 8 0 amappl2 88 7929 0 7872 4 2 2 3 0 8 0 amappl1 80 37869 0 37371 22 10 12 22 0 8 0 amappl 88 67140 0 66908 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 57 0 0 2 0 2 2 0 8 0 uaddrrnd 24 7565 0 7538 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 7565 0 7538 1 0 1 1 0 8 0 vmmpekpl 168 55110 0 55055 3 0 3 3 0 8 0 vmmpepl 168 467245 0 464919 228 107 121 134 0 357 5 vmsppl 368 7564 0 7538 3 0 3 3 0 8 0 rwobjpl 24 116914 0 109393 48 2 46 47 0 8 0 pdppl 4096 15136 0 15076 466 402 64 70 0 8 4 pvpl 32 2130989 0 2111140 408 231 177 334 0 265 0 pmappl 216 7564 0 7538 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1897 0 1067 25 0 25 25 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000ce3200,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000ce3200) at in_delmulti+0xd3 sys/netinet/in.c:908 ip_freemoptions(ffff800000d3df70) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1762 in_pcbdetach(fffffd8060fd4160) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:589 udp_detach(fffffd8060f29ab8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd8060f29ab8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd8060f29ab8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd806cdbf530,ffff8000299f1620) at soo_close+0x44 fdrop(fffffd806cdbf530,ffff8000299f1620) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd806cdbf530,ffff8000299f1620) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000299f1620) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000299f1620,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000299f1620,ffff800024bb0690,ffff800024bb06e0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800024bb0760) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75d59e263250, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000ce3200,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000ce3200) at in_delmulti+0xd3 sys/netinet/in.c:908 ip_freemoptions(ffff800000d3df70) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1762 in_pcbdetach(fffffd8060fd4160) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:589 udp_detach(fffffd8060f29ab8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd8060f29ab8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd8060f29ab8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd806cdbf530,ffff8000299f1620) at soo_close+0x44 fdrop(fffffd806cdbf530,ffff8000299f1620) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd806cdbf530,ffff8000299f1620) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000299f1620) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000299f1620,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000299f1620,ffff800024bb0690,ffff800024bb06e0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800024bb0760) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75d59e263250, count: -14