uvm_fault(0xfffffd8069cafe70, 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(ffff800000cfb100,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cfb100) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000dbc4c0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd806f071d20) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd806f0cd008) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd806f0cd008,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd806f0cd008,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8066236018,ffff80002ce33b78) at soo_close+0x44 fdrop(fffffd8066236018,ffff80002ce33b78) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8066236018,ffff80002ce33b78) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002ce33b78) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002ce33b78,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002ce33b78,ffff80002e8726a0,ffff80002e8726f0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e872770) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x792760bbac80, 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(0xfffffd8069cafe70, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000cfb100,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cfb100) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000dbc4c0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd806f071d20) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd806f0cd008) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd806f0cd008,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd806f0cd008,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8066236018,ffff80002ce33b78) at soo_close+0x44 fdrop(fffffd8066236018,ffff80002ce33b78) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8066236018,ffff80002ce33b78) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002ce33b78) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002ce33b78,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002ce33b78,ffff80002e8726a0,ffff80002e8726f0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e872770) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x792760bbac80, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002e872330 rbx 0x4 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0xe0bc8d58367b661d r11 0xa7952b3e6c0107d0 r12 0 r13 0x3 r14 0xffff800000cfb100 r15 0xffff8000006b7000 rip 0xffffffff81b3bd1f igmp_leavegroup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002e872300 ss 0x10 igmp_leavegroup+0xaf: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.7) pid=452448 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=76, nice=20 forw=0xffffffffffffffff, list=0xffff8000fffed090,0xffff8000ffff55e0 process=0xffff8000ffff37a0 user=0xffff80002e86d000, vmspace=0xfffffd8069cafe70 estcpu=26, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 9993 70168 95821 0 2 0 syz-executor.0 9993 312400 95821 0 2 0x4000000 syz-executor.0 83816 70139 94105 0 2 0 syz-executor.5 83816 78552 94105 0 3 0x4000080 fsleep syz-executor.5 66374 214077 71829 0 2 0 syz-executor.2 66374 215386 71829 0 3 0x4000080 ttyout syz-executor.2 55089 110890 68285 0 2 0x2 syz-executor.1 30939 203746 0 0 3 0x14280 nfsidl nfsio 7635 338359 0 0 3 0x14280 nfsidl nfsio 94727 123294 0 0 3 0x14280 nfsidl nfsio 63857 162950 0 0 3 0x14280 nfsidl nfsio 71453 177907 0 0 3 0x14280 nfsidl nfsio 64517 378289 0 0 3 0x14280 nfsidl nfsio 37842 318863 0 0 3 0x14280 nfsidl nfsio 22826 58516 0 0 3 0x14280 nfsidl nfsio 3335 298183 0 0 3 0x14280 nfsidl nfsio 16006 328161 0 0 3 0x14280 nfsidl nfsio 97680 127832 0 0 3 0x14280 nfsidl nfsio 84107 491723 0 0 3 0x14280 nfsidl nfsio 88823 197503 0 0 3 0x14280 nfsidl nfsio 76363 147766 0 0 3 0x14280 nfsidl nfsio 55131 351875 0 0 3 0x14280 nfsidl nfsio 92121 12611 0 0 3 0x14280 nfsidl nfsio 24371 412706 0 0 3 0x14280 nfsidl nfsio 28568 69104 0 0 3 0x14280 nfsidl nfsio 70497 35119 0 0 3 0x14280 nfsidl nfsio 84133 341840 0 0 3 0x14280 nfsidl nfsio 71829 420459 68285 0 3 0x82 nanoslp syz-executor.2 41877 203666 68285 0 2 0x2 syz-executor.3 94105 324706 68285 0 3 0x82 nanoslp syz-executor.5 52141 471402 68285 0 3 0x82 nanoslp syz-executor.7 95821 326866 68285 0 3 0x82 nanoslp syz-executor.0 16647 375955 68285 0 2 0x2 syz-executor.6 86201 506453 68285 0 2 0x2 syz-executor.4 85185 363996 0 0 3 0x14200 acct acct 73616 159453 0 0 3 0x14200 bored sosplice 68285 280179 61479 0 3 0x82 wait syz-fuzzer 68285 334551 61479 0 3 0x4000082 nanoslp syz-fuzzer 68285 465176 61479 0 3 0x4000082 wait syz-fuzzer 68285 228848 61479 0 3 0x4000082 wait syz-fuzzer 68285 521419 61479 0 3 0x4000082 wait syz-fuzzer 68285 81130 61479 0 3 0x4000082 thrsleep syz-fuzzer 68285 136829 61479 0 3 0x4000082 thrsleep syz-fuzzer 68285 387555 61479 0 3 0x4000082 thrsleep syz-fuzzer 68285 271175 61479 0 2 0x4000002 syz-fuzzer 68285 143186 61479 0 3 0x4000082 wait syz-fuzzer 68285 316578 61479 0 3 0x4000082 thrsleep syz-fuzzer 68285 128332 61479 0 3 0x4000082 wait syz-fuzzer 68285 112574 61479 0 3 0x4000082 wait syz-fuzzer 68285 296584 61479 0 3 0x4000082 wait syz-fuzzer 61479 53604 51027 0 3 0x10008a sigsusp ksh 51027 81124 10538 0 2 0x12 sshd 23147 325879 1 0 3 0x100083 ttyin getty 10538 423894 1 0 3 0x88 kqread sshd 20980 125494 57591 73 3 0x1100090 kqread syslogd 57591 276048 1 0 3 0x100082 netio syslogd 52931 498060 1 0 3 0x100080 kqread resolvd 35531 238060 0 0 3 0x14200 bored smr 163 343474 0 0 2 0x14200 zerothread 64204 292806 0 0 3 0x14200 aiodoned aiodoned 94828 499181 0 0 3 0x14200 syncer update 84706 318585 0 0 3 0x14200 cleaner cleaner 77693 53782 0 0 3 0x14200 reaper reaper 93724 20387 0 0 3 0x14200 pgdaemon pagedaemon 48443 276054 0 0 3 0x14200 bored viomb 56620 445730 0 0 3 0x40014200 acpi0 acpi0 99131 338927 0 0 3 0x14200 bored softnet3 18025 405641 0 0 3 0x14200 bored softnet2 53465 183997 0 0 3 0x14200 bored softnet1 39553 284655 0 0 3 0x14200 bored softnet0 50930 428668 0 0 3 0x14200 bored systqmp 26684 469776 0 0 3 0x14200 bored systq 43668 390951 0 0 3 0x40014200 bored softclock 16856 25133 0 0 3 0x40014200 idle0 1 140205 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 6433K 6653K 78643K 15748 0 pcb 13 20K 24K 78643K 5302 0 rtable 197 16K 18K 78643K 5465 0 ifaddr 73 23K 26K 78643K 1730 0 sysctl 3 1K 1K 78643K 9 0 counters 27 17K 17K 78643K 648 0 ioctlops 0 0K 4K 78643K 3314 0 iov 0 0K 24K 78643K 2682 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1440 90K 91K 78643K 13354 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 188 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 9435 0 dirhash 9 1K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 14 49K 69K 78643K 22628 0 sigio 0 0K 0K 78643K 295 0 proc 60 43K 75K 78643K 3404 0 subproc 104 6K 10K 78643K 1175 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 1145 0 in_multi 75 5K 7K 78643K 1353 0 ether_multi 1 0K 0K 78643K 113 0 mrt 1 0K 0K 78643K 124 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 223 996K 996K 78643K 223 0 exec 0 0K 1K 78643K 4406 0 pfkey data 0 0K 0K 78643K 31 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 377 96K 110K 78643K 207714 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 1959 0 NDP 13 0K 2K 78643K 552 0 temp 130 5858K 72422K 78643K 238880 0 kqueue 6 10K 28K 78643K 1608 0 SYN cache 2 36K 44K 78643K 3 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 2669 0 2668 20 19 1 3 0 8 0 rtentry 112 1676 0 1595 7 3 4 4 0 8 0 unpcb 144 22253 0 22245 196 194 2 13 0 8 1 syncache 296 173 0 173 27 27 0 1 0 8 0 tcpqe 32 191 0 191 18 18 0 1 0 8 0 tcpcb 776 10445 0 10440 296 289 7 15 0 8 6 arp 88 225 0 211 1 0 1 1 0 8 0 ipq 40 15 0 15 6 6 0 1 0 8 0 ipqe 40 40 0 40 6 6 0 1 0 8 0 inpcb 336 30274 0 30267 368 361 7 24 0 8 6 ip6q 72 2 0 2 1 1 0 1 0 8 0 ip6af 40 3 0 3 1 1 0 1 0 8 0 nd6 104 280 0 261 1 0 1 1 0 8 0 pkpcb 40 279 0 279 18 18 0 1 0 8 0 kcovpl 48 85 0 77 1 0 1 1 0 8 0 mppekey 1024 63 0 63 3 3 0 1 0 8 0 ppxss 1160 327 0 326 21 20 1 1 0 8 0 pppxif 1360 184 0 184 19 19 0 1 0 8 0 pfstscr 40 7 0 6 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 11 0 9 1 0 1 1 0 8 0 pfstate 352 7 0 6 1 0 1 1 0 8 0 rttmr 136 31 0 31 9 9 0 1 0 8 0 art_heap8 4096 14 0 13 11 10 1 3 0 8 0 art_heap4 256 6501 0 6142 66 39 27 33 0 8 0 art_table 32 6515 0 6155 5 0 5 5 0 8 0 art_node 16 1574 0 1504 1 0 1 1 0 8 0 sysvmsgpl 40 41 0 12 1 0 1 1 0 8 0 semupl 112 10 0 10 1 1 0 1 0 8 0 semapl 112 9433 0 9423 1 0 1 1 0 8 0 shmpl 112 134 0 6 4 0 4 4 0 8 0 dirhash 1024 17 0 10 3 1 2 3 0 8 0 dino2pl 256 33633 0 32126 95 0 95 95 0 8 0 ffsino 240 33633 0 32126 90 0 90 90 0 8 0 nchpl 144 73102 0 72540 63 40 23 63 0 8 0 rtmask 32 8 0 8 2 2 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 267632 0 267632 12 11 1 3 0 8 1 kstatmem 264 740 0 714 6 3 3 3 0 8 0 scsiplug 72 20 0 20 7 7 0 1 0 8 0 scxspl 216 175597 0 175597 41 40 1 8 0 8 1 plimitpl 152 3542 0 3527 1 0 1 1 0 8 0 sigapl 424 22814 0 22754 10 2 8 8 0 8 0 futexpl 64 283233 0 283232 1 0 1 1 0 8 0 knotepl 120 401543 0 401478 168 163 5 14 0 8 1 kqueuepl 184 4263 0 4258 62 61 1 5 0 8 0 pipepl 288 7078 0 7050 115 111 4 9 0 8 1 fdescpl 432 22756 0 22734 5 2 3 4 0 8 0 filepl 120 206908 0 206686 246 235 11 20 0 8 3 lockfpl 104 4890 0 4889 10 9 1 2 0 8 0 lockfspl 48 1465 0 1464 1 0 1 1 0 8 0 sessionpl 144 100 0 85 1 0 1 1 0 8 0 pgrppl 48 311 0 296 1 0 1 1 0 8 0 ucredpl 104 29158 0 29148 1 0 1 1 0 8 0 zombiepl 144 22755 0 22754 3 2 1 1 0 8 0 processpl 1008 22814 0 22754 12 3 9 9 0 8 0 procpl 696 55960 0 55884 16 7 9 10 0 8 1 sosppl 168 232 0 232 36 36 0 1 0 8 0 sockpl 456 55497 0 55481 1225 1215 10 43 0 8 7 mcl64k 65536 1494 0 1494 35 34 1 1 0 8 1 mcl16k 16384 380 0 380 56 55 1 1 0 8 1 mcl12k 12288 1280 0 1280 39 38 1 1 0 8 1 mcl9k 9216 322 0 322 57 57 0 1 0 8 0 mcl8k 8192 1218 0 1218 32 31 1 1 0 8 1 mcl4k 4096 3455 0 3455 14 13 1 1 0 8 1 mcl2k2 2112 200 0 200 54 53 1 1 0 8 1 mcl2k 2048 120509 0 120468 77 71 6 27 0 8 0 mtagpl 96 19 0 19 7 7 0 1 0 8 0 mbufpl 256 458331 0 458197 2584 2566 18 551 0 8 4 bufpl 288 42076 0 35688 457 0 457 457 0 8 0 anonpl 24 2084831 0 2069646 217 113 104 118 0 188 3 amapchunkpl 152 679402 0 678603 209 173 36 50 0 158 0 amappl16 200 36601 0 36119 124 97 27 39 0 8 0 amappl15 192 10 0 9 1 0 1 1 0 8 0 amappl14 184 392 0 381 2 1 1 2 0 8 0 amappl13 176 22 0 21 1 0 1 1 0 8 0 amappl12 168 24557 0 24533 2 0 2 2 0 8 0 amappl11 160 59 0 55 1 0 1 1 0 8 0 amappl10 152 113 0 103 2 1 1 1 0 8 0 amappl9 144 232 0 231 2 1 1 2 0 8 0 amappl8 136 745 0 608 5 0 5 5 0 8 0 amappl7 128 143 0 125 1 0 1 1 0 8 0 amappl6 120 939 0 919 2 1 1 2 0 8 0 amappl5 112 698 0 695 1 0 1 1 0 8 0 amappl4 104 2020 0 1985 2 0 2 2 0 8 0 amappl3 96 129777 0 129713 4 1 3 3 0 8 0 amappl2 88 23750 0 23699 4 2 2 3 0 8 0 amappl1 80 95464 0 95058 22 12 10 22 0 8 0 amappl 88 206088 0 205887 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 136 0 6 3 0 3 3 0 8 0 uaddrrnd 24 22756 0 22734 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 22756 0 22734 1 0 1 1 0 8 0 vmmpekpl 168 166296 0 166242 4 0 4 4 0 8 0 vmmpepl 168 1343625 0 1341592 338 222 116 126 0 357 0 vmsppl 368 22755 0 22734 3 0 3 3 0 8 0 rwobjpl 24 302904 0 295455 52 5 47 47 0 8 0 pdppl 4096 45518 0 45468 1187 1129 58 66 0 8 8 pvpl 32 5779846 0 5759924 614 431 183 359 0 265 14 pmappl 216 22755 0 22734 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 5230 0 4456 51 24 27 38 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000cfb100,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cfb100) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000dbc4c0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd806f071d20) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd806f0cd008) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd806f0cd008,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd806f0cd008,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8066236018,ffff80002ce33b78) at soo_close+0x44 fdrop(fffffd8066236018,ffff80002ce33b78) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8066236018,ffff80002ce33b78) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002ce33b78) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002ce33b78,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002ce33b78,ffff80002e8726a0,ffff80002e8726f0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e872770) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x792760bbac80, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000cfb100,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cfb100) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000dbc4c0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd806f071d20) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd806f0cd008) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd806f0cd008,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd806f0cd008,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8066236018,ffff80002ce33b78) at soo_close+0x44 fdrop(fffffd8066236018,ffff80002ce33b78) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8066236018,ffff80002ce33b78) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002ce33b78) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002ce33b78,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002ce33b78,ffff80002e8726a0,ffff80002e8726f0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e872770) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x792760bbac80, count: -14