uvm_fault(0xfffffd807e764dd8, 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(ffff800000bb3e40) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000bb3e40) at in_delmulti+0xb7 sys/netinet/in.c:920 ip_freemoptions(ffff800000bee9b0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd806846c018) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:584 udp_detach(fffffd8063a6dc80) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1249 soclose(fffffd8063a6dc80,0) at soclose+0x245 sys/kern/uipc_socket.c:351 soo_close(fffffd8065170bc0,ffff8000220c22a0) at soo_close+0x40 fdrop(fffffd8065170bc0,ffff8000220c22a0) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd8065170bc0,ffff8000220c22a0) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000220c22a0) at fdfree+0xf3 sys/kern/kern_descrip.c:1195 exit1(ffff8000220c22a0,0,0,3) at exit1+0x35d sys/kern/kern_exit.c:202 single_thread_check_locked(ffff8000220c22a0,0,0) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:1984 userret(ffff8000220c22a0) at userret+0x239 single_thread_check sys/kern/kern_sig.c:2004 [inline] userret(ffff8000220c22a0) at userret+0x239 sys/kern/kern_sig.c:1951 syscall(ffff80002e87b7c0) at syscall+0x50f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff80002e87b7c0) at syscall+0x50f sys/arch/amd64/amd64/trap.c:607 end trace frame: 0xffff80002e87b840, count: 0 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(0xfffffd807e764dd8, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000bb3e40) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000bb3e40) at in_delmulti+0xb7 sys/netinet/in.c:920 ip_freemoptions(ffff800000bee9b0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd806846c018) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:584 udp_detach(fffffd8063a6dc80) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1249 soclose(fffffd8063a6dc80,0) at soclose+0x245 sys/kern/uipc_socket.c:351 soo_close(fffffd8065170bc0,ffff8000220c22a0) at soo_close+0x40 fdrop(fffffd8065170bc0,ffff8000220c22a0) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd8065170bc0,ffff8000220c22a0) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000220c22a0) at fdfree+0xf3 sys/kern/kern_descrip.c:1195 exit1(ffff8000220c22a0,0,0,3) at exit1+0x35d sys/kern/kern_exit.c:202 single_thread_check_locked(ffff8000220c22a0,0,0) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:1984 userret(ffff8000220c22a0) at userret+0x239 single_thread_check sys/kern/kern_sig.c:2004 [inline] userret(ffff8000220c22a0) at userret+0x239 sys/kern/kern_sig.c:1951 syscall(ffff80002e87b7c0) at syscall+0x50f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff80002e87b7c0) at syscall+0x50f sys/arch/amd64/amd64/trap.c:607 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbe640, count: -15 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002e87b2c0 rbx 0 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0xfa0bd6fd576159ef r11 0x940f6ad2a24fc2d8 r12 0 r13 0x3 r14 0xffff8000006b5000 r15 0xffff800000bb3e40 rip 0xffffffff81efac50 igmp_leavegroup+0x80 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002e87b290 ss 0x10 igmp_leavegroup+0x80: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.7) pid=24578 stat=onproc flags process=1008 proc=82000 pri=0, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000220c2540,0xffffffff829a3ad0 process=0xffff8000230e7b90 user=0xffff80002e876000, vmspace=0xfffffd807e764dd8 estcpu=36, cpticks=3, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 68101 436623 11650 0 3 0x80 nanoslp syz-executor.3 68101 517066 11650 0 3 0x4000080 fsleep syz-executor.3 29398 54303 70699 0 3 0x82 piperd syz-executor.5 6557 429727 70699 0 3 0x82 nanoslp syz-executor.0 44015 306120 70699 0 2 0x2 syz-executor.4 96923 133192 0 0 3 0x14280 nfsidl nfsio 50262 413278 0 0 3 0x14280 nfsidl nfsio 20140 454765 0 0 3 0x14280 nfsidl nfsio 9700 68079 0 0 3 0x14280 nfsidl nfsio 8377 97784 0 0 3 0x14280 nfsidl nfsio 62910 247260 0 0 3 0x14280 nfsidl nfsio 43580 95196 0 0 3 0x14280 nfsidl nfsio 29022 337662 0 0 3 0x14280 nfsidl nfsio 92616 142463 0 0 3 0x14280 nfsidl nfsio 41421 443560 0 0 3 0x14280 nfsidl nfsio 45083 286643 0 0 3 0x14280 nfsidl nfsio 38125 439123 0 0 3 0x14280 nfsidl nfsio 28045 516391 0 0 3 0x14280 nfsidl nfsio 49995 118550 0 0 3 0x14280 nfsidl nfsio 63853 48826 0 0 3 0x14280 nfsidl nfsio 52710 234205 0 0 3 0x14280 nfsidl nfsio 65817 463504 0 0 3 0x14280 nfsidl nfsio 76927 105522 0 0 3 0x14280 nfsidl nfsio 66082 407777 0 0 3 0x14280 nfsidl nfsio 74623 237787 0 0 3 0x14280 nfsidl nfsio 23413 485617 0 0 3 0x14200 bored sosplice 15804 209981 70699 0 2 0x2 syz-executor.6 23336 37824 70699 0 3 0x82 nanoslp syz-executor.7 11650 494890 70699 0 3 0x82 nanoslp syz-executor.3 28986 299037 70699 0 3 0x82 piperd syz-executor.1 12534 502598 70699 0 3 0x82 nanoslp syz-executor.2 70699 25654 57326 0 3 0x82 thrsleep syz-fuzzer 70699 225144 57326 0 3 0x4000082 thrsleep syz-fuzzer 70699 115566 57326 0 3 0x4000082 kqread syz-fuzzer 70699 352851 57326 0 3 0x4000082 thrsleep syz-fuzzer 70699 61788 57326 0 3 0x4000082 thrsleep syz-fuzzer 70699 114982 57326 0 3 0x4000082 thrsleep syz-fuzzer 70699 450361 57326 0 3 0x4000082 thrsleep syz-fuzzer 70699 335853 57326 0 3 0x4000082 thrsleep syz-fuzzer 57326 475401 90996 0 3 0x10008a sigsusp ksh 90996 408260 64105 0 3 0x9a kqread sshd 40785 502086 1 0 3 0x100083 ttyin getty 64105 67914 1 0 3 0x88 kqread sshd 61068 89880 37840 73 3 0x1100090 kqread syslogd 37840 55339 1 0 3 0x100082 netio syslogd 11512 226642 1 0 3 0x100080 kqread resolvd 789 245404 90305 77 3 0x100092 kqread dhcpleased 16626 416836 90305 77 3 0x100092 kqread dhcpleased 90305 240678 1 0 3 0x80 kqread dhcpleased 10629 358113 0 0 3 0x14200 bored smr 43522 88159 0 0 2 0x14200 zerothread 64040 297339 0 0 3 0x14200 aiodoned aiodoned 56023 31369 0 0 3 0x14200 syncer update 81846 322931 0 0 3 0x14200 cleaner cleaner 60403 423618 0 0 3 0x14200 reaper reaper 51101 373422 0 0 3 0x14200 pgdaemon pagedaemon 53862 218557 0 0 3 0x14200 bored viomb 10777 282112 0 0 3 0x40014200 acpi0 acpi0 36636 66876 0 0 3 0x14200 bored softnet 44767 65493 0 0 3 0x14200 bored systqmp 14010 315453 0 0 3 0x14200 bored systq 35373 34161 0 0 3 0x40014200 bored softclock 59504 297666 0 0 3 0x40014200 idle0 1 189303 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 10182 6411K 6997K 78643K 14490 0 pcb 13 20K 24K 78643K 245 0 rtable 172 6K 9K 78643K 790 0 ifaddr 79 16K 16K 78643K 269 0 sysctl 2 0K 0K 78643K 2 0 counters 26 17K 17K 78643K 43 0 ioctlops 0 0K 4K 78643K 354 0 iov 0 0K 28K 78643K 424 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1375 86K 86K 78643K 2089 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 134 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 12 41K 70K 78643K 1671 0 sigio 0 0K 0K 78643K 146 0 proc 58 55K 71K 78643K 709 0 subproc 104 6K 6K 78643K 203 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 1K 78643K 1145 0 in_multi 70 4K 6K 78643K 403 0 ether_multi 1 0K 0K 78643K 10 0 mrt 0 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 169 758K 758K 78643K 169 0 exec 0 0K 2K 78643K 853 0 pfkey data 0 0K 1K 78643K 4 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 274 130K 132K 78643K 21377 0 UVM aobj 131 6K 6K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 81 0 NDP 11 0K 2K 78643K 65 0 temp 142 4729K 4793K 78643K 10708 0 kqueue 12 18K 30K 78643K 154 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 202 0 199 5 4 1 3 0 8 0 rtentry 112 220 0 147 4 0 4 4 0 8 0 unpcb 136 1054 0 1040 10 9 1 6 0 8 0 syncache 296 13 0 13 3 3 0 1 0 8 0 tcpqe 32 4 0 4 2 2 0 1 0 8 0 tcpcb 736 607 0 597 21 13 8 8 0 8 7 arp 88 36 0 21 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 3 0 3 1 1 0 1 0 8 0 inpcb 304 3133 0 3117 37 26 11 17 0 8 8 ip6q 72 2 0 2 1 1 0 1 0 8 0 ip6af 40 4 0 4 1 1 0 1 0 8 0 nd6 48 53 0 38 1 0 1 1 0 8 0 pkpcb 40 15 0 15 2 2 0 1 0 8 0 kcovpl 48 15 0 7 1 0 1 1 0 8 0 ppxss 1152 6 0 6 2 2 0 1 0 8 0 pfstscr 40 32 0 24 1 0 1 1 0 8 0 pfosfp 40 4 0 3 1 0 1 1 0 8 0 pfosfpen 112 4 0 0 1 0 1 1 0 8 0 pfrktable 1344 74 0 72 2 1 1 1 0 8 0 pftag 88 3 0 0 1 0 1 1 0 8 0 pfstitem 24 5 0 0 1 0 1 1 0 8 0 pfstkey 112 37 0 34 1 0 1 1 0 8 0 pfstate 320 20 0 16 1 0 1 1 0 8 0 pfrule 1360 73 0 63 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 933 0 629 30 11 19 29 0 8 0 art_table 32 934 0 629 4 0 4 4 0 8 0 art_node 16 219 0 154 1 0 1 1 0 8 0 semapl 112 132 0 122 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 3386 0 1952 90 0 90 90 0 8 0 ffsino 240 3386 0 1952 85 0 85 85 0 8 0 nchpl 144 5792 0 4167 62 0 62 62 0 8 0 uvmvnodes 80 4140 0 0 85 0 85 85 0 8 0 vnodes 224 4140 0 0 244 0 244 244 0 8 0 namei 1024 22206 0 22205 2 1 1 2 0 8 0 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 528 10 0 6 1 0 1 1 0 8 0 pfiaddrpl 120 20 0 18 2 1 1 1 0 8 0 scxspl 216 17360 0 17360 14 12 2 8 0 8 2 plimitpl 152 127 0 113 1 0 1 1 0 8 0 sigapl 424 1954 0 1895 9 1 8 8 0 8 0 futexpl 64 16385 0 16384 1 0 1 1 0 8 0 knotepl 120 21741 0 21661 4 0 4 4 0 8 0 kqueuepl 184 314 0 306 4 3 1 4 0 8 0 pipepl 304 771 0 743 18 10 8 8 0 8 5 fdescpl 432 1920 0 1897 5 1 4 4 0 8 0 filepl 120 13977 0 13741 32 16 16 20 0 8 8 lockfpl 104 361 0 359 1 0 1 1 0 8 0 lockfspl 48 127 0 125 1 0 1 1 0 8 0 sessionpl 144 30 0 14 1 0 1 1 0 8 0 pgrppl 48 40 0 24 1 0 1 1 0 8 0 ucredpl 96 972 0 962 1 0 1 1 0 8 0 zombiepl 144 1898 0 1895 2 1 1 1 0 8 0 processpl 1000 1954 0 1895 8 0 8 8 0 8 0 procpl 672 4367 0 4300 10 2 8 8 0 8 1 sosppl 168 8 0 8 1 1 0 1 0 8 0 sockpl 448 4410 0 4380 83 70 13 30 0 8 8 mcl64k 65536 55 0 55 2 2 0 1 0 8 0 mcl16k 16384 10 0 10 3 3 0 1 0 8 0 mcl12k 12288 63 0 63 4 3 1 1 0 8 1 mcl9k 9216 36 0 36 2 2 0 1 0 8 0 mcl8k 8192 75 0 75 2 2 0 1 0 8 0 mcl4k 4096 187 0 187 3 2 1 1 0 8 1 mcl2k2 2112 14 0 14 4 4 0 1 0 8 0 mcl2k 2048 79282 0 79236 16 9 7 12 0 8 0 mtagpl 96 315 0 106 7 1 6 6 0 8 0 mbufpl 256 139645 0 139210 41 10 31 31 0 8 1 bufpl 288 6420 0 139 449 0 449 449 0 8 0 anonpl 24 481846 0 461398 150 19 131 131 0 188 0 amapchunkpl 152 50046 0 49335 42 9 33 37 0 158 0 amappl16 200 4346 0 3605 41 1 40 40 0 8 0 amappl15 192 643 0 637 1 0 1 1 0 8 0 amappl14 184 488 0 484 1 0 1 1 0 8 0 amappl13 176 315 0 311 1 0 1 1 0 8 0 amappl12 168 18 0 13 1 0 1 1 0 8 0 amappl11 160 256 0 243 1 0 1 1 0 8 0 amappl10 152 303 0 299 1 0 1 1 0 8 0 amappl9 144 482 0 480 1 0 1 1 0 8 0 amappl8 136 856 0 797 4 1 3 3 0 8 0 amappl7 128 309 0 298 1 0 1 1 0 8 0 amappl6 120 228 0 210 2 1 1 2 0 8 0 amappl5 112 1413 0 1400 1 0 1 1 0 8 0 amappl4 104 1575 0 1543 2 0 2 2 0 8 0 amappl3 96 511 0 498 1 0 1 1 0 8 0 amappl2 88 833 0 784 3 1 2 3 0 8 0 amappl1 80 37538 0 37041 18 5 13 18 0 8 0 amappl 88 20770 0 20570 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 1930 0 1903 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1930 0 1903 1 0 1 1 0 8 0 vmmpekpl 168 19502 0 19449 3 0 3 3 0 8 0 vmmpepl 168 179428 0 177124 172 52 120 162 0 357 3 vmsppl 272 1929 0 1903 5 2 3 3 0 8 0 rwobjpl 24 47081 0 41185 36 0 36 36 0 8 0 pdppl 4096 3866 0 3810 179 111 68 68 0 8 12 pvpl 32 932217 0 907917 283 72 211 259 0 265 5 pmappl 216 1929 0 1903 2 0 2 2 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1020 0 239 23 0 23 23 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000bb3e40) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000bb3e40) at in_delmulti+0xb7 sys/netinet/in.c:920 ip_freemoptions(ffff800000bee9b0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd806846c018) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:584 udp_detach(fffffd8063a6dc80) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1249 soclose(fffffd8063a6dc80,0) at soclose+0x245 sys/kern/uipc_socket.c:351 soo_close(fffffd8065170bc0,ffff8000220c22a0) at soo_close+0x40 fdrop(fffffd8065170bc0,ffff8000220c22a0) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd8065170bc0,ffff8000220c22a0) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000220c22a0) at fdfree+0xf3 sys/kern/kern_descrip.c:1195 exit1(ffff8000220c22a0,0,0,3) at exit1+0x35d sys/kern/kern_exit.c:202 single_thread_check_locked(ffff8000220c22a0,0,0) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:1984 userret(ffff8000220c22a0) at userret+0x239 single_thread_check sys/kern/kern_sig.c:2004 [inline] userret(ffff8000220c22a0) at userret+0x239 sys/kern/kern_sig.c:1951 syscall(ffff80002e87b7c0) at syscall+0x50f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff80002e87b7c0) at syscall+0x50f sys/arch/amd64/amd64/trap.c:607 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbe640, count: -15 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000bb3e40) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000bb3e40) at in_delmulti+0xb7 sys/netinet/in.c:920 ip_freemoptions(ffff800000bee9b0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd806846c018) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:584 udp_detach(fffffd8063a6dc80) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1249 soclose(fffffd8063a6dc80,0) at soclose+0x245 sys/kern/uipc_socket.c:351 soo_close(fffffd8065170bc0,ffff8000220c22a0) at soo_close+0x40 fdrop(fffffd8065170bc0,ffff8000220c22a0) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd8065170bc0,ffff8000220c22a0) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000220c22a0) at fdfree+0xf3 sys/kern/kern_descrip.c:1195 exit1(ffff8000220c22a0,0,0,3) at exit1+0x35d sys/kern/kern_exit.c:202 single_thread_check_locked(ffff8000220c22a0,0,0) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:1984 userret(ffff8000220c22a0) at userret+0x239 single_thread_check sys/kern/kern_sig.c:2004 [inline] userret(ffff8000220c22a0) at userret+0x239 sys/kern/kern_sig.c:1951 syscall(ffff80002e87b7c0) at syscall+0x50f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff80002e87b7c0) at syscall+0x50f sys/arch/amd64/amd64/trap.c:607 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbe640, count: -15