login: uvm_fault(0xfffffd80708bf8a8, 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(ffff800000dc79c0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000dc79c0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000dc5b40) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd8067caf3f8) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd805a724d50) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805a724d50,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805a724d50,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80705fb3c0,ffff8000216eedd0) at soo_close+0x44 fdrop(fffffd80705fb3c0,ffff8000216eedd0) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80705fb3c0,ffff8000216eedd0) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000216eedd0) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000216eedd0,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000216eedd0,ffff800029a02030,ffff800029a02080) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800029a02100) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7011458e8650, 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(0xfffffd80708bf8a8, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000dc79c0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000dc79c0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000dc5b40) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd8067caf3f8) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd805a724d50) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805a724d50,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805a724d50,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80705fb3c0,ffff8000216eedd0) at soo_close+0x44 fdrop(fffffd80705fb3c0,ffff8000216eedd0) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80705fb3c0,ffff8000216eedd0) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000216eedd0) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000216eedd0,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000216eedd0,ffff800029a02030,ffff800029a02080) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800029a02100) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7011458e8650, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff800029a01cc0 rbx 0x48 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0x61c042f2c7c9c618 r11 0x1702daacfc538def r12 0 r13 0x3 r14 0xffff800000dc79c0 r15 0xffff8000006b7000 rip 0xffffffff816f160f igmp_leavegroup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800029a01c90 ss 0x10 igmp_leavegroup+0xaf: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.1) pid=344700 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=85, nice=20 forw=0xffffffffffffffff, list=0xffff8000216f0850,0xffff8000216ee300 process=0xffff8000216fc400 user=0xffff8000299fd000, vmspace=0xfffffd80708bf8a8 estcpu=35, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 86993 89773 16306 0 2 0 syz-executor.0 89855 465060 41260 0 2 0 syz-executor.6 86281 262639 30427 0 2 0 syz-executor.3 86281 368309 30427 0 2 0x4000000 syz-executor.3 47973 458271 76003 0 2 0 syz-executor.4 47973 401189 76003 0 3 0x4000080 fsleep syz-executor.4 55730 304235 27582 0 3 0x82 nanoslp syz-executor.7 51317 181610 1 0 3 0x100083 ttyin getty 30427 87499 27582 0 2 0x482 syz-executor.3 55058 170770 27582 0 2 0x2 syz-executor.5 61264 329733 27582 0 2 0x482 syz-executor.2 16306 27532 27582 0 3 0x82 nanoslp syz-executor.0 97416 290988 0 0 3 0x14280 nfsidl nfsio 99313 396518 0 0 3 0x14280 nfsidl nfsio 45013 252645 0 0 3 0x14280 nfsidl nfsio 90660 181919 0 0 3 0x14280 nfsidl nfsio 16897 326140 0 0 3 0x14280 nfsidl nfsio 15915 225600 0 0 3 0x14280 nfsidl nfsio 5156 258249 0 0 3 0x14280 nfsidl nfsio 33883 317190 0 0 3 0x14280 nfsidl nfsio 81969 48772 0 0 3 0x14280 nfsidl nfsio 39766 172851 0 0 3 0x14280 nfsidl nfsio 78608 328077 0 0 3 0x14280 nfsidl nfsio 48148 115217 0 0 3 0x14280 nfsidl nfsio 8048 105125 0 0 3 0x14280 nfsidl nfsio 45313 146284 0 0 3 0x14280 nfsidl nfsio 56168 512170 0 0 3 0x14280 nfsidl nfsio 53414 323329 0 0 3 0x14280 nfsidl nfsio 63788 499471 0 0 3 0x14280 nfsidl nfsio 89827 297748 0 0 3 0x14280 nfsidl nfsio 24774 523433 0 0 3 0x14280 nfsidl nfsio 7138 71448 0 0 3 0x14280 nfsidl nfsio 20228 253653 0 0 3 0x14200 bored sosplice 41260 145065 27582 0 3 0x82 nanoslp syz-executor.6 76003 279929 27582 0 3 0x82 nanoslp syz-executor.4 51670 456165 27582 0 3 0x82 nanoslp syz-executor.1 27582 107732 32329 0 3 0x82 thrsleep syz-fuzzer 27582 306669 32329 0 3 0x4000082 nanoslp syz-fuzzer 27582 17674 32329 0 3 0x4000082 thrsleep syz-fuzzer 27582 132626 32329 0 3 0x4000082 wait syz-fuzzer 27582 283826 32329 0 3 0x4000082 wait syz-fuzzer 27582 408502 32329 0 3 0x4000082 wait syz-fuzzer 27582 33208 32329 0 3 0x4000082 wait syz-fuzzer 27582 346009 32329 0 3 0x4000082 wait syz-fuzzer 27582 250690 32329 0 3 0x4000082 wait syz-fuzzer 27582 61827 32329 0 3 0x4000082 wait syz-fuzzer 27582 510765 32329 0 3 0x4000082 thrsleep syz-fuzzer 27582 501138 32329 0 3 0x4000082 wait syz-fuzzer 27582 100461 32329 0 3 0x4000082 thrsleep syz-fuzzer 27582 103160 32329 0 3 0x4000082 kqread syz-fuzzer 32329 392891 18744 0 3 0x10008a sigsusp ksh 18744 108581 54298 0 3 0x9a kqread sshd 54298 266038 1 0 3 0x88 kqread sshd 18370 383817 37130 73 3 0x1100090 kqread syslogd 37130 399571 1 0 3 0x100082 netio syslogd 88909 324141 1 0 3 0x100080 kqread resolvd 24548 102392 0 0 3 0x14200 bored smr 3476 175924 0 0 2 0x14200 zerothread 89204 182186 0 0 3 0x14200 aiodoned aiodoned 57401 373323 0 0 3 0x14200 syncer update 35750 142139 0 0 3 0x14200 cleaner cleaner 96525 425288 0 0 3 0x14200 reaper reaper 199 115513 0 0 3 0x14200 pgdaemon pagedaemon 12161 395329 0 0 3 0x14200 bored viomb 10320 453191 0 0 3 0x40014200 acpi0 acpi0 56865 404279 0 0 3 0x14200 bored softnet3 43522 455662 0 0 3 0x14200 bored softnet2 74953 429084 0 0 3 0x14200 bored softnet1 53127 355366 0 0 3 0x14200 bored softnet0 92513 65416 0 0 3 0x14200 bored systqmp 31916 109946 0 0 3 0x14200 bored systq 31205 225781 0 0 2 0x40014200 softclock 54399 413713 0 0 3 0x40014200 idle0 1 393656 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 10184 6415K 6727K 78643K 12536 0 pcb 14 13K 15K 78643K 1808 0 rtable 167 14K 18K 78643K 1390 0 ifaddr 71 19K 22K 78643K 287 0 sysctl 3 1K 3K 78643K 10 0 counters 27 17K 17K 78643K 73 0 ioctlops 0 0K 4K 78643K 216 0 iov 0 0K 28K 78643K 634 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1408 88K 89K 78643K 3085 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 44 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 691 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 15 53K 69K 78643K 3742 0 sigio 0 0K 0K 78643K 154 0 proc 56 43K 75K 78643K 754 0 subproc 104 6K 6K 78643K 195 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 113 0 in_multi 60 4K 6K 78643K 257 0 ether_multi 1 0K 0K 78643K 12 0 mrt 1 0K 0K 78643K 29 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 169 758K 758K 78643K 169 0 exec 0 0K 1K 78643K 960 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 303 89K 103K 78643K 36427 0 UVM aobj 103 3K 3K 78643K 103 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 733 0 NDP 13 0K 2K 78643K 88 0 temp 132 5858K 14054K 78643K 34747 0 kqueue 6 10K 24K 78643K 263 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 185 0 183 2 1 1 2 0 8 0 rtentry 112 309 0 242 4 0 4 4 0 8 0 unpcb 144 3196 0 3189 34 28 6 6 0 8 5 syncache 296 23 0 23 5 4 1 1 0 8 1 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 425 0 425 3 3 0 1 0 8 0 tcpcb 776 3192 0 3186 49 44 5 15 0 8 4 arp 88 43 0 30 1 0 1 1 0 8 0 ipq 40 4 0 3 2 1 1 1 0 8 0 ipqe 40 13 0 12 2 1 1 1 0 8 0 inpcb 336 6103 0 6096 56 49 7 12 0 8 5 nd6 104 54 0 40 1 0 1 1 0 8 0 pkpcb 40 10 0 10 2 2 0 1 0 8 0 kcovpl 48 15 0 7 1 0 1 1 0 8 0 mppekey 1024 2 0 2 1 1 0 1 0 8 0 ppxss 1160 15 0 15 4 4 0 1 0 8 0 pppxif 1360 3 0 3 2 2 0 1 0 8 0 pfstscr 40 13 0 12 2 1 1 1 0 8 0 pfanchor 1288 713 2 201 47 4 43 43 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 26 0 24 2 1 1 1 0 8 0 pfstate 352 13 0 12 2 1 1 1 0 8 0 rttmr 136 9 0 9 4 4 0 1 0 8 0 art_heap8 4096 2 0 1 2 1 1 2 0 8 0 art_heap4 256 1095 0 808 35 10 25 31 0 8 0 art_table 32 1097 0 809 5 1 4 5 0 8 0 art_node 16 266 0 207 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 3 1 0 1 1 0 8 0 semapl 112 682 0 672 1 0 1 1 0 8 0 shmpl 112 100 0 0 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 6331 0 4883 91 0 91 91 0 8 0 ffsino 240 6332 0 4883 86 0 86 86 0 8 0 nchpl 144 11416 0 10913 63 41 22 63 0 8 0 rtmask 32 3 0 3 1 1 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 41995 0 41993 6 5 1 3 0 8 0 kstatmem 264 106 0 80 2 0 2 2 0 8 0 scsiplug 72 12 0 12 3 3 0 1 0 8 0 scxspl 216 36862 0 36862 17 15 2 8 0 8 2 plimitpl 152 429 0 415 1 0 1 1 0 8 0 sigapl 424 4046 0 3984 8 0 8 8 0 8 0 futexpl 64 40073 0 40072 6 5 1 1 0 8 0 knotepl 120 91656 0 91592 44 40 4 14 0 8 0 kqueuepl 184 838 0 833 15 13 2 7 0 8 1 pipepl 288 1293 0 1265 25 22 3 7 0 8 0 fdescpl 432 4009 0 3986 6 2 4 4 0 8 0 filepl 120 31907 0 31684 55 43 12 18 0 8 2 lockfpl 104 869 0 868 3 2 1 2 0 8 0 lockfspl 48 263 0 262 1 0 1 1 0 8 0 sessionpl 144 31 0 16 1 0 1 1 0 8 0 pgrppl 48 52 0 36 1 0 1 1 0 8 0 ucredpl 104 3129 0 3122 1 0 1 1 0 8 0 zombiepl 144 3987 0 3984 3 2 1 1 0 8 0 processpl 1008 4046 0 3984 10 1 9 9 0 8 0 procpl 696 9414 0 9337 16 7 9 10 0 8 1 sosppl 168 17 0 17 5 4 1 1 0 8 1 sockpl 456 9497 0 9481 158 146 12 28 0 8 8 mcl64k 65536 166 0 166 8 8 0 1 0 8 0 mcl16k 16384 48 0 48 7 6 1 1 0 8 1 mcl12k 12288 120 0 120 7 6 1 1 0 8 1 mcl9k 9216 50 0 50 9 8 1 1 0 8 1 mcl8k 8192 703 0 703 10 9 1 1 0 8 1 mcl4k 4096 386 0 386 7 6 1 1 0 8 1 mcl2k2 2112 98 0 98 8 7 1 1 0 8 1 mcl2k 2048 81554 0 81511 52 45 7 27 0 8 0 mtagpl 96 46 0 46 3 3 0 2 0 8 0 mbufpl 256 214499 0 214406 414 359 55 109 0 8 41 bufpl 288 10183 0 3798 457 0 457 457 0 8 0 anonpl 24 560820 0 545599 168 58 110 129 0 188 1 amapchunkpl 152 132585 0 131798 87 41 46 51 0 158 9 amappl16 200 13294 0 12747 77 46 31 45 0 8 0 amappl15 192 10 0 10 1 1 0 1 0 8 0 amappl14 184 172 0 163 2 1 1 2 0 8 0 amappl13 176 17 0 15 1 0 1 1 0 8 0 amappl12 168 4742 0 4720 2 0 2 2 0 8 0 amappl11 160 55 0 50 1 0 1 1 0 8 0 amappl10 152 61 0 51 1 0 1 1 0 8 0 amappl9 144 177 0 176 3 2 1 2 0 8 0 amappl8 136 287 0 212 4 1 3 3 0 8 0 amappl7 128 60 0 43 1 0 1 1 0 8 0 amappl6 120 361 0 345 2 1 1 2 0 8 0 amappl5 112 202 0 199 1 0 1 1 0 8 0 amappl4 104 726 0 692 2 0 2 2 0 8 0 amappl3 96 23125 0 23067 5 2 3 3 0 8 0 amappl2 88 4339 0 4298 4 2 2 3 0 8 0 amappl1 80 23198 0 22788 22 10 12 22 0 8 1 amappl 88 35768 0 35577 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 102 0 0 2 0 2 2 0 8 0 uaddrrnd 24 4009 0 3986 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4009 0 3986 1 0 1 1 0 8 0 vmmpekpl 168 34802 0 34748 3 0 3 3 0 8 0 vmmpepl 168 254909 0 252860 227 102 125 133 0 357 23 vmsppl 368 4008 0 3986 3 0 3 3 0 8 0 rwobjpl 24 72298 0 64880 49 1 48 48 0 8 0 pdppl 4096 8024 0 7972 275 217 58 66 0 8 6 pvpl 32 1410953 0 1391003 363 170 193 320 0 265 12 pmappl 216 4008 0 3986 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1543 0 742 25 0 25 25 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000dc79c0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000dc79c0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000dc5b40) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd8067caf3f8) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd805a724d50) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805a724d50,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805a724d50,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80705fb3c0,ffff8000216eedd0) at soo_close+0x44 fdrop(fffffd80705fb3c0,ffff8000216eedd0) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80705fb3c0,ffff8000216eedd0) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000216eedd0) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000216eedd0,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000216eedd0,ffff800029a02030,ffff800029a02080) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800029a02100) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7011458e8650, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000dc79c0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000dc79c0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000dc5b40) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd8067caf3f8) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd805a724d50) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805a724d50,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805a724d50,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80705fb3c0,ffff8000216eedd0) at soo_close+0x44 fdrop(fffffd80705fb3c0,ffff8000216eedd0) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80705fb3c0,ffff8000216eedd0) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000216eedd0) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000216eedd0,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000216eedd0,ffff800029a02030,ffff800029a02080) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800029a02100) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7011458e8650, count: -14