uvm_fault(0xfffffd8069d75010, 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(ffff800000ed4040,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000ed4040) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000d25900) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd805e8ece88) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd806838ccc0) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd806838ccc0,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd806838ccc0,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8061b203c8,ffff80002e852e08) at soo_close+0x44 fdrop(fffffd8061b203c8,ffff80002e852e08) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8061b203c8,ffff80002e852e08) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002e852e08) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002e852e08,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002e852e08,ffff80002e908280,ffff80002e9082d0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e908350) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a1152ee07d0, 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(0xfffffd8069d75010, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000ed4040,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000ed4040) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000d25900) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd805e8ece88) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd806838ccc0) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd806838ccc0,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd806838ccc0,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8061b203c8,ffff80002e852e08) at soo_close+0x44 fdrop(fffffd8061b203c8,ffff80002e852e08) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8061b203c8,ffff80002e852e08) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002e852e08) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002e852e08,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002e852e08,ffff80002e908280,ffff80002e9082d0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e908350) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a1152ee07d0, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002e907f10 rbx 0x6 rdx 0 rcx 0x1 rax 0 r8 0x30 r9 0x430c __ALIGN_SIZE+0x330c r10 0x28e67c1b005e044a r11 0x5f3ac82812922cad r12 0 r13 0x3 r14 0xffff800000ed4040 r15 0xffff8000006b7000 rip 0xffffffff8249a9ef igmp_leavegroup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002e907ee0 ss 0x10 igmp_leavegroup+0xaf: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.1) pid=501328 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=84, nice=20 forw=0xffffffffffffffff, list=0xffff80002e894868,0xffff80002e8530d0 process=0xffff8000fffec000 user=0xffff80002e903000, vmspace=0xfffffd8069d75010 estcpu=34, cpticks=1, pctcpu=0.2 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 50910 15594 96855 0 3 0x80 nanoslp syz-executor.5 50910 500826 96855 0 3 0x4000080 fsleep syz-executor.5 16628 488252 36438 0 2 0x3000 syz-executor.0 96855 439644 54267 0 3 0x82 nanoslp syz-executor.5 25852 341211 54267 0 2 0x2 syz-executor.4 25270 356178 54267 0 2 0x2 syz-executor.2 16686 398349 54267 0 2 0x2 syz-executor.3 32721 385587 54267 0 3 0x82 nanoslp syz-executor.1 36438 159158 54267 0 3 0x82 nanoslp syz-executor.0 38111 190224 0 0 3 0x14200 bored sosplice 48327 476168 0 0 3 0x14280 nfsidl nfsio 48323 5634 0 0 3 0x14280 nfsidl nfsio 42235 483088 0 0 3 0x14280 nfsidl nfsio 16377 208901 0 0 3 0x14280 nfsidl nfsio 14629 406388 0 0 3 0x14280 nfsidl nfsio 27062 132989 0 0 3 0x14280 nfsidl nfsio 97513 430335 0 0 3 0x14280 nfsidl nfsio 78954 236918 0 0 3 0x14280 nfsidl nfsio 63769 15452 0 0 3 0x14280 nfsidl nfsio 67279 274022 0 0 3 0x14280 nfsidl nfsio 73232 250605 0 0 3 0x14280 nfsidl nfsio 31574 28898 0 0 3 0x14280 nfsidl nfsio 79296 77380 0 0 3 0x14280 nfsidl nfsio 20910 392419 0 0 3 0x14280 nfsidl nfsio 47882 15873 0 0 3 0x14280 nfsidl nfsio 95167 43218 0 0 3 0x14280 nfsidl nfsio 91730 61361 0 0 3 0x14280 nfsidl nfsio 24658 56516 0 0 3 0x14280 nfsidl nfsio 33741 6923 0 0 3 0x14280 nfsidl nfsio 5804 320576 0 0 3 0x14280 nfsidl nfsio 60222 483631 54267 0 2 0x2 syz-executor.7 79276 291944 54267 0 2 0x2 syz-executor.6 54267 281093 20148 0 3 0x82 wait syz-fuzzer 54267 442717 20148 0 2 0x4000002 syz-fuzzer 54267 87336 20148 0 3 0x4000082 wait syz-fuzzer 54267 286101 20148 0 3 0x4000082 thrsleep syz-fuzzer 54267 302089 20148 0 3 0x4000082 thrsleep syz-fuzzer 54267 38926 20148 0 3 0x4000082 wait syz-fuzzer 54267 113531 20148 0 3 0x4000082 wait syz-fuzzer 54267 121920 20148 0 3 0x4000082 thrsleep syz-fuzzer 54267 374942 20148 0 2 0x4000002 syz-fuzzer 54267 301805 20148 0 3 0x4000082 wait syz-fuzzer 54267 333595 20148 0 3 0x4000082 thrsleep syz-fuzzer 54267 503094 20148 0 3 0x4000082 wait syz-fuzzer 54267 49823 20148 0 3 0x4000082 wait syz-fuzzer 54267 22458 20148 0 3 0x4000082 wait syz-fuzzer 20148 283568 23420 0 3 0x10008a sigsusp ksh 23420 346386 21774 0 3 0x9a kqread sshd 95946 431616 1 0 3 0x100083 ttyin getty 21774 335711 1 0 3 0x88 kqread sshd 93489 299134 68741 73 3 0x1100090 kqread syslogd 68741 353616 1 0 3 0x100082 netio syslogd 50508 513906 1 0 3 0x100080 kqread resolvd 96141 136461 35866 77 3 0x100092 kqread dhcpleased 70923 226746 35866 77 3 0x100092 kqread dhcpleased 35866 516215 1 0 3 0x80 kqread dhcpleased 43346 489935 0 0 3 0x14200 bored smr 52704 312833 0 0 2 0x14200 zerothread 11359 54619 0 0 3 0x14200 aiodoned aiodoned 30113 107052 0 0 2 0x14600 update 43841 123176 0 0 3 0x14200 cleaner cleaner 45429 471956 0 0 3 0x14200 reaper reaper 45603 7229 0 0 3 0x14200 pgdaemon pagedaemon 14818 292761 0 0 3 0x14200 bored viomb 66728 241290 0 0 3 0x40014200 acpi0 acpi0 34464 105892 0 0 3 0x14200 bored softnet 68593 331018 0 0 3 0x14200 bored softnet 54471 393807 0 0 3 0x14200 bored softnet 29644 229507 0 0 3 0x14200 bored softnet 88596 205787 0 0 3 0x14200 bored systqmp 88601 81899 0 0 3 0x14200 bored systq 38615 301136 0 0 3 0x40014200 bored softclock 84557 226623 0 0 3 0x40014200 idle0 1 231431 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 10203 6482K 7495K 78643K 42623 0 pcb 13 18K 20K 78643K 2139 0 rtable 223 15K 16K 78643K 931 0 ifaddr 79 22K 23K 78643K 345 0 sysctl 3 1K 1K 78643K 8 0 counters 29 17K 17K 78643K 165 0 ioctlops 0 0K 2K 78643K 565 0 iov 0 0K 32K 78643K 706 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1473 92K 92K 78643K 8582 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 314 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 13 45K 69K 78643K 15337 0 sigio 0 0K 0K 78643K 107 0 proc 58 59K 75K 78643K 1087 0 subproc 104 6K 6K 78643K 299 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 1942 0 in_multi 97 6K 7K 78643K 893 0 ether_multi 1 0K 0K 78643K 24 0 mrt 1 0K 0K 78643K 13 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 217 970K 970K 78643K 217 0 exec 0 0K 1K 78643K 1110 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 364 97K 102K 78643K 139136 0 UVM aobj 131 5K 5K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 80 0 NDP 13 0K 2K 78643K 119 0 temp 132 5850K 14038K 78643K 493596 0 kqueue 12 18K 26K 78643K 1060 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 258 0 255 3 2 1 3 0 8 0 rtentry 112 309 0 209 4 0 4 4 0 8 0 unpcb 144 9952 0 9939 56 55 1 6 0 8 0 syncache 296 158 0 158 11 11 0 1 0 8 0 tcpqe 32 188 0 188 5 5 0 1 0 8 0 tcpcb 776 4519 0 4515 96 89 7 14 0 8 6 arp 88 48 0 30 1 0 1 1 0 8 0 ipq 40 5 0 5 3 3 0 1 0 8 0 ipqe 40 23 0 23 3 3 0 1 0 8 0 inpcb 336 13864 0 13853 160 151 9 17 0 8 7 nd6 104 71 0 47 1 0 1 1 0 8 0 pkpcb 40 5 0 5 2 1 1 1 0 8 1 kcovpl 48 23 0 15 1 0 1 1 0 8 0 ppxss 1160 100 0 100 7 7 0 1 0 8 0 pppxif 1360 7 0 7 3 3 0 1 0 8 0 pfstscr 40 3 0 0 1 0 1 1 0 8 0 pfosfp 40 9 0 8 1 0 1 1 0 8 0 pfosfpen 112 9 0 8 1 0 1 1 0 8 0 pfanchor 1288 512 4 0 43 0 43 43 0 8 0 pfstitem 24 6 0 4 1 0 1 1 0 8 0 pfstkey 128 6 0 2 1 0 1 1 0 8 0 pfstate 352 3 0 0 1 0 1 1 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 3 0 2 2 1 1 2 0 8 0 art_heap4 256 1434 0 1006 40 11 29 30 0 8 0 art_table 32 1437 0 1008 4 0 4 4 0 8 0 art_node 16 305 0 218 1 0 1 1 0 8 0 sysvmsgpl 40 21 0 18 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 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 19497 0 17862 103 0 103 103 0 8 0 ffsino 240 19497 0 17862 97 0 97 97 0 8 0 nchpl 144 43707 0 42060 63 0 63 63 0 8 0 uvmvnodes 80 7497 0 0 153 0 153 153 0 8 0 vnodes 216 7497 0 0 417 0 417 417 0 8 0 namei 1024 130879 0 130879 14 13 1 2 0 8 1 kstatmem 264 142 0 116 2 0 2 2 0 8 0 scsiplug 72 6 0 6 2 2 0 1 0 8 0 scxspl 216 148726 0 148726 16 15 1 8 0 8 1 plimitpl 152 592 0 577 1 0 1 1 0 8 0 sigapl 424 15628 0 15567 8 0 8 8 0 8 0 futexpl 64 184501 0 184500 2 1 1 1 0 8 0 knotepl 120 453652 0 453572 84 69 15 19 0 8 10 kqueuepl 184 2080 0 2072 26 24 2 4 0 8 1 pipepl 288 2043 0 2015 47 40 7 9 0 8 4 fdescpl 432 15591 0 15567 4 0 4 4 0 8 0 filepl 120 92604 0 92363 110 96 14 15 0 8 6 lockfpl 104 1793 0 1791 4 3 1 2 0 8 0 lockfspl 48 679 0 677 1 0 1 1 0 8 0 sessionpl 144 38 0 22 1 0 1 1 0 8 0 pgrppl 48 123 0 107 1 0 1 1 0 8 0 ucredpl 104 4369 0 4358 1 0 1 1 0 8 0 zombiepl 144 15569 0 15567 3 2 1 1 0 8 0 processpl 1008 15628 0 15567 10 1 9 9 0 8 0 procpl 696 36849 0 36774 15 6 9 10 0 8 0 sosppl 168 25 0 25 5 5 0 1 0 8 0 sockpl 456 24127 0 24100 401 390 11 34 0 8 7 mcl64k 65536 1556 0 1556 12 11 1 1 0 8 1 mcl16k 16384 1156 0 1156 16 15 1 1 0 8 1 mcl12k 12288 1395 0 1395 14 13 1 1 0 8 1 mcl9k 9216 119 0 119 22 22 0 1 0 8 0 mcl8k 8192 691 0 691 19 18 1 1 0 8 1 mcl4k 4096 893 0 893 18 17 1 1 0 8 1 mcl2k2 2112 61 0 61 26 26 0 1 0 8 0 mcl2k 2048 114054 0 113995 56 47 9 31 0 8 0 mtagpl 96 3076 0 2313 24 5 19 19 0 8 0 mbufpl 256 327755 0 326865 214 155 59 121 0 8 1 bufpl 288 45208 0 37710 536 0 536 536 0 8 0 anonpl 24 1341834 0 1325798 115 11 104 109 0 188 0 amapchunkpl 152 436996 0 436163 79 40 39 41 0 158 1 amappl16 200 25657 0 25151 40 12 28 30 0 8 0 amappl15 192 14 0 14 1 1 0 1 0 8 0 amappl14 184 199 0 187 2 1 1 2 0 8 0 amappl13 176 12 0 12 1 1 0 1 0 8 0 amappl12 168 16437 0 16413 2 0 2 2 0 8 0 amappl11 160 57 0 46 1 0 1 1 0 8 0 amappl10 152 41 0 32 1 0 1 1 0 8 0 amappl9 144 400 0 398 2 1 1 2 0 8 0 amappl8 136 1414 0 1314 4 0 4 4 0 8 0 amappl7 128 139 0 122 1 0 1 1 0 8 0 amappl6 120 455 0 435 2 1 1 2 0 8 0 amappl5 112 356 0 349 1 0 1 1 0 8 0 amappl4 104 868 0 835 2 1 1 2 0 8 0 amappl3 96 88326 0 88257 4 1 3 3 0 8 0 amappl2 88 15954 0 15897 4 2 2 3 0 8 0 amappl1 80 62521 0 62030 22 10 12 22 0 8 0 amappl 88 138285 0 138075 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 15591 0 15567 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 15591 0 15567 1 0 1 1 0 8 0 vmmpekpl 168 100212 0 100155 3 0 3 3 0 8 0 vmmpepl 168 883126 0 880938 256 148 108 123 0 357 1 vmsppl 360 15590 0 15567 3 0 3 3 0 8 0 rwobjpl 24 203147 0 194000 56 0 56 56 0 8 0 pdppl 4096 31188 0 31134 520 456 64 66 0 8 10 pvpl 32 3833220 0 3812012 385 200 185 331 0 265 3 pmappl 216 15590 0 15567 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1863 0 940 28 0 28 28 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000ed4040,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000ed4040) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000d25900) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd805e8ece88) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd806838ccc0) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd806838ccc0,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd806838ccc0,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8061b203c8,ffff80002e852e08) at soo_close+0x44 fdrop(fffffd8061b203c8,ffff80002e852e08) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8061b203c8,ffff80002e852e08) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002e852e08) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002e852e08,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002e852e08,ffff80002e908280,ffff80002e9082d0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e908350) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a1152ee07d0, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000ed4040,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000ed4040) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000d25900) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd805e8ece88) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd806838ccc0) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd806838ccc0,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd806838ccc0,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8061b203c8,ffff80002e852e08) at soo_close+0x44 fdrop(fffffd8061b203c8,ffff80002e852e08) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8061b203c8,ffff80002e852e08) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002e852e08) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002e852e08,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002e852e08,ffff80002e908280,ffff80002e9082d0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e908350) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a1152ee07d0, count: -14