uvm_fault(0xfffffd8069d6ee20, 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(ffff800000cd04c0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cd04c0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000e01ee0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd8076581930) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd806be667f8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd806be667f8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd806be667f8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80629de2d8,ffff800023168b10) at soo_close+0x44 fdrop(fffffd80629de2d8,ffff800023168b10) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80629de2d8,ffff800023168b10) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff800023168b10) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff800023168b10,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff800023168b10,ffff800021695c90,ffff800021695ce0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800021695d60) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x752bf05dac30, 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(0xfffffd8069d6ee20, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000cd04c0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cd04c0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000e01ee0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd8076581930) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd806be667f8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd806be667f8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd806be667f8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80629de2d8,ffff800023168b10) at soo_close+0x44 fdrop(fffffd80629de2d8,ffff800023168b10) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80629de2d8,ffff800023168b10) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff800023168b10) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff800023168b10,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff800023168b10,ffff800021695c90,ffff800021695ce0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800021695d60) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x752bf05dac30, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff800021695920 rbx 0x9 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0x7ca8bb6883eaa83 r11 0xc5758e98269b743a r12 0 r13 0x3 r14 0xffff800000cd04c0 r15 0xffff8000006b7000 rip 0xffffffff8239647f igmp_leavegroup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000216958f0 ss 0x10 igmp_leavegroup+0xaf: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.6) pid=32781 stat=onproc flags process=1018 proc=2000 pri=32, usrpri=84, nice=20 forw=0xffffffffffffffff, list=0xffff800023169080,0xffff8000ffff4b00 process=0xffff8000ffff13c0 user=0xffff800021690000, vmspace=0xfffffd8069d6ee20 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 48896 316913 97624 0 2 0 syz-executor.1 48896 284864 97624 0 2 0x4000480 syz-executor.1 2311 409675 68460 0 2 0 syz-executor.2 2311 95746 68460 0 3 0x4000080 fsleep syz-executor.2 77351 205159 18917 0 2 0 syz-executor.3 77351 150464 18917 0 3 0x4000080 kqpoll syz-executor.3 77351 465425 18917 0 3 0x4000080 fsleep syz-executor.3 77351 294686 18917 0 3 0x4000080 fsleep syz-executor.3 58158 257271 53694 0 2 0x2 syz-executor.0 65285 171753 1 0 3 0x100083 ttyin getty 68460 157160 53694 0 3 0x82 nanoslp syz-executor.2 88454 334647 53694 0 2 0x2 syz-executor.4 8819 422460 53694 0 2 0x2 syz-executor.7 97624 305837 53694 0 3 0x82 nanoslp syz-executor.1 18917 168555 53694 0 3 0x82 nanoslp syz-executor.3 38974 504056 53694 0 3 0x82 nanoslp syz-executor.6 11653 40383 0 0 3 0x14200 bored sosplice 53694 131332 24816 0 3 0x82 kqread syz-fuzzer 53694 264049 24816 0 3 0x4000082 nanoslp syz-fuzzer 53694 81276 24816 0 3 0x4000082 wait syz-fuzzer 53694 182431 24816 0 3 0x4000082 thrsleep syz-fuzzer 53694 20190 24816 0 3 0x4000082 thrsleep syz-fuzzer 53694 418426 24816 0 3 0x4000082 wait syz-fuzzer 53694 150951 24816 0 3 0x4000082 wait syz-fuzzer 53694 466636 24816 0 3 0x4000082 thrsleep syz-fuzzer 53694 98548 24816 0 3 0x4000082 wait syz-fuzzer 53694 80095 24816 0 3 0x4000082 wait syz-fuzzer 53694 79828 24816 0 3 0x4000082 thrsleep syz-fuzzer 53694 497911 24816 0 3 0x4000082 wait syz-fuzzer 53694 482839 24816 0 3 0x4000082 wait syz-fuzzer 53694 318406 24816 0 3 0x4000082 thrsleep syz-fuzzer 24816 259791 63863 0 3 0x10008a sigsusp ksh 63863 251340 32612 0 3 0x9a kqread sshd 32612 404943 1 0 3 0x88 kqread sshd 97619 368999 9778 73 3 0x1100090 kqread syslogd 9778 360681 1 0 3 0x100082 netio syslogd 31734 254735 1 0 3 0x100080 kqread resolvd 73542 381739 0 0 3 0x14200 bored smr 13454 134047 0 0 2 0x14200 zerothread 32995 41217 0 0 3 0x14200 aiodoned aiodoned 1830 442617 0 0 3 0x14200 syncer update 74545 311142 0 0 3 0x14200 cleaner cleaner 9636 217002 0 0 3 0x14200 reaper reaper 52890 404183 0 0 3 0x14200 pgdaemon pagedaemon 84634 300689 0 0 3 0x14200 bored viomb 38066 196468 0 0 3 0x40014200 acpi0 acpi0 21687 343250 0 0 3 0x14200 bored softnet3 63572 109062 0 0 3 0x14200 bored softnet2 63172 394069 0 0 3 0x14200 bored softnet1 83811 238795 0 0 3 0x14200 bored softnet0 46794 196971 0 0 3 0x14200 bored systqmp 37509 311383 0 0 3 0x14200 bored systq 37792 1258 0 0 2 0x40014200 softclock 46687 134784 0 0 3 0x40014200 idle0 1 21547 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 10188 6422K 7580K 78643K 34343 0 pcb 16 24K 27K 78643K 1467 0 rtable 177 15K 17K 78643K 2067 0 ifaddr 72 22K 25K 78643K 624 0 sysctl 2 0K 0K 78643K 6 0 counters 25 17K 17K 78643K 209 0 ioctlops 0 0K 2K 78643K 4027 0 iov 0 0K 24K 78643K 1482 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1499 94K 94K 78643K 10631 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 64 0 VM map 2 1K 1K 78643K 2 0 sem 18 10K 20K 78643K 1675 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 13 45K 65K 78643K 14190 0 sigio 0 0K 0K 78643K 220 0 proc 55 43K 75K 78643K 1665 0 subproc 91 5K 6K 78643K 537 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 574 0 in_multi 65 4K 7K 78643K 646 0 ether_multi 1 0K 0K 78643K 42 0 mrt 1 0K 0K 78643K 28 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 235 1049K 1049K 78643K 235 0 exec 0 0K 1K 78643K 1589 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 323 83K 107K 78643K 129931 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 273 0 NDP 10 0K 2K 78643K 228 0 temp 117 5853K 6878K 78643K 97048 0 kqueue 8 14K 24K 78643K 603 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 979 0 978 17 16 1 3 0 8 0 rtentry 112 563 0 490 5 1 4 4 0 8 0 unpcb 144 34663 0 34625 159 151 8 11 0 8 6 syncache 296 42 0 42 12 12 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 197 0 197 5 5 0 1 0 8 0 tcpcb 776 2153 0 2149 80 79 1 14 0 8 0 arp 88 89 0 76 1 0 1 1 0 8 0 ipq 40 2 0 2 2 2 0 1 0 8 0 ipqe 40 5 0 5 2 2 0 1 0 8 0 inpcb 336 17634 0 17625 234 228 6 20 0 8 5 nd6 104 136 0 120 1 0 1 1 0 8 0 pkpcb 40 23 0 23 5 5 0 1 0 8 0 kcovpl 48 41 0 34 1 0 1 1 0 8 0 mppekey 1024 6 0 6 2 2 0 1 0 8 0 ppxss 1160 98 0 98 13 12 1 1 0 8 1 pppxif 1360 4 0 4 1 1 0 1 0 8 0 pfstscr 40 40 0 20 1 0 1 1 0 8 0 pfosfp 40 73 0 71 1 0 1 1 0 8 0 pfosfpen 112 73 0 5 2 0 2 2 0 8 0 pfanchor 1288 858 38 346 47 4 43 43 0 8 0 pfstitem 24 34 0 12 1 0 1 1 0 8 0 pfstkey 128 58 0 37 1 0 1 1 0 8 0 pfstate 352 30 0 15 2 0 2 2 0 8 0 rttmr 136 5 0 5 2 2 0 1 0 8 0 art_heap8 4096 3 0 2 3 2 1 2 0 8 0 art_heap4 256 2619 0 2322 56 32 24 31 0 8 1 art_table 32 2622 0 2324 4 0 4 4 0 8 0 art_node 16 556 0 493 1 0 1 1 0 8 0 sysvmsgpl 40 64 0 64 1 1 0 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 1667 0 1651 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 22980 0 21518 92 0 92 92 0 8 0 ffsino 240 22980 0 21518 87 0 87 87 0 8 0 nchpl 144 42999 0 42477 63 42 21 63 0 8 0 rtmask 32 8 0 8 3 3 0 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 134086 0 134085 9 8 1 3 0 8 0 kstatmem 264 276 0 256 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 1 0 1 0 8 0 scxspl 216 120936 0 120936 26 24 2 8 0 8 2 plimitpl 152 1118 0 1105 1 0 1 1 0 8 0 sigapl 424 14445 0 14407 8 2 6 8 0 8 0 futexpl 64 193265 0 193262 1 0 1 1 0 8 0 knotepl 120 155482 0 155416 55 52 3 9 0 8 0 kqueuepl 184 9913 0 9904 93 89 4 7 0 8 3 pipepl 288 2634 0 2608 51 48 3 7 0 8 0 fdescpl 432 14408 0 14387 6 2 4 4 0 8 1 filepl 120 127279 0 127037 153 139 14 19 0 8 5 lockfpl 104 2187 0 2186 4 3 1 2 0 8 0 lockfspl 48 557 0 556 1 0 1 1 0 8 0 sessionpl 144 58 0 44 1 0 1 1 0 8 0 pgrppl 48 301 0 287 1 0 1 1 0 8 0 ucredpl 104 7818 0 7806 1 0 1 1 0 8 0 zombiepl 144 14408 0 14407 3 2 1 1 0 8 0 processpl 1008 14445 0 14407 10 3 7 9 0 8 0 procpl 696 33338 0 33282 20 12 8 9 0 8 0 sosppl 168 105 0 105 15 14 1 1 0 8 1 sockpl 456 53377 0 53329 1009 999 10 50 0 8 3 mcl64k 65536 365 0 365 33 32 1 1 0 8 1 mcl16k 16384 168 0 168 31 31 0 1 0 8 0 mcl12k 12288 385 0 385 33 32 1 1 0 8 1 mcl9k 9216 170 0 170 35 34 1 1 0 8 1 mcl8k 8192 3134 0 3134 18 17 1 1 0 8 1 mcl4k 4096 1359 0 1359 24 23 1 1 0 8 1 mcl2k2 2112 73 0 73 30 29 1 1 0 8 1 mcl2k 2048 102154 0 102112 64 57 7 29 0 8 1 mtagpl 96 2121 0 2121 25 25 0 19 0 8 0 mbufpl 256 294392 0 294301 949 939 10 583 0 8 0 bufpl 288 32457 0 26069 457 0 457 457 0 8 0 anonpl 24 1294315 0 1282311 187 88 99 143 0 188 0 amapchunkpl 152 417390 0 416633 146 106 40 49 0 158 6 amappl16 200 25416 0 24935 102 75 27 51 0 8 1 amappl15 192 9 0 9 1 1 0 1 0 8 0 amappl14 184 257 0 249 2 1 1 2 0 8 0 amappl13 176 14 0 13 1 0 1 1 0 8 0 amappl12 168 15523 0 15500 3 1 2 2 0 8 0 amappl11 160 47 0 43 1 0 1 1 0 8 0 amappl10 152 63 0 55 1 0 1 1 0 8 0 amappl9 144 186 0 185 3 2 1 2 0 8 0 amappl8 136 386 0 302 4 1 3 3 0 8 0 amappl7 128 103 0 85 1 0 1 1 0 8 0 amappl6 120 518 0 498 2 1 1 2 0 8 0 amappl5 112 468 0 462 1 0 1 1 0 8 0 amappl4 104 1223 0 1192 5 3 2 2 0 8 0 amappl3 96 80263 0 80199 3 0 3 3 0 8 0 amappl2 88 17406 0 17362 4 2 2 3 0 8 0 amappl1 80 60730 0 60325 22 10 12 22 0 8 0 amappl 88 126625 0 126423 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 14408 0 14387 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 14408 0 14387 1 0 1 1 0 8 0 vmmpekpl 168 96933 0 96888 3 0 3 3 0 8 0 vmmpepl 168 841379 0 839426 365 258 107 136 0 357 1 vmsppl 360 14407 0 14387 3 0 3 3 0 8 0 rwobjpl 24 192143 0 184756 51 4 47 49 0 8 0 pdppl 4096 28822 0 28774 755 699 56 64 0 8 8 pvpl 32 3612148 0 3595500 455 286 169 359 0 265 0 pmappl 216 14407 0 14387 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 2872 0 2121 41 16 25 39 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000cd04c0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cd04c0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000e01ee0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd8076581930) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd806be667f8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd806be667f8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd806be667f8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80629de2d8,ffff800023168b10) at soo_close+0x44 fdrop(fffffd80629de2d8,ffff800023168b10) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80629de2d8,ffff800023168b10) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff800023168b10) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff800023168b10,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff800023168b10,ffff800021695c90,ffff800021695ce0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800021695d60) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x752bf05dac30, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000cd04c0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cd04c0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000e01ee0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd8076581930) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd806be667f8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd806be667f8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd806be667f8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80629de2d8,ffff800023168b10) at soo_close+0x44 fdrop(fffffd80629de2d8,ffff800023168b10) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80629de2d8,ffff800023168b10) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff800023168b10) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff800023168b10,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff800023168b10,ffff800021695c90,ffff800021695ce0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800021695d60) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x752bf05dac30, count: -14