uvm_fault(0xfffffd8069d82010, 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(ffff800000cf9900,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cf9900) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000d2f7e0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd80621e93f8) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd807e85ac80) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd807e85ac80,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd807e85ac80,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd806c842ae0,ffff800024b6c2f8) at soo_close+0x44 fdrop(fffffd806c842ae0,ffff800024b6c2f8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd806c842ae0,ffff800024b6c2f8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff800024b6c2f8) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff800024b6c2f8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff800024b6c2f8,ffff800024bcb110,ffff800024bcb160) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800024bcb1e0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73c57bf8e7c0, 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(0xfffffd8069d82010, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000cf9900,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cf9900) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000d2f7e0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd80621e93f8) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd807e85ac80) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd807e85ac80,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd807e85ac80,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd806c842ae0,ffff800024b6c2f8) at soo_close+0x44 fdrop(fffffd806c842ae0,ffff800024b6c2f8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd806c842ae0,ffff800024b6c2f8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff800024b6c2f8) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff800024b6c2f8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff800024b6c2f8,ffff800024bcb110,ffff800024bcb160) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800024bcb1e0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73c57bf8e7c0, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff800024bcada0 rbx 0x4 rdx 0 rcx 0x1 rax 0 r8 0x30 r9 0x8329 __ALIGN_SIZE+0x7329 r10 0x230441ec2c9b3865 r11 0x88497d85f12f5127 r12 0 r13 0x3 r14 0xffff800000cf9900 r15 0xffff8000006b7000 rip 0xffffffff8129cb0f igmp_leavegroup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800024bcad70 ss 0x10 igmp_leavegroup+0xaf: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.3) pid=390194 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800024b6cb20,0xffff8000ffff1b60 process=0xffff8000ffff27e0 user=0xffff800024bc6000, vmspace=0xfffffd8069d82010 estcpu=36, cpticks=4, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 76985 19730 56660 0 3 0x80 nanoslp syz-executor.4 76985 414968 56660 0 3 0x4000080 fsleep syz-executor.4 39663 74728 52060 0 3 0x80 nanoslp syz-executor.2 39663 441247 52060 0 3 0x4000080 fsleep syz-executor.2 68027 52340 8949 0 2 0 syz-executor.5 68027 382758 8949 0 3 0x4000080 pipewr syz-executor.5 68027 81520 8949 0 2 0x4000000 syz-executor.5 44544 101196 15337 0 3 0x82 nanoslp syz-executor.7 5325 441138 15337 0 2 0x2 syz-executor.1 56660 157987 15337 0 3 0x82 nanoslp syz-executor.4 90109 8736 15337 0 3 0x82 nanoslp syz-executor.6 8949 16112 15337 0 3 0x82 nanoslp syz-executor.5 90028 365225 1 0 3 0x100083 ttyopn getty 39113 75278 15337 0 3 0x82 nanoslp syz-executor.0 49282 247129 15337 0 3 0x82 nanoslp syz-executor.3 52060 480227 15337 0 3 0x82 nanoslp syz-executor.2 15016 366154 0 0 3 0x14200 bored sosplice 15337 396892 27582 0 3 0x82 thrsleep syz-fuzzer 15337 278013 27582 0 3 0x4000082 thrsleep syz-fuzzer 15337 330092 27582 0 3 0x4000082 thrsleep syz-fuzzer 15337 210016 27582 0 3 0x4000082 wait syz-fuzzer 15337 346164 27582 0 3 0x4000082 kqread syz-fuzzer 15337 61894 27582 0 3 0x4000082 wait syz-fuzzer 15337 137996 27582 0 3 0x4000082 thrsleep syz-fuzzer 15337 114406 27582 0 3 0x4000082 wait syz-fuzzer 15337 407408 27582 0 3 0x4000082 wait syz-fuzzer 15337 384436 27582 0 3 0x4000082 thrsleep syz-fuzzer 15337 435935 27582 0 3 0x4000082 wait syz-fuzzer 15337 258844 27582 0 3 0x4000082 wait syz-fuzzer 15337 352893 27582 0 3 0x4000082 wait syz-fuzzer 15337 136685 27582 0 3 0x4000082 wait syz-fuzzer 27582 209976 5750 0 3 0x10008a sigsusp ksh 5750 372976 97316 0 3 0x9a kqread sshd 97316 59485 1 0 3 0x88 kqread sshd 72618 385113 13506 73 3 0x1100090 kqread syslogd 13506 514458 1 0 3 0x100082 netio syslogd 18752 144949 1 0 3 0x100080 kqread resolvd 18284 224840 0 0 3 0x14200 bored smr 4828 207029 0 0 2 0x14200 zerothread 72418 162614 0 0 3 0x14200 aiodoned aiodoned 26303 41672 0 0 3 0x14200 syncer update 38279 298187 0 0 3 0x14200 cleaner cleaner 78465 30035 0 0 3 0x14200 reaper reaper 5850 335532 0 0 3 0x14200 pgdaemon pagedaemon 24681 338111 0 0 3 0x14200 bored viomb 96887 324033 0 0 3 0x40014200 acpi0 acpi0 63826 234018 0 0 3 0x14200 bored softnet3 12257 273912 0 0 3 0x14200 bored softnet2 26379 502306 0 0 3 0x14200 bored softnet1 78827 3104 0 0 3 0x14200 bored softnet0 90296 356348 0 0 3 0x14200 bored systqmp 45296 507770 0 0 3 0x14200 bored systq 87019 118758 0 0 3 0x40014200 bored softclock 76848 326968 0 0 3 0x40014200 idle0 1 404952 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 10183 6435K 6802K 78643K 13509 0 pcb 13 16K 18K 78643K 888 0 rtable 155 15K 16K 78643K 1681 0 ifaddr 84 21K 25K 78643K 470 0 sysctl 2 0K 0K 78643K 2 0 counters 31 17K 18K 78643K 179 0 ioctlops 0 0K 4K 78643K 643 0 iov 0 0K 24K 78643K 502 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1413 88K 89K 78643K 3027 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 34 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 735 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 15 53K 77K 78643K 4478 0 sigio 0 0K 0K 78643K 110 0 proc 54 43K 75K 78643K 1238 0 subproc 104 6K 6K 78643K 369 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 276 0 in_multi 60 4K 6K 78643K 442 0 ether_multi 1 0K 0K 78643K 29 0 mrt 1 0K 0K 78643K 24 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 85 387K 387K 78643K 85 0 exec 0 0K 1K 78643K 1161 0 pfkey data 0 0K 0K 78643K 73 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 326 87K 101K 78643K 43016 0 UVM aobj 131 4K 4K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 197 0 NDP 17 0K 1K 78643K 171 0 temp 148 5859K 14055K 78643K 86326 0 kqueue 6 10K 26K 78643K 450 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 370 0 369 5 4 1 3 0 8 0 rtentry 112 441 0 382 4 1 3 4 0 8 0 unpcb 144 8177 0 8167 43 40 3 11 0 8 2 syncache 296 33 0 33 7 7 0 1 0 8 0 sackhl 24 2 0 2 2 2 0 1 0 8 0 tcpqe 32 130 0 130 4 4 0 1 0 8 0 tcpcb 776 1695 0 1689 64 56 8 8 0 8 7 arp 88 71 0 61 1 0 1 1 0 8 0 ipq 40 2 0 2 2 2 0 1 0 8 0 ipqe 40 9 0 9 2 2 0 1 0 8 0 inpcb 336 4754 0 4747 70 63 7 13 0 8 5 nd6 104 96 0 85 1 0 1 1 0 8 0 pkpcb 40 35 0 35 3 3 0 1 0 8 0 kcovpl 48 28 0 20 1 0 1 1 0 8 0 ppxss 1160 101 0 98 1 0 1 1 0 8 0 pppxif 1360 14 0 13 1 0 1 1 0 8 0 pfstscr 40 3 0 3 1 1 0 1 0 8 0 pfstkey 128 12 0 12 1 1 0 1 0 8 0 pfstate 352 6 0 6 1 1 0 1 0 8 0 rttmr 136 7 0 7 2 2 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1856 0 1550 44 19 25 33 0 8 0 art_table 32 1857 0 1550 5 2 3 5 0 8 0 art_node 16 422 0 371 1 0 1 1 0 8 0 sysvmsgpl 40 50 0 10 1 0 1 1 0 8 0 semapl 112 733 0 723 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 7080 0 5613 93 0 93 93 0 8 0 ffsino 240 7080 0 5613 87 0 87 87 0 8 0 nchpl 144 13261 0 12765 63 41 22 63 0 8 0 rtmask 32 3 0 2 2 1 1 1 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 51186 0 51186 6 5 1 3 0 8 1 kstatmem 264 214 0 180 3 0 3 3 0 8 0 scsiplug 72 8 0 8 2 2 0 1 0 8 0 scxspl 216 40484 0 40484 21 20 1 8 0 8 1 plimitpl 152 542 0 528 1 0 1 1 0 8 0 sigapl 424 4762 0 4720 8 2 6 8 0 8 0 futexpl 64 50366 0 50364 1 0 1 1 0 8 0 knotepl 120 77986 0 77922 38 32 6 11 0 8 2 kqueuepl 184 2520 0 2515 33 32 1 9 0 8 0 pipepl 288 1100 0 1071 24 21 3 7 0 8 0 fdescpl 432 4725 0 4702 5 1 4 4 0 8 0 filepl 120 39921 0 39697 60 49 11 19 0 8 3 lockfpl 104 1212 0 1211 4 3 1 2 0 8 0 lockfspl 48 314 0 313 1 0 1 1 0 8 0 sessionpl 144 46 0 31 1 0 1 1 0 8 0 pgrppl 48 60 0 45 1 0 1 1 0 8 0 ucredpl 104 5640 0 5632 1 0 1 1 0 8 0 zombiepl 144 4724 0 4720 2 1 1 1 0 8 0 processpl 1008 4762 0 4720 10 4 6 9 0 8 0 procpl 696 11369 0 11310 14 6 8 11 0 8 0 sosppl 168 55 0 55 7 7 0 1 0 8 0 sockpl 456 13346 0 13328 309 298 11 37 0 8 7 mcl64k 65536 172 0 172 9 8 1 1 0 8 1 mcl16k 16384 62 0 62 9 9 0 1 0 8 0 mcl12k 12288 158 0 158 10 9 1 1 0 8 1 mcl9k 9216 66 0 66 13 13 0 1 0 8 0 mcl8k 8192 236 0 236 9 9 0 1 0 8 0 mcl4k 4096 641 0 641 4 3 1 1 0 8 1 mcl2k2 2112 37 0 37 12 12 0 1 0 8 0 mcl2k 2048 77010 0 76966 37 30 7 31 0 8 1 mtagpl 96 185 0 185 5 4 1 3 0 8 1 mbufpl 256 161533 0 161425 230 213 17 64 0 8 2 bufpl 288 12880 0 6495 457 0 457 457 0 8 0 anonpl 24 550129 0 535511 101 2 99 99 0 188 0 amapchunkpl 152 136243 0 135415 59 23 36 42 0 158 2 amappl16 200 10750 0 10246 31 4 27 28 0 8 0 amappl15 192 8 0 7 1 0 1 1 0 8 0 amappl14 184 223 0 214 2 1 1 2 0 8 0 amappl13 176 16 0 16 2 2 0 1 0 8 0 amappl12 168 5654 0 5626 2 0 2 2 0 8 0 amappl11 160 47 0 43 1 0 1 1 0 8 0 amappl10 152 47 0 38 2 1 1 1 0 8 0 amappl9 144 219 0 219 8 8 0 2 0 8 0 amappl8 136 273 0 199 3 0 3 3 0 8 0 amappl7 128 76 0 57 1 0 1 1 0 8 0 amappl6 120 414 0 397 2 1 1 2 0 8 0 amappl5 112 285 0 282 1 0 1 1 0 8 0 amappl4 104 902 0 872 2 1 1 2 0 8 0 amappl3 96 27013 0 26939 3 0 3 3 0 8 0 amappl2 88 5003 0 4959 4 2 2 3 0 8 0 amappl1 80 26961 0 26546 22 11 11 22 0 8 0 amappl 88 42179 0 41967 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 4725 0 4702 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4725 0 4702 1 0 1 1 0 8 0 vmmpekpl 168 39131 0 39086 3 0 3 3 0 8 0 vmmpepl 168 301691 0 299655 231 125 106 128 0 357 0 vmsppl 368 4724 0 4702 3 0 3 3 0 8 0 rwobjpl 24 79411 0 71974 46 0 46 46 0 8 0 pdppl 4096 9456 0 9404 372 314 58 70 0 8 6 pvpl 32 1429747 0 1410515 347 175 172 334 0 265 0 pmappl 216 4724 0 4702 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1462 0 696 24 0 24 24 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000cf9900,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cf9900) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000d2f7e0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd80621e93f8) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd807e85ac80) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd807e85ac80,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd807e85ac80,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd806c842ae0,ffff800024b6c2f8) at soo_close+0x44 fdrop(fffffd806c842ae0,ffff800024b6c2f8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd806c842ae0,ffff800024b6c2f8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff800024b6c2f8) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff800024b6c2f8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff800024b6c2f8,ffff800024bcb110,ffff800024bcb160) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800024bcb1e0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73c57bf8e7c0, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000cf9900,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cf9900) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000d2f7e0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd80621e93f8) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd807e85ac80) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd807e85ac80,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd807e85ac80,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd806c842ae0,ffff800024b6c2f8) at soo_close+0x44 fdrop(fffffd806c842ae0,ffff800024b6c2f8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd806c842ae0,ffff800024b6c2f8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff800024b6c2f8) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff800024b6c2f8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff800024b6c2f8,ffff800024bcb110,ffff800024bcb160) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800024bcb1e0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73c57bf8e7c0, count: -14