uvm_fault(0xfffffd8065e24a28, 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(ffff800000d16300,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000d16300) at in_delmulti+0xd3 sys/netinet/in.c:908 ip_freemoptions(ffff800000de4820) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1762 in_pcbdetach(fffffd806c7eeac0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:589 udp_detach(fffffd806954fd60) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd806954fd60,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd806954fd60,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8071d6ee10,ffff800023165358) at soo_close+0x44 fdrop(fffffd8071d6ee10,ffff800023165358) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8071d6ee10,ffff800023165358) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff800023165358) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff800023165358,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff800023165358,ffff800023150090,ffff8000231500e0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800023150160) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x78dab46067c0, 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(0xfffffd8065e24a28, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000d16300,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000d16300) at in_delmulti+0xd3 sys/netinet/in.c:908 ip_freemoptions(ffff800000de4820) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1762 in_pcbdetach(fffffd806c7eeac0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:589 udp_detach(fffffd806954fd60) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd806954fd60,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd806954fd60,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8071d6ee10,ffff800023165358) at soo_close+0x44 fdrop(fffffd8071d6ee10,ffff800023165358) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8071d6ee10,ffff800023165358) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff800023165358) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff800023165358,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff800023165358,ffff800023150090,ffff8000231500e0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800023150160) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x78dab46067c0, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002314fd20 rbx 0x5 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0x276cbeab3e6afc32 r11 0x3880a88a8b1fbcef r12 0 r13 0x3 r14 0xffff800000d16300 r15 0xffff8000006b7000 rip 0xffffffff817a626f igmp_leavegroup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002314fcf0 ss 0x10 igmp_leavegroup+0xaf: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.5) pid=475688 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=83, nice=20 forw=0xffffffffffffffff, list=0xffff800027f97600,0xffff800023165620 process=0xffff800027f917b0 user=0xffff80002314b000, vmspace=0xfffffd8065e24a28 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 12166 47388 9611 0 2 0 syz-executor.7 12166 485536 9611 0 3 0x4000080 fsleep syz-executor.7 12166 123227 9611 0 3 0x4000080 fsleep syz-executor.7 33398 489613 72847 0 2 0 syz-executor.2 33398 373063 72847 0 3 0x4000080 fsleep syz-executor.2 4432 288278 55407 0 3 0x80 nanoslp syz-executor.3 4432 190916 55407 0 3 0x4000080 fsleep syz-executor.3 45963 32449 0 0 3 0x14280 nfsidl nfsio 31034 384817 0 0 3 0x14280 nfsidl nfsio 84148 454330 0 0 3 0x14280 nfsidl nfsio 88965 187446 0 0 3 0x14280 nfsidl nfsio 66918 391183 0 0 3 0x14280 nfsidl nfsio 1434 307349 0 0 3 0x14280 nfsidl nfsio 98380 217018 0 0 3 0x14280 nfsidl nfsio 3302 409838 0 0 3 0x14280 nfsidl nfsio 3526 383006 0 0 3 0x14280 nfsidl nfsio 9553 247253 0 0 3 0x14280 nfsidl nfsio 2466 508490 0 0 3 0x14280 nfsidl nfsio 2171 275208 0 0 3 0x14280 nfsidl nfsio 81539 290407 0 0 3 0x14280 nfsidl nfsio 77056 382702 0 0 3 0x14280 nfsidl nfsio 45226 209549 0 0 3 0x14280 nfsidl nfsio 77897 192896 0 0 3 0x14280 nfsidl nfsio 98245 117079 0 0 3 0x14280 nfsidl nfsio 67775 107559 0 0 3 0x14280 nfsidl nfsio 50406 41190 0 0 3 0x14280 nfsidl nfsio 92175 480184 0 0 3 0x14280 nfsidl nfsio 86534 68575 72869 0 3 0x82 nanoslp syz-executor.0 55407 24304 72869 0 3 0x82 nanoslp syz-executor.3 72847 208725 72869 0 3 0x82 nanoslp syz-executor.2 17517 199431 72869 0 3 0x82 nanoslp syz-executor.5 74036 122288 72869 0 3 0x82 nanoslp syz-executor.6 9611 141473 72869 0 3 0x82 nanoslp syz-executor.7 90442 514253 72869 0 2 0x2 syz-executor.4 65068 361109 72869 0 3 0x82 nanoslp syz-executor.1 23726 422454 0 0 3 0x14200 bored sosplice 72869 28359 87366 0 3 0x82 wait syz-fuzzer 72869 13394 87366 0 3 0x4000082 nanoslp syz-fuzzer 72869 313012 87366 0 3 0x4000082 wait syz-fuzzer 72869 134483 87366 0 3 0x4000082 thrsleep syz-fuzzer 72869 325730 87366 0 3 0x4000082 wait syz-fuzzer 72869 367663 87366 0 3 0x4000082 kqread syz-fuzzer 72869 302579 87366 0 3 0x4000082 wait syz-fuzzer 72869 506102 87366 0 3 0x4000082 thrsleep syz-fuzzer 72869 31914 87366 0 3 0x4000082 wait syz-fuzzer 72869 515825 87366 0 3 0x4000082 thrsleep syz-fuzzer 72869 401382 87366 0 3 0x4000082 thrsleep syz-fuzzer 72869 460186 87366 0 3 0x4000082 wait syz-fuzzer 72869 418943 87366 0 3 0x4000082 wait syz-fuzzer 72869 430688 87366 0 3 0x4000082 wait syz-fuzzer 87366 269612 86114 0 3 0x10008a sigsusp ksh 86114 163794 54218 0 3 0x9a kqread sshd 4217 76030 1 0 3 0x100083 ttyin getty 54218 374248 1 0 3 0x88 kqread sshd 17612 236049 91402 73 3 0x1100090 kqread syslogd 91402 64561 1 0 3 0x100082 netio syslogd 12141 74140 1 0 3 0x100080 kqread resolvd 31540 258616 82530 77 3 0x100092 kqread dhcpleased 35469 46354 82530 77 3 0x100092 kqread dhcpleased 82530 511904 1 0 3 0x80 kqread dhcpleased 89204 390237 0 0 3 0x14200 bored smr 1967 162882 0 0 2 0x14200 zerothread 58881 251177 0 0 3 0x14200 aiodoned aiodoned 4152 325315 0 0 3 0x14200 syncer update 81141 366311 0 0 3 0x14200 cleaner cleaner 86101 69536 0 0 3 0x14200 reaper reaper 55584 467004 0 0 3 0x14200 pgdaemon pagedaemon 31059 42192 0 0 3 0x14200 bored viomb 24693 302436 0 0 3 0x40014200 acpi0 acpi0 81629 426823 0 0 3 0x14200 bored softnet3 2237 416754 0 0 3 0x14200 bored softnet2 85343 260540 0 0 3 0x14200 bored softnet1 98354 416772 0 0 3 0x14200 bored softnet0 87953 217344 0 0 3 0x14200 bored systqmp 4349 251699 0 0 3 0x14200 bored systq 80434 330443 0 0 3 0x40014200 bored softclock 28438 386666 0 0 3 0x40014200 idle0 1 358609 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 10195 6436K 7476K 78643K 26300 0 pcb 17 18K 20K 78643K 8950 0 rtable 182 15K 16K 78643K 3220 0 pf 49 13K 1034K 78643K 18067 0 ifaddr 39 11K 12K 78643K 491 0 ifgroup 60 2K 3K 78643K 787 0 sysctl 2 0K 0K 78643K 2 0 counters 28 17K 17K 78643K 565 0 ioctlops 0 0K 2K 78643K 1552 0 iov 0 0K 24K 78643K 1676 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1594 100K 100K 78643K 12718 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 117 0 VM map 2 1K 1K 78643K 2 0 sem 20 11K 20K 78643K 2300 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 14 49K 73K 78643K 11974 0 sigio 0 0K 0K 78643K 629 0 proc 59 59K 91K 78643K 2247 0 subproc 104 6K 6K 78643K 728 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 451 0 in_multi 71 5K 7K 78643K 1012 0 ether_multi 1 0K 0K 78643K 61 0 mrt 1 0K 0K 78643K 90 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 157 705K 705K 78643K 157 0 exec 0 0K 1K 78643K 3015 0 pfkey data 0 0K 0K 78643K 57 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 382 93K 107K 78643K 111192 0 UVM aobj 131 4K 4K 78643K 137 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 336 0 NDP 14 0K 2K 78643K 339 0 temp 74 5856K 5940K 78643K 149287 0 kqueue 12 18K 28K 78643K 1678 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 1010 0 1007 11 8 3 3 0 8 2 rtentry 112 1016 0 942 4 1 3 4 0 8 0 unpcb 144 9097 0 9084 89 81 8 11 0 8 7 syncache 296 47 0 47 14 13 1 1 0 8 1 tcpqe 32 512 61 512 4 4 0 1 0 8 0 tcpcb 808 2995 0 2984 103 98 5 14 0 8 3 arp 88 135 0 121 1 0 1 1 0 8 0 ipq 40 72 0 71 5 4 1 1 0 8 0 ipqe 40 152 0 151 5 4 1 1 0 8 0 inpcb 336 16866 0 16847 193 186 7 18 0 8 4 nd6 104 190 0 174 1 0 1 1 0 8 0 pkpcb 40 61 0 61 7 7 0 1 0 8 0 kcovpl 48 56 0 48 1 0 1 1 0 8 0 mppekey 1024 12 0 12 5 4 1 1 0 8 1 ppxss 1160 406 0 405 20 19 1 1 0 8 0 pppxif 1360 278 0 278 11 10 1 1 0 8 1 pfstscr 40 40 0 32 1 0 1 1 0 8 0 pfosfp 40 14 0 11 1 0 1 1 0 8 0 pfosfpen 112 14 0 5 1 0 1 1 0 8 0 pfanchor 1288 898 16 386 46 3 43 43 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 264 9 0 9 2 2 0 1 0 8 0 pfstitem 24 35 0 13 1 0 1 1 0 8 0 pfstkey 128 220 0 204 1 0 1 1 0 8 0 pfstate 344 110 0 99 1 0 1 1 0 8 0 rttmr 136 27 0 27 6 6 0 1 0 8 0 art_heap8 4096 5 0 4 3 2 1 3 0 8 0 art_heap4 256 4368 0 4048 55 33 22 30 0 8 0 art_table 32 4373 0 4052 4 0 4 4 0 8 0 art_node 16 894 0 831 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 2294 0 2276 1 0 1 1 0 8 0 shmpl 112 134 0 6 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 16005 0 14505 95 0 95 95 0 8 0 ffsino 240 16005 0 14505 89 0 89 89 0 8 0 nchpl 144 32088 0 31592 63 42 21 63 0 8 0 uvmvnodes 80 6184 0 0 127 0 127 127 0 8 0 vnodes 216 6184 0 0 344 0 344 344 0 8 0 namei 1024 136708 0 136708 7 6 1 3 0 8 1 kstatmem 264 420 0 392 5 2 3 3 0 8 0 scsiplug 72 9 0 9 3 3 0 1 0 8 0 scxspl 216 102439 0 102439 25 24 1 8 0 8 1 plimitpl 152 1369 0 1354 1 0 1 1 0 8 0 sigapl 424 12257 0 12192 11 3 8 8 0 8 0 futexpl 64 133738 0 133734 4 3 1 1 0 8 0 knotepl 120 738548 0 738468 233 223 10 35 0 8 3 kqueuepl 184 3054 0 3044 31 27 4 6 0 8 3 pipepl 288 2898 0 2868 54 49 5 7 0 8 2 fdescpl 432 12159 0 12134 9 5 4 4 0 8 0 filepl 120 99154 0 98904 129 115 14 19 0 8 4 lockfpl 104 3214 0 3212 7 6 1 2 0 8 0 lockfspl 48 852 0 850 1 0 1 1 0 8 0 sessionpl 144 71 0 55 1 0 1 1 0 8 0 pgrppl 48 222 0 206 1 0 1 1 0 8 0 ucredpl 104 14963 0 14948 1 0 1 1 0 8 0 zombiepl 144 12196 0 12192 1 0 1 1 0 8 0 processpl 1008 12257 0 12192 12 3 9 9 0 8 0 procpl 696 29882 0 29800 16 7 9 10 0 8 0 sosppl 168 85 0 83 18 17 1 1 0 8 0 sockpl 456 27181 0 27146 532 518 14 36 0 8 8 mcl64k 65536 518 0 518 20 19 1 1 0 8 1 mcl16k 16384 251 0 251 26 25 1 1 0 8 1 mcl12k 12288 474 0 474 29 28 1 1 0 8 1 mcl9k 9216 147 0 147 26 25 1 1 0 8 1 mcl8k 8192 631 0 631 18 17 1 1 0 8 1 mcl4k 4096 1504 0 1504 15 14 1 1 0 8 1 mcl2k2 2112 85 0 85 29 28 1 1 0 8 1 mcl2k 2048 97491 0 97436 73 64 9 42 0 8 1 mtagpl 96 1551 0 1285 15 6 9 11 0 8 0 mbufpl 256 305221 0 304853 641 607 34 85 0 8 0 bufpl 288 24857 0 18472 457 0 457 457 0 8 0 anonpl 24 1388970 0 1373026 296 174 122 173 0 188 4 amapchunkpl 152 363864 0 362991 188 142 46 69 0 158 7 amappl16 200 27092 0 26599 139 103 36 39 0 8 8 amappl15 192 13 0 12 1 0 1 1 0 8 0 amappl14 184 290 0 276 2 1 1 2 0 8 0 amappl13 176 21 0 20 1 0 1 1 0 8 0 amappl12 168 13510 0 13484 3 1 2 2 0 8 0 amappl11 160 50 0 40 1 0 1 1 0 8 0 amappl10 152 75 0 65 2 1 1 1 0 8 0 amappl9 144 177 0 175 2 1 1 2 0 8 0 amappl8 136 558 0 445 5 1 4 4 0 8 0 amappl7 128 109 0 91 1 0 1 1 0 8 0 amappl6 120 669 0 645 2 1 1 2 0 8 0 amappl5 112 536 0 530 1 0 1 1 0 8 0 amappl4 104 1392 0 1354 5 3 2 2 0 8 0 amappl3 96 69698 0 69625 4 1 3 3 0 8 0 amappl2 88 12669 0 12607 4 2 2 3 0 8 0 amappl1 80 55338 0 54845 22 11 11 22 0 8 0 amappl 88 109940 0 109710 10 3 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 136 0 6 3 0 3 3 0 8 0 uaddrrnd 24 12159 0 12134 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 12159 0 12134 1 0 1 1 0 8 0 vmmpekpl 168 91672 0 91616 4 1 3 3 0 8 0 vmmpepl 168 741325 0 739069 319 196 123 134 0 357 0 vmsppl 368 12158 0 12134 4 1 3 3 0 8 0 rwobjpl 24 178088 0 170237 50 1 49 49 0 8 0 pdppl 4096 24324 0 24268 664 600 64 68 0 8 8 pvpl 32 3682407 0 3660943 655 443 212 359 0 265 14 pmappl 216 12158 0 12134 3 1 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 2539 0 1737 25 0 25 25 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000d16300,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000d16300) at in_delmulti+0xd3 sys/netinet/in.c:908 ip_freemoptions(ffff800000de4820) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1762 in_pcbdetach(fffffd806c7eeac0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:589 udp_detach(fffffd806954fd60) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd806954fd60,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd806954fd60,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8071d6ee10,ffff800023165358) at soo_close+0x44 fdrop(fffffd8071d6ee10,ffff800023165358) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8071d6ee10,ffff800023165358) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff800023165358) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff800023165358,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff800023165358,ffff800023150090,ffff8000231500e0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800023150160) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x78dab46067c0, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000d16300,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000d16300) at in_delmulti+0xd3 sys/netinet/in.c:908 ip_freemoptions(ffff800000de4820) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1762 in_pcbdetach(fffffd806c7eeac0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:589 udp_detach(fffffd806954fd60) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd806954fd60,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd806954fd60,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8071d6ee10,ffff800023165358) at soo_close+0x44 fdrop(fffffd8071d6ee10,ffff800023165358) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8071d6ee10,ffff800023165358) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff800023165358) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff800023165358,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff800023165358,ffff800023150090,ffff8000231500e0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800023150160) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x78dab46067c0, count: -14