uvm_fault(0xfffffd8069d32e70, 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(ffff800000ce2c80,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000ce2c80) at in_delmulti+0xd3 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c62f0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd806f004a80) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:589 udp_detach(fffffd805f5d2790) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805f5d2790,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805f5d2790,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80693dd1e0,ffff8000216ef8a0) at soo_close+0x44 fdrop(fffffd80693dd1e0,ffff8000216ef8a0) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80693dd1e0,ffff8000216ef8a0) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000216ef8a0) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000216ef8a0,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000216ef8a0,ffff800029a023a0,ffff800029a023f0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800029a02470) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x703038cd7ff0, 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(0xfffffd8069d32e70, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000ce2c80,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000ce2c80) at in_delmulti+0xd3 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c62f0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd806f004a80) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:589 udp_detach(fffffd805f5d2790) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805f5d2790,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805f5d2790,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80693dd1e0,ffff8000216ef8a0) at soo_close+0x44 fdrop(fffffd80693dd1e0,ffff8000216ef8a0) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80693dd1e0,ffff8000216ef8a0) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000216ef8a0) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000216ef8a0,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000216ef8a0,ffff800029a023a0,ffff800029a023f0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800029a02470) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x703038cd7ff0, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff800029a02030 rbx 0x47 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0x39ee56679de6eea1 r11 0xbe91872bfae6ec2b r12 0 r13 0x3 r14 0xffff800000ce2c80 r15 0xffff8000006b7000 rip 0xffffffff814b034f igmp_leavegroup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800029a02000 ss 0x10 igmp_leavegroup+0xaf: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.2) pid=199987 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff800029a075f8,0xffff8000216feb20 process=0xffff8000ffff6010 user=0xffff8000299fd000, vmspace=0xfffffd8069d32e70 estcpu=31, cpticks=0, pctcpu=0.4 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 72948 187832 26380 0 2 0 syz-executor.1 72948 162372 26380 0 3 0x4000080 fsleep syz-executor.1 88700 186247 49774 0 2 0 syz-executor.3 88700 370052 49774 0 3 0x4000080 fsleep syz-executor.3 44295 146223 30771 0 2 0 syz-executor.7 44295 140201 30771 0 2 0x4000000 syz-executor.7 85469 27273 96551 0 2 0 syz-executor.0 85469 376733 96551 0 3 0x4000080 lockf syz-executor.0 85469 159739 96551 0 3 0x4000080 fsleep syz-executor.0 50620 350552 9066 0 3 0x82 nanoslp syz-executor.6 96551 498645 9066 0 3 0x82 nanoslp syz-executor.0 30771 99708 9066 0 3 0x82 nanoslp syz-executor.7 26380 516883 9066 0 3 0x82 nanoslp syz-executor.1 63884 435421 9066 0 3 0x82 nanoslp syz-executor.2 33295 258141 9066 0 2 0x2 syz-executor.4 56064 322836 0 0 3 0x14200 bored sosplice 52518 253236 9066 0 3 0x82 nanoslp syz-executor.5 49774 184466 9066 0 3 0x82 nanoslp syz-executor.3 9066 228977 94716 0 3 0x82 thrsleep syz-fuzzer 9066 398733 94716 0 3 0x4000082 nanoslp syz-fuzzer 9066 476686 94716 0 3 0x4000082 wait syz-fuzzer 9066 435531 94716 0 3 0x4000082 wait syz-fuzzer 9066 132784 94716 0 3 0x4000082 kqread syz-fuzzer 9066 315443 94716 0 3 0x4000082 thrsleep syz-fuzzer 9066 480580 94716 0 3 0x4000082 wait syz-fuzzer 9066 229780 94716 0 3 0x4000082 wait syz-fuzzer 9066 520909 94716 0 3 0x4000082 wait syz-fuzzer 9066 417952 94716 0 3 0x4000082 thrsleep syz-fuzzer 9066 44729 94716 0 3 0x4000082 thrsleep syz-fuzzer 9066 90608 94716 0 3 0x4000082 wait syz-fuzzer 9066 18922 94716 0 3 0x4000082 wait syz-fuzzer 9066 383216 94716 0 3 0x4000082 wait syz-fuzzer 94716 102792 74156 0 3 0x10008a sigsusp ksh 74156 175053 39282 0 3 0x9a kqread sshd 20244 214086 1 0 3 0x100083 ttyin getty 39282 212036 1 0 3 0x88 kqread sshd 35023 236819 32891 73 3 0x1100090 kqread syslogd 32891 433157 1 0 3 0x100082 netio syslogd 23376 295161 1 0 3 0x100080 kqread resolvd 23549 476409 39931 77 3 0x100092 kqread dhcpleased 5503 148244 39931 77 3 0x100092 kqread dhcpleased 39931 114270 1 0 3 0x80 kqread dhcpleased 15069 242737 0 0 3 0x14200 bored smr 7680 53562 0 0 2 0x14200 zerothread 34108 267043 0 0 3 0x14200 aiodoned aiodoned 47814 448326 0 0 3 0x14200 syncer update 55343 96499 0 0 3 0x14200 cleaner cleaner 28876 100664 0 0 3 0x14200 reaper reaper 67294 352499 0 0 3 0x14200 pgdaemon pagedaemon 77881 444568 0 0 3 0x14200 bored viomb 90537 359655 0 0 3 0x40014200 acpi0 acpi0 26884 363163 0 0 3 0x14200 bored softnet3 36916 326857 0 0 3 0x14200 bored softnet2 4436 236692 0 0 3 0x14200 bored softnet1 53307 28980 0 0 3 0x14200 bored softnet0 35917 410962 0 0 3 0x14200 bored systqmp 47170 435230 0 0 3 0x14200 bored systq 63393 71506 0 0 2 0x40014200 softclock 73520 96624 0 0 3 0x40014200 idle0 1 418260 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 10238 6508K 6677K 78643K 12976 0 pcb 13 13K 14K 78643K 291 0 rtable 203 15K 15K 78643K 797 0 pf 32 9K 1033K 78643K 6067 0 ifaddr 42 11K 12K 78643K 135 0 ifgroup 54 2K 2K 78643K 225 0 sysctl 2 0K 0K 78643K 2 0 counters 27 17K 17K 78643K 110 0 ioctlops 0 0K 2K 78643K 239 0 iov 0 0K 12K 78643K 311 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1370 86K 86K 78643K 2458 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 11 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 638 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 15 53K 69K 78643K 1848 0 sigio 0 0K 0K 78643K 24 0 proc 59 59K 75K 78643K 830 0 subproc 104 6K 6K 78643K 247 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 1050 0 in_multi 91 6K 7K 78643K 542 0 ether_multi 1 0K 0K 78643K 27 0 mrt 1 0K 0K 78643K 17 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 719 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 330 88K 97K 78643K 18922 0 UVM aobj 87 3K 3K 78643K 90 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 50 0 NDP 12 0K 2K 78643K 90 0 temp 74 5856K 5932K 78643K 26964 0 kqueue 12 18K 24K 78643K 159 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 190 0 187 3 2 1 3 0 8 0 rtentry 112 258 0 170 4 0 4 4 0 8 0 unpcb 144 3960 0 3943 19 13 6 10 0 8 5 syncache 296 14 0 14 5 5 0 1 0 8 0 tcpqe 32 89 0 89 4 4 0 1 0 8 0 tcpcb 808 848 0 840 27 25 2 14 0 8 0 arp 88 41 0 25 1 0 1 1 0 8 0 ipq 40 2 0 2 1 1 0 1 0 8 0 ipqe 40 22 0 22 1 1 0 1 0 8 0 inpcb 336 2197 0 2185 21 17 4 12 0 8 2 nd6 104 58 0 37 1 0 1 1 0 8 0 kcovpl 48 19 0 11 1 0 1 1 0 8 0 ppxss 1160 47 0 47 3 2 1 1 0 8 1 pppxif 1360 9 0 9 2 1 1 1 0 8 1 pfstscr 40 6 0 6 1 1 0 1 0 8 0 pfosfp 40 4 0 3 1 0 1 1 0 8 0 pfosfpen 112 4 0 3 1 0 1 1 0 8 0 pfanchor 1288 394 0 205 22 3 19 22 0 8 0 pfstkey 128 6 0 6 1 1 0 1 0 8 0 pfstate 344 3 0 3 1 1 0 1 0 8 0 rttmr 136 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1113 0 736 32 8 24 29 0 8 0 art_table 32 1114 0 736 4 0 4 4 0 8 0 art_node 16 252 0 175 1 0 1 1 0 8 0 semapl 112 636 0 626 1 0 1 1 0 8 0 shmpl 112 87 0 3 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3830 0 2382 91 0 91 91 0 8 0 ffsino 240 3830 0 2382 86 0 86 86 0 8 0 nchpl 144 6497 0 4852 63 0 63 63 0 8 0 rtmask 32 3 0 3 1 1 0 1 0 8 0 uvmvnodes 80 4712 0 0 97 0 97 97 0 8 0 vnodes 216 4712 0 0 262 0 262 262 0 8 0 namei 1024 25612 0 25610 3 2 1 3 0 8 0 kstatmem 264 102 0 78 2 0 2 2 0 8 0 scxspl 216 18309 0 18309 10 9 1 8 0 8 1 plimitpl 152 215 0 200 1 0 1 1 0 8 0 sigapl 424 2126 0 2081 6 0 6 6 0 8 0 futexpl 64 19220 0 19217 1 0 1 1 0 8 0 knotepl 120 28219 0 28139 24 15 9 11 0 8 5 kqueuepl 184 423 0 414 9 8 1 4 0 8 0 pipepl 288 461 0 433 10 7 3 7 0 8 0 fdescpl 432 2109 0 2083 4 0 4 4 0 8 0 filepl 120 17470 0 17223 30 18 12 17 0 8 2 lockfpl 104 984 0 980 2 1 1 2 0 8 0 lockfspl 48 212 0 209 1 0 1 1 0 8 0 sessionpl 144 34 0 18 1 0 1 1 0 8 0 pgrppl 48 69 0 53 1 0 1 1 0 8 0 ucredpl 104 1824 0 1813 1 0 1 1 0 8 0 zombiepl 144 2084 0 2081 2 1 1 1 0 8 0 processpl 1008 2126 0 2081 7 1 6 6 0 8 0 procpl 696 4718 0 4655 10 3 7 8 0 8 0 sosppl 168 36 0 36 4 4 0 1 0 8 0 sockpl 456 6352 0 6320 145 132 13 37 0 8 8 mcl64k 65536 79 0 79 4 3 1 1 0 8 1 mcl16k 16384 44 0 44 4 4 0 1 0 8 0 mcl12k 12288 74 0 74 4 3 1 1 0 8 1 mcl9k 9216 22 0 22 5 4 1 1 0 8 1 mcl8k 8192 92 0 92 2 1 1 1 0 8 1 mcl4k 4096 218 0 218 2 1 1 1 0 8 1 mcl2k2 2112 12 0 12 5 4 1 1 0 8 1 mcl2k 2048 74974 0 74931 33 26 7 31 0 8 1 mtagpl 96 47 0 34 2 1 1 1 0 8 0 mbufpl 256 149841 0 149669 283 256 27 108 0 8 8 bufpl 288 6480 0 151 453 0 453 453 0 8 0 anonpl 24 370761 0 356669 128 12 116 120 0 188 10 amapchunkpl 152 61969 0 61096 55 15 40 43 0 158 3 amappl16 200 9240 0 8752 65 36 29 39 0 8 3 amappl15 192 10 0 9 1 0 1 1 0 8 0 amappl14 184 196 0 183 2 0 2 2 0 8 0 amappl13 176 9 0 8 1 0 1 1 0 8 0 amappl12 168 2905 0 2876 2 0 2 2 0 8 0 amappl11 160 50 0 40 1 0 1 1 0 8 0 amappl10 152 37 0 27 2 1 1 1 0 8 0 amappl9 144 191 0 191 4 4 0 2 0 8 0 amappl8 136 232 0 174 3 0 3 3 0 8 0 amappl7 128 74 0 55 1 0 1 1 0 8 0 amappl6 120 315 0 297 2 1 1 2 0 8 0 amappl5 112 207 0 201 1 0 1 1 0 8 0 amappl4 104 769 0 734 2 0 2 2 0 8 0 amappl3 96 12047 0 11965 3 0 3 3 0 8 0 amappl2 88 2307 0 2250 4 2 2 3 0 8 0 amappl1 80 16733 0 16231 22 11 11 22 0 8 0 amappl 88 18281 0 18055 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 89 0 3 2 0 2 2 0 8 0 uaddrrnd 24 2109 0 2083 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2109 0 2083 1 0 1 1 0 8 0 vmmpekpl 168 20451 0 20397 3 0 3 3 0 8 0 vmmpepl 168 152006 0 149786 171 41 130 130 0 357 23 vmsppl 368 2108 0 2083 3 0 3 3 0 8 0 rwobjpl 24 47332 0 41042 38 0 38 38 0 8 0 pdppl 4096 4224 0 4166 192 130 62 66 0 8 4 pvpl 32 857927 0 838663 352 149 203 331 0 265 15 pmappl 216 2108 0 2083 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1255 0 483 23 0 23 23 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000ce2c80,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000ce2c80) at in_delmulti+0xd3 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c62f0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd806f004a80) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:589 udp_detach(fffffd805f5d2790) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805f5d2790,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805f5d2790,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80693dd1e0,ffff8000216ef8a0) at soo_close+0x44 fdrop(fffffd80693dd1e0,ffff8000216ef8a0) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80693dd1e0,ffff8000216ef8a0) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000216ef8a0) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000216ef8a0,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000216ef8a0,ffff800029a023a0,ffff800029a023f0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800029a02470) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x703038cd7ff0, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000ce2c80,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000ce2c80) at in_delmulti+0xd3 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c62f0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd806f004a80) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:589 udp_detach(fffffd805f5d2790) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805f5d2790,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805f5d2790,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80693dd1e0,ffff8000216ef8a0) at soo_close+0x44 fdrop(fffffd80693dd1e0,ffff8000216ef8a0) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80693dd1e0,ffff8000216ef8a0) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000216ef8a0) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000216ef8a0,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000216ef8a0,ffff800029a023a0,ffff800029a023f0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800029a02470) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x703038cd7ff0, count: -14