#)T(kK@5-#)T(kK@5-#)T(kK@5-uvm_fault(0xfffffd806fb1a5c8, 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(ffff800000e33100,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000e33100) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c68f0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd80604a87e0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd805bb84570) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805bb84570,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805bb84570,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8067ac32e8,ffff80002e875350) at soo_close+0x44 fdrop(fffffd8067ac32e8,ffff80002e875350) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8067ac32e8,ffff80002e875350) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002e875350) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002e875350,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002e875350,ffff80002b81a2d0,ffff80002b81a320) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002b81a3a0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f0865321300, 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(0xfffffd806fb1a5c8, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000e33100,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000e33100) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c68f0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd80604a87e0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd805bb84570) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805bb84570,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805bb84570,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8067ac32e8,ffff80002e875350) at soo_close+0x44 fdrop(fffffd8067ac32e8,ffff80002e875350) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8067ac32e8,ffff80002e875350) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002e875350) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002e875350,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002e875350,ffff80002b81a2d0,ffff80002b81a320) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002b81a3a0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f0865321300, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002b819f60 rbx 0x5 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0x60f14a87ced2ac9b r11 0x3d2eca028b73cb26 r12 0 r13 0x3 r14 0xffff800000e33100 r15 0xffff8000006b7000 rip 0xffffffff8237709f igmp_leavegroup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002b819f30 ss 0x10 igmp_leavegroup+0xaf: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.1) pid=8379 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000216da040,0xffffffff82c86930 process=0xffff8000216dc3f0 user=0xffff80002b815000, vmspace=0xfffffd806fb1a5c8 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 21057 91375 0 0 3 0x14280 nfsidl nfsio 95306 40620 0 0 3 0x14280 nfsidl nfsio 11101 361183 0 0 3 0x14280 nfsidl nfsio 11794 492765 0 0 3 0x14280 nfsidl nfsio 33265 99778 0 0 3 0x14280 nfsidl nfsio 26152 93201 0 0 3 0x14280 nfsidl nfsio 60604 275012 0 0 3 0x14280 nfsidl nfsio 37904 489105 0 0 3 0x14280 nfsidl nfsio 87693 233890 0 0 3 0x14280 nfsidl nfsio 54084 423658 0 0 3 0x14280 nfsidl nfsio 52050 14950 0 0 3 0x14280 nfsidl nfsio 81592 172312 0 0 3 0x14280 nfsidl nfsio 73109 327442 0 0 3 0x14280 nfsidl nfsio 32028 495534 0 0 3 0x14280 nfsidl nfsio 43021 386686 0 0 3 0x14280 nfsidl nfsio 79772 153063 0 0 3 0x14280 nfsidl nfsio 26465 67074 0 0 3 0x14280 nfsidl nfsio 55244 284853 0 0 3 0x14280 nfsidl nfsio 4900 497949 0 0 3 0x14280 nfsidl nfsio 45783 296266 0 0 3 0x14280 nfsidl nfsio 24031 242900 6589 0 2 0x482 syz-executor.4 4282 515696 6589 0 3 0x82 piperd syz-executor.2 49289 524103 6589 0 2 0x2 syz-executor.7 11888 362466 1 0 3 0x100083 ttyin getty 34191 288887 0 0 3 0x14200 bored sosplice 5837 422191 6589 0 2 0x482 syz-executor.6 28732 85041 6589 0 2 0x482 syz-executor.3 67329 98293 6589 0 2 0x2 syz-executor.5 52775 336909 6589 0 3 0x82 nanoslp syz-executor.1 43578 267517 6589 0 2 0x2 syz-executor.0 6589 57546 17559 0 3 0x82 wait syz-fuzzer 6589 505759 17559 0 2 0x4000482 syz-fuzzer 6589 5361 17559 0 3 0x4000082 wait syz-fuzzer 6589 320860 17559 0 3 0x4000082 wait syz-fuzzer 6589 325265 17559 0 3 0x4000082 thrsleep syz-fuzzer 6589 105727 17559 0 3 0x4000082 wait syz-fuzzer 6589 240336 17559 0 3 0x4000082 wait syz-fuzzer 6589 438742 17559 0 3 0x4000082 thrsleep syz-fuzzer 6589 130686 17559 0 3 0x4000082 wait syz-fuzzer 6589 7983 17559 0 3 0x4000082 thrsleep syz-fuzzer 6589 381957 17559 0 3 0x4000082 thrsleep syz-fuzzer 6589 116821 17559 0 3 0x4000082 wait syz-fuzzer 6589 174474 17559 0 3 0x4000082 wait syz-fuzzer 6589 350629 17559 0 3 0x4000082 kqread syz-fuzzer 17559 285167 69167 0 3 0x10008a sigsusp ksh 69167 441008 84681 0 3 0x9a kqread sshd 84681 320470 1 0 3 0x88 kqread sshd 68139 99200 97454 73 3 0x1100090 kqread syslogd 97454 26572 1 0 3 0x100082 netio syslogd 35691 392175 1 0 3 0x100080 kqread resolvd 91669 281027 79163 77 3 0x100092 kqread dhcpleased 85898 190368 79163 77 3 0x100092 kqread dhcpleased 79163 292549 1 0 3 0x80 kqread dhcpleased 70764 338461 0 0 3 0x14200 bored smr 10407 287359 0 0 2 0x14200 zerothread 74321 340115 0 0 3 0x14200 aiodoned aiodoned 94221 422222 0 0 3 0x14200 syncer update 81523 191877 0 0 3 0x14200 cleaner cleaner 86068 287351 0 0 3 0x14200 reaper reaper 88562 82906 0 0 3 0x14200 pgdaemon pagedaemon 87038 356291 0 0 3 0x14200 bored viomb 96967 25501 0 0 3 0x40014200 acpi0 acpi0 51096 70167 0 0 3 0x14200 bored softnet3 96232 127945 0 0 3 0x14200 bored softnet2 64835 276842 0 0 3 0x14200 bored softnet1 29478 13204 0 0 3 0x14200 bored softnet0 93212 230313 0 0 3 0x14200 bored systqmp 22437 130451 0 0 3 0x14200 bored systq 83049 414226 0 0 2 0x40014200 softclock 64607 326242 0 0 3 0x40014200 idle0 1 34012 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 10173 6419K 6686K 78643K 12153 0 pcb 13 14K 15K 78643K 299 0 rtable 219 7K 7K 78643K 727 0 ifaddr 78 21K 22K 78643K 204 0 sysctl 2 0K 0K 78643K 2 0 counters 28 17K 17K 78643K 70 0 ioctlops 0 0K 2K 78643K 348 0 iov 0 0K 16K 78643K 237 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1407 88K 88K 78643K 2327 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 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 35 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 11 37K 69K 78643K 1413 0 proc 58 59K 67K 78643K 615 0 subproc 104 6K 6K 78643K 143 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 138 0 in_multi 97 6K 6K 78643K 173 0 ether_multi 1 0K 0K 78643K 19 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 91 413K 413K 78643K 91 0 exec 0 0K 1K 78643K 646 0 pfkey data 0 0K 0K 78643K 5 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 292 86K 88K 78643K 15185 0 UVM aobj 7 2K 2K 78643K 7 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 46 0 NDP 12 0K 1K 78643K 66 0 temp 129 5858K 5930K 78643K 27900 0 kqueue 12 18K 26K 78643K 143 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 200 0 197 4 3 1 3 0 8 0 rtentry 112 158 0 59 4 0 4 4 0 8 0 unpcb 144 2752 0 2735 16 12 4 8 0 8 3 syncache 296 12 0 12 4 3 1 1 0 8 1 tcpqe 32 7 0 7 3 3 0 1 0 8 0 tcpcb 776 462 0 456 20 18 2 14 0 8 0 arp 88 24 0 6 1 0 1 1 0 8 0 inpcb 336 1303 0 1293 22 15 7 12 0 8 4 nd6 104 36 0 10 1 0 1 1 0 8 0 pkpcb 40 6 0 6 3 3 0 1 0 8 0 kcovpl 48 11 0 3 1 0 1 1 0 8 0 mppekey 1024 4 0 4 2 1 1 1 0 8 1 ppxss 1160 34 0 34 3 2 1 1 0 8 1 pppxif 1360 2 0 2 1 1 0 1 0 8 0 pfstscr 40 7 0 6 1 0 1 1 0 8 0 pfanchor 1288 510 0 136 32 0 32 32 0 8 0 pfstitem 24 8 0 6 1 0 1 1 0 8 0 pfstkey 128 14 0 6 1 0 1 1 0 8 0 pfstate 352 7 0 6 1 0 1 1 0 8 0 rttmr 136 3 0 3 1 0 1 1 0 8 1 art_heap8 4096 2 0 1 2 1 1 2 0 8 0 art_heap4 256 699 0 270 29 2 27 29 0 8 0 art_table 32 701 0 271 4 0 4 4 0 8 0 art_node 16 156 0 67 1 0 1 1 0 8 0 sysvmsgpl 40 28 0 11 1 0 1 1 0 8 0 semapl 112 28 0 18 1 0 1 1 0 8 0 shmpl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3354 0 1909 91 0 91 91 0 8 0 ffsino 240 3354 0 1909 86 0 86 86 0 8 0 nchpl 144 5323 0 3687 63 0 63 63 0 8 0 uvmvnodes 80 4167 0 0 86 0 86 86 0 8 0 vnodes 216 4167 0 0 232 0 232 232 0 8 0 namei 1024 19466 0 19464 3 2 1 3 0 8 0 kstatmem 264 86 0 62 2 0 2 2 0 8 0 scxspl 216 17379 0 17379 15 12 3 8 0 8 3 plimitpl 152 247 0 232 1 0 1 1 0 8 0 sigapl 424 1729 0 1667 8 0 8 8 0 8 0 futexpl 64 14914 0 14914 1 0 1 1 0 8 1 knotepl 120 23287 0 23207 26 19 7 11 0 8 3 kqueuepl 184 306 0 297 5 4 1 3 0 8 0 pipepl 288 441 0 412 11 4 7 7 0 8 4 fdescpl 432 1692 0 1670 4 0 4 4 0 8 0 filepl 120 13398 0 13157 22 9 13 15 0 8 5 lockfpl 104 384 0 382 2 1 1 2 0 8 0 lockfspl 48 81 0 79 1 0 1 1 0 8 0 sessionpl 144 27 0 11 1 0 1 1 0 8 0 pgrppl 48 31 0 15 1 0 1 1 0 8 0 ucredpl 104 1643 0 1632 1 0 1 1 0 8 0 zombiepl 144 1671 0 1667 1 0 1 1 0 8 0 processpl 1008 1729 0 1667 10 1 9 9 0 8 0 procpl 696 3768 0 3693 10 1 9 9 0 8 0 sosppl 168 9 0 9 2 2 0 1 0 8 0 sockpl 456 4263 0 4233 74 61 13 29 0 8 8 mcl64k 65536 51 0 51 3 2 1 1 0 8 1 mcl16k 16384 30 0 30 4 3 1 1 0 8 1 mcl12k 12288 59 0 59 3 2 1 1 0 8 1 mcl9k 9216 27 0 27 4 3 1 1 0 8 1 mcl8k 8192 105 0 105 2 1 1 1 0 8 1 mcl4k 4096 178 0 178 3 2 1 1 0 8 1 mcl2k2 2112 15 0 15 3 2 1 1 0 8 1 mcl2k 2048 77814 0 77780 41 35 6 38 0 8 0 mtagpl 96 13 0 5 2 1 1 1 0 8 0 mbufpl 256 143556 0 143434 420 398 22 271 0 8 8 bufpl 288 7285 0 894 457 0 457 457 0 8 0 anonpl 24 320315 0 304993 124 4 120 120 0 188 22 amapchunkpl 152 48526 0 47757 42 3 39 39 0 158 2 amappl16 200 8417 0 7929 46 12 34 40 0 8 8 amappl15 192 11 0 11 1 1 0 1 0 8 0 amappl14 184 170 0 156 2 1 1 2 0 8 0 amappl13 176 9 0 9 1 1 0 1 0 8 0 amappl12 168 2364 0 2342 2 0 2 2 0 8 0 amappl11 160 51 0 40 1 0 1 1 0 8 0 amappl10 152 27 0 19 2 1 1 1 0 8 0 amappl9 144 170 0 169 2 1 1 2 0 8 0 amappl8 136 190 0 136 2 0 2 2 0 8 0 amappl7 128 61 0 45 1 0 1 1 0 8 0 amappl6 120 306 0 287 2 1 1 2 0 8 0 amappl5 112 172 0 166 1 0 1 1 0 8 0 amappl4 104 653 0 621 2 1 1 2 0 8 0 amappl3 96 9934 0 9877 3 0 3 3 0 8 0 amappl2 88 1961 0 1908 4 2 2 3 0 8 0 amappl1 80 14602 0 14112 22 11 11 22 0 8 0 amappl 88 14621 0 14433 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 6 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1692 0 1670 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1692 0 1670 1 0 1 1 0 8 0 vmmpekpl 168 18660 0 18617 3 0 3 3 0 8 0 vmmpepl 168 122683 0 120673 155 41 114 120 0 357 14 vmsppl 368 1691 0 1670 3 0 3 3 0 8 0 rwobjpl 24 40802 0 35191 36 1 35 35 0 8 0 pdppl 4096 3390 0 3340 148 84 64 66 0 8 14 pvpl 32 733439 0 713285 407 199 208 359 0 265 35 pmappl 216 1691 0 1670 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1334 0 553 28 4 24 26 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000e33100,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000e33100) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c68f0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd80604a87e0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd805bb84570) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805bb84570,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805bb84570,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8067ac32e8,ffff80002e875350) at soo_close+0x44 fdrop(fffffd8067ac32e8,ffff80002e875350) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8067ac32e8,ffff80002e875350) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002e875350) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002e875350,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002e875350,ffff80002b81a2d0,ffff80002b81a320) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002b81a3a0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f0865321300, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000e33100,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000e33100) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c68f0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd80604a87e0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd805bb84570) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805bb84570,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805bb84570,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8067ac32e8,ffff80002e875350) at soo_close+0x44 fdrop(fffffd8067ac32e8,ffff80002e875350) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8067ac32e8,ffff80002e875350) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002e875350) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002e875350,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002e875350,ffff80002b81a2d0,ffff80002b81a320) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002b81a3a0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f0865321300, count: -14