uvm_fault(0xfffffd8071c8d458, 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(ffff800000d055c0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000d055c0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000d25820) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd807039f930) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd8066bb00d8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd8066bb00d8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd8066bb00d8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80680143d8,ffff8000fffebb60) at soo_close+0x44 fdrop(fffffd80680143d8,ffff8000fffebb60) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80680143d8,ffff8000fffebb60) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000fffebb60) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000fffebb60,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000fffebb60,ffff80002cbe8ac0,ffff80002cbe8b10) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002cbe8b90) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75fa742c87c0, 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(0xfffffd8071c8d458, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000d055c0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000d055c0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000d25820) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd807039f930) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd8066bb00d8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd8066bb00d8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd8066bb00d8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80680143d8,ffff8000fffebb60) at soo_close+0x44 fdrop(fffffd80680143d8,ffff8000fffebb60) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80680143d8,ffff8000fffebb60) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000fffebb60) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000fffebb60,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000fffebb60,ffff80002cbe8ac0,ffff80002cbe8b10) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002cbe8b90) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75fa742c87c0, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002cbe8750 rbx 0x3 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0xcaca0b270d0cbf89 r11 0xead9de564a05ddc r12 0 r13 0x3 r14 0xffff800000d055c0 r15 0xffff8000006b7000 rip 0xffffffff8237709f igmp_leavegroup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002cbe8720 ss 0x10 igmp_leavegroup+0xaf: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.3) pid=372734 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=83, nice=20 forw=0xffffffffffffffff, list=0xffff80002e8aa308,0xffff8000fffec5a8 process=0xffff80002e91e000 user=0xffff80002cbe3000, vmspace=0xfffffd8071c8d458 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 12485 277492 1 0 3 0x80 nanoslp syz-executor.7 12485 465578 1 0 3 0x4000080 netio syz-executor.7 12485 408994 1 0 3 0x4000080 netio syz-executor.7 12485 464967 1 0 3 0x4000080 fsleep syz-executor.7 74306 82803 20202 0 3 0x82 piperd syz-executor.0 20227 316579 20202 0 3 0x82 piperd syz-executor.6 51357 304694 20202 0 3 0x82 nanoslp syz-executor.3 36685 424320 20202 0 3 0x82 piperd syz-executor.2 20312 72551 20202 0 3 0x82 piperd syz-executor.4 63197 78275 20202 0 3 0x82 piperd syz-executor.5 93338 199627 20202 0 3 0x82 piperd syz-executor.1 62779 86007 0 0 3 0x14200 acct acct 90317 18592 0 0 3 0x14200 bored sosplice 15186 360186 0 0 3 0x14280 nfsidl nfsio 27881 145967 0 0 3 0x14280 nfsidl nfsio 96702 101233 0 0 3 0x14280 nfsidl nfsio 94152 176923 0 0 3 0x14280 nfsidl nfsio 53566 433773 0 0 3 0x14280 nfsidl nfsio 5146 504727 0 0 3 0x14280 nfsidl nfsio 70637 272124 0 0 3 0x14280 nfsidl nfsio 84761 349621 0 0 3 0x14280 nfsidl nfsio 45474 406165 0 0 3 0x14280 nfsidl nfsio 69978 61508 0 0 3 0x14280 nfsidl nfsio 38176 205295 0 0 3 0x14280 nfsidl nfsio 32749 368848 0 0 3 0x14280 nfsidl nfsio 23280 381097 0 0 3 0x14280 nfsidl nfsio 99684 361938 0 0 3 0x14280 nfsidl nfsio 33878 366930 0 0 3 0x14280 nfsidl nfsio 83897 171778 0 0 3 0x14280 nfsidl nfsio 76746 165757 0 0 3 0x14280 nfsidl nfsio 91172 250284 0 0 3 0x14280 nfsidl nfsio 89880 434031 0 0 3 0x14280 nfsidl nfsio 82222 17937 0 0 3 0x14280 nfsidl nfsio 75410 260292 1 0 3 0x100083 ttyin getty 20202 387084 97376 0 3 0x82 thrsleep syz-fuzzer 20202 73428 97376 0 3 0x4000082 thrsleep syz-fuzzer 20202 359654 97376 0 3 0x4000082 wait syz-fuzzer 20202 366617 97376 0 3 0x4000082 wait syz-fuzzer 20202 146610 97376 0 3 0x4000082 wait syz-fuzzer 20202 489059 97376 0 3 0x4000082 thrsleep syz-fuzzer 20202 277995 97376 0 3 0x4000082 thrsleep syz-fuzzer 20202 193981 97376 0 3 0x4000082 wait syz-fuzzer 20202 522535 97376 0 3 0x4000082 thrsleep syz-fuzzer 20202 403901 97376 0 3 0x4000082 kqread syz-fuzzer 20202 211255 97376 0 3 0x4000082 thrsleep syz-fuzzer 20202 39001 97376 0 3 0x4000082 wait syz-fuzzer 20202 63044 97376 0 3 0x4000082 wait syz-fuzzer 20202 159545 97376 0 3 0x4000082 wait syz-fuzzer 20202 218894 97376 0 3 0x4000082 thrsleep syz-fuzzer 97376 226842 26411 0 3 0x10008a sigsusp ksh 26411 289668 47708 0 3 0x9a kqread sshd 47708 423095 1 0 3 0x88 kqread sshd 36478 177425 45625 73 3 0x1100090 kqread syslogd 45625 334289 1 0 3 0x100082 netio syslogd 75806 318259 1 0 3 0x100080 kqread resolvd 31380 274468 0 0 3 0x14200 bored smr 22314 459142 0 0 3 0x14200 pgzero zerothread 84399 470653 0 0 3 0x14200 aiodoned aiodoned 44493 365263 0 0 3 0x14200 syncer update 96814 406027 0 0 3 0x14200 cleaner cleaner 44568 243104 0 0 3 0x14200 reaper reaper 21056 208612 0 0 3 0x14200 pgdaemon pagedaemon 9273 375653 0 0 3 0x14200 bored viomb 4857 104934 0 0 3 0x40014200 acpi0 acpi0 64759 453930 0 0 3 0x14200 bored softnet3 20006 225477 0 0 3 0x14200 bored softnet2 97801 269451 0 0 3 0x14200 bored softnet1 42656 229483 0 0 3 0x14200 bored softnet0 52030 303515 0 0 3 0x14200 bored systqmp 71791 9957 0 0 3 0x14200 bored systq 6084 458873 0 0 3 0x40014200 bored softclock 67763 175696 0 0 3 0x40014200 idle0 1 332871 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 10204 6428K 6665K 78643K 13447 0 pcb 13 18K 22K 78643K 2731 0 rtable 227 16K 16K 78643K 2085 0 ifaddr 83 23K 26K 78643K 895 0 sysctl 3 1K 1K 78643K 3 0 counters 29 17K 17K 78643K 385 0 ioctlops 0 0K 4K 78643K 1026 0 iov 0 0K 24K 78643K 1145 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1498 94K 94K 78643K 7711 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 68 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 2411 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 11 37K 73K 78643K 8202 0 sigio 0 0K 0K 78643K 140 0 proc 55 43K 75K 78643K 1640 0 subproc 104 6K 6K 78643K 494 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 599 0 in_multi 87 5K 7K 78643K 621 0 ether_multi 1 0K 0K 78643K 38 0 mrt 1 0K 0K 78643K 46 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 259 1155K 1155K 78643K 259 0 exec 0 0K 1K 78643K 2167 0 pfkey data 0 0K 0K 78643K 7 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 355 99K 116K 78643K 79776 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 314 0 NDP 14 0K 2K 78643K 276 0 temp 142 5858K 71530K 78643K 156519 0 kqueue 6 10K 24K 78643K 681 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 887 0 886 12 11 1 5 0 8 0 rtentry 112 638 0 540 4 0 4 4 0 8 0 unpcb 144 8902 0 8896 103 102 1 10 0 8 0 syncache 296 44 0 44 14 14 0 1 0 8 0 tcpqe 32 197 56 197 5 5 0 1 0 8 0 tcpcb 776 3044 0 3036 124 122 2 18 0 8 0 arp 88 88 0 70 1 0 1 1 0 8 0 ipq 40 17 0 15 5 4 1 1 0 8 0 ipqe 40 59 0 57 5 4 1 1 0 8 0 inpcb 336 13856 0 13846 197 185 12 18 0 8 10 nd6 104 125 0 101 1 0 1 1 0 8 0 pkpcb 40 34 0 34 8 8 0 1 0 8 0 kcovpl 48 38 0 30 1 0 1 1 0 8 0 mppekey 1024 3 0 3 1 1 0 1 0 8 0 ppxss 1160 249 0 249 23 22 1 1 0 8 1 pppxif 1360 28 0 28 9 9 0 1 0 8 0 pfstscr 40 11 0 7 1 0 1 1 0 8 0 pfanchor 1288 733 1 289 44 4 40 43 0 8 0 pfstitem 24 8 0 0 1 0 1 1 0 8 0 pfstkey 128 22 0 18 1 0 1 1 0 8 0 pfstate 352 11 0 7 1 0 1 1 0 8 0 rttmr 136 12 0 12 4 4 0 1 0 8 0 art_heap8 4096 11 0 10 10 9 1 3 0 8 0 art_heap4 256 2596 0 2205 57 32 25 30 0 8 0 art_table 32 2607 0 2215 5 1 4 4 0 8 0 art_node 16 595 0 509 1 0 1 1 0 8 0 semapl 112 2342 0 2332 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 16063 0 14593 93 0 93 93 0 8 0 ffsino 240 16063 0 14593 87 0 87 87 0 8 0 nchpl 144 28259 0 27780 63 41 22 63 0 8 0 rtmask 32 4 0 4 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 110683 0 110683 5 4 1 3 0 8 1 kstatmem 264 388 0 360 8 5 3 3 0 8 1 scxspl 216 74757 0 74757 26 25 1 8 0 8 1 plimitpl 152 875 0 861 1 0 1 1 0 8 0 sigapl 424 8462 0 8405 8 0 8 8 0 8 0 futexpl 64 95135 0 95134 1 0 1 1 0 8 0 knotepl 120 174001 0 173937 104 96 8 18 0 8 4 kqueuepl 184 2042 0 2037 38 37 1 7 0 8 0 pipepl 288 2010 0 1982 52 45 7 11 0 8 4 fdescpl 432 8424 0 8405 4 1 3 4 0 8 0 filepl 120 85317 0 85100 132 118 14 20 0 8 5 lockfpl 104 2739 0 2738 5 4 1 2 0 8 0 lockfspl 48 741 0 740 1 0 1 1 0 8 0 sessionpl 144 55 0 40 1 0 1 1 0 8 0 pgrppl 48 100 0 85 1 0 1 1 0 8 0 ucredpl 104 21539 0 21532 1 0 1 1 0 8 0 zombiepl 144 8406 0 8405 1 0 1 1 0 8 0 processpl 1008 8462 0 8405 10 1 9 9 0 8 0 procpl 696 22044 0 21970 21 12 9 11 0 8 0 sosppl 168 108 0 108 15 15 0 1 0 8 0 sockpl 456 23681 0 23664 640 621 19 39 0 8 16 mcl64k 65536 430 0 430 25 24 1 1 0 8 1 mcl16k 16384 184 0 184 26 25 1 1 0 8 1 mcl12k 12288 335 0 335 20 19 1 1 0 8 1 mcl9k 9216 156 0 156 29 28 1 1 0 8 1 mcl8k 8192 543 0 511 21 16 5 5 0 8 1 mcl4k 4096 1338 0 1338 12 11 1 1 0 8 1 mcl2k2 2112 99 0 99 27 27 0 1 0 8 0 mcl2k 2048 93128 0 93090 49 43 6 28 0 8 0 mtagpl 96 35 0 35 4 4 0 1 0 8 0 mbufpl 256 226961 0 226850 598 588 10 87 0 8 1 bufpl 288 19847 0 13459 457 0 457 457 0 8 0 anonpl 24 900906 0 885641 148 42 106 121 0 188 0 amapchunkpl 152 258103 0 257308 98 51 47 49 0 158 6 amappl16 200 17448 0 16944 58 30 28 40 0 8 0 amappl15 192 15 0 14 1 0 1 1 0 8 0 amappl14 184 245 0 236 2 1 1 2 0 8 0 amappl13 176 12 0 12 2 2 0 1 0 8 0 amappl12 168 9499 0 9478 2 0 2 2 0 8 0 amappl11 160 54 0 50 1 0 1 1 0 8 0 amappl10 152 60 0 49 1 0 1 1 0 8 0 amappl9 144 222 0 221 3 2 1 2 0 8 0 amappl8 136 501 0 392 4 0 4 4 0 8 0 amappl7 128 92 0 72 1 0 1 1 0 8 0 amappl6 120 540 0 518 2 1 1 2 0 8 0 amappl5 112 414 0 410 1 0 1 1 0 8 0 amappl4 104 1209 0 1174 2 0 2 2 0 8 0 amappl3 96 49964 0 49907 4 1 3 3 0 8 0 amappl2 88 8976 0 8932 4 2 2 3 0 8 0 amappl1 80 40821 0 40424 22 10 12 22 0 8 0 amappl 88 78678 0 78478 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 8424 0 8405 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 8424 0 8405 1 0 1 1 0 8 0 vmmpekpl 168 67488 0 67432 3 0 3 3 0 8 0 vmmpepl 168 525627 0 523714 332 219 113 128 0 357 0 vmsppl 368 8423 0 8405 3 0 3 3 0 8 0 rwobjpl 24 131388 0 123940 47 0 47 47 0 8 0 pdppl 4096 16854 0 16810 535 477 58 68 0 8 14 pvpl 32 2394833 0 2375166 342 162 180 334 0 265 0 pmappl 216 8423 0 8405 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 2243 0 1471 24 0 24 24 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000d055c0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000d055c0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000d25820) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd807039f930) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd8066bb00d8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd8066bb00d8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd8066bb00d8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80680143d8,ffff8000fffebb60) at soo_close+0x44 fdrop(fffffd80680143d8,ffff8000fffebb60) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80680143d8,ffff8000fffebb60) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000fffebb60) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000fffebb60,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000fffebb60,ffff80002cbe8ac0,ffff80002cbe8b10) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002cbe8b90) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75fa742c87c0, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000d055c0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000d055c0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000d25820) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd807039f930) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd8066bb00d8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd8066bb00d8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd8066bb00d8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80680143d8,ffff8000fffebb60) at soo_close+0x44 fdrop(fffffd80680143d8,ffff8000fffebb60) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80680143d8,ffff8000fffebb60) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000fffebb60) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000fffebb60,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000fffebb60,ffff80002cbe8ac0,ffff80002cbe8b10) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002cbe8b90) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75fa742c87c0, count: -14