uvm_fault(0xfffffd805adf2458, 0x4, 0, 1) -> e kernel: page fault trap, code=0 Stopped at igmp_leavegroup+0x80: movl 0x4(%rax),%r12d TID PID UID PRFLAGS PFLAGS CPU COMMAND igmp_leavegroup(ffff800000bdbec0) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000bdbec0) at in_delmulti+0xb7 sys/netinet/in.c:917 ip_freemoptions(ffff8000006c6ae0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd8074aecb08) at in_pcbdetach+0xfc sys/netinet/in_pcb.c:585 udp_detach(fffffd807cc7a060) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1258 soclose(fffffd807cc7a060,0) at soclose+0x255 sys/kern/uipc_socket.c:351 soo_close(fffffd8066de5d10,ffff8000ffff5500) at soo_close+0x40 fdrop(fffffd8066de5d10,ffff8000ffff5500) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd8066de5d10,ffff8000ffff5500) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff8000ffff5500) at fdfree+0xf4 sys/kern/kern_descrip.c:1195 exit1(ffff8000ffff5500,0,0,1) at exit1+0x37d sys/kern/kern_exit.c:202 sys_exit(ffff8000ffff5500,ffff8000212228c0,ffff800021222920) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800021222990) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021222990) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffffb7c0, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xfffffd805adf2458, 0x4, 0, 1) -> e ddb{0}> trace igmp_leavegroup(ffff800000bdbec0) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000bdbec0) at in_delmulti+0xb7 sys/netinet/in.c:917 ip_freemoptions(ffff8000006c6ae0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd8074aecb08) at in_pcbdetach+0xfc sys/netinet/in_pcb.c:585 udp_detach(fffffd807cc7a060) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1258 soclose(fffffd807cc7a060,0) at soclose+0x255 sys/kern/uipc_socket.c:351 soo_close(fffffd8066de5d10,ffff8000ffff5500) at soo_close+0x40 fdrop(fffffd8066de5d10,ffff8000ffff5500) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd8066de5d10,ffff8000ffff5500) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff8000ffff5500) at fdfree+0xf4 sys/kern/kern_descrip.c:1195 exit1(ffff8000ffff5500,0,0,1) at exit1+0x37d sys/kern/kern_exit.c:202 sys_exit(ffff8000ffff5500,ffff8000212228c0,ffff800021222920) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800021222990) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021222990) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffffb7c0, count: -14 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff800021222540 rbx 0 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0xe18f5aeda493d39e r11 0xdca0d6110e791182 r12 0 r13 0x3 r14 0xffff800000689000 r15 0xffff800000bdbec0 rip 0xffffffff81567760 igmp_leavegroup+0x80 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800021222510 ss 0x10 igmp_leavegroup+0x80: movl 0x4(%rax),%r12d ddb{0}> show proc PROC (syz-executor.1) pid=513658 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=83, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff5260,0xffff800024660d40 process=0xffff8000211a0860 user=0xffff80002121d000, vmspace=0xfffffd805adf2458 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 32756 284421 76669 0 2 0 syz-executor.6 32756 470012 76669 0 3 0x4000080 fsleep syz-executor.6 40286 46773 35272 0 2 0 syz-executor.0 40286 374809 35272 0 3 0x4000080 fsleep syz-executor.0 15467 508635 89963 0 2 0x4081000 syz-executor.2 15467 246802 89963 0 3 0x4003000 suspend syz-executor.2 24447 343335 92552 0 2 0 syz-executor.7 24447 457413 92552 0 3 0x4000080 fsleep syz-executor.7 6464 319096 20350 0 2 0 syz-executor.5 6464 470739 20350 0 3 0x4000080 fsleep syz-executor.5 9803 208534 58737 0 2 0 syz-executor.4 9803 112263 58737 0 3 0x4000080 fsleep syz-executor.4 35272 386035 50623 0 3 0x82 nanoslp syz-executor.0 20350 94423 50623 0 3 0x82 nanoslp syz-executor.5 46183 316935 50623 0 3 0x82 nanoslp syz-executor.1 76669 154050 50623 0 3 0x82 nanoslp syz-executor.6 89963 289782 50623 0 3 0x82 nanoslp syz-executor.2 61306 506649 1 0 3 0x100083 ttyin getty 69281 500535 50623 0 2 0x2 syz-executor.3 58737 260863 50623 0 3 0x82 nanoslp syz-executor.4 96083 340150 0 0 3 0x14280 nfsidl nfsio 80877 227366 0 0 3 0x14280 nfsidl nfsio 1948 289624 0 0 3 0x14280 nfsidl nfsio 30083 276007 0 0 3 0x14280 nfsidl nfsio 81557 97947 0 0 3 0x14280 nfsidl nfsio 2733 218363 0 0 3 0x14280 nfsidl nfsio 68168 468076 0 0 3 0x14280 nfsidl nfsio 79039 77981 0 0 3 0x14280 nfsidl nfsio 38190 496800 0 0 3 0x14280 nfsidl nfsio 11739 17057 0 0 3 0x14280 nfsidl nfsio 70909 460360 0 0 3 0x14280 nfsidl nfsio 59746 182143 0 0 3 0x14280 nfsidl nfsio 80291 75460 0 0 3 0x14280 nfsidl nfsio 31112 301 0 0 3 0x14280 nfsidl nfsio 39735 301252 0 0 3 0x14280 nfsidl nfsio 12541 361861 0 0 3 0x14280 nfsidl nfsio 82217 428292 0 0 3 0x14280 nfsidl nfsio 69688 456856 0 0 3 0x14280 nfsidl nfsio 63823 97450 0 0 3 0x14280 nfsidl nfsio 6392 53039 0 0 3 0x14280 nfsidl nfsio 92552 287481 50623 0 3 0x82 nanoslp syz-executor.7 89173 155262 0 0 3 0x14200 acct acct 94459 212054 0 0 3 0x14200 bored sosplice 50623 326467 51477 0 3 0x82 thrsleep syz-fuzzer 50623 99189 51477 0 3 0x4000082 thrsleep syz-fuzzer 50623 178083 51477 0 3 0x4000082 thrsleep syz-fuzzer 50623 429721 51477 0 3 0x4000082 thrsleep syz-fuzzer 50623 5625 51477 0 3 0x4000082 thrsleep syz-fuzzer 50623 175466 51477 0 3 0x4000082 thrsleep syz-fuzzer 50623 78079 51477 0 3 0x4000082 thrsleep syz-fuzzer 50623 522807 51477 0 3 0x4000082 thrsleep syz-fuzzer 50623 222133 51477 0 3 0x4000082 kqread syz-fuzzer 51477 400260 74063 0 3 0x10008a sigsusp ksh 74063 210752 38430 0 3 0x9a kqread sshd 38430 373818 1 0 3 0x88 kqread sshd 40450 76583 42439 74 3 0x1100092 bpf pflogd 42439 162423 1 0 3 0x80 netio pflogd 20681 228505 80506 73 3 0x1100090 kqread syslogd 80506 89585 1 0 3 0x100082 netio syslogd 2204 504457 1 0 3 0x100080 kqread resolvd 11130 237362 25577 77 3 0x100092 kqread dhcpleased 96667 501628 25577 77 3 0x100092 kqread dhcpleased 25577 360528 1 0 3 0x80 kqread dhcpleased 53127 468032 0 0 3 0x14200 bored smr 3469 394708 0 0 2 0x14200 zerothread 64363 102308 0 0 3 0x14200 aiodoned aiodoned 89990 96670 0 0 3 0x14200 syncer update 40368 61604 0 0 3 0x14200 cleaner cleaner 45077 247801 0 0 3 0x14200 reaper reaper 7543 508002 0 0 3 0x14200 pgdaemon pagedaemon 27155 164621 0 0 3 0x14200 bored viomb 50799 493881 0 0 3 0x40014200 acpi0 acpi0 91188 370628 0 0 7 0x40014200 idle1 87930 81712 0 0 3 0x14200 bored softnet 60046 191810 0 0 3 0x14200 bored systqmp 8897 365950 0 0 3 0x14200 bored systq 29466 113251 0 0 3 0x40014200 bored softclock 16958 321835 0 0 3 0x40014200 idle0 1 381437 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10230 6582K 7376K 78643K 40203 0 pcb 13 18K 20K 78643K 2240 0 rtable 234 17K 18K 78643K 3143 0 ifaddr 102 23K 24K 78643K 826 0 sysctl 3 1K 1K 78643K 3 0 counters 58 35K 36K 78643K 298 0 ioctlops 0 0K 8K 78643K 7845 0 iov 0 0K 34K 78643K 2362 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1552 97K 98K 78643K 10146 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 4 9K 9K 78643K 137 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 621 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 17 61K 81K 78643K 16589 0 sigio 0 0K 0K 78643K 328 0 proc 70 87K 112K 78643K 2696 0 subproc 104 6K 6K 78643K 803 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 1049 0 in_multi 103 6K 7K 78643K 1048 0 ether_multi 1 0K 0K 78643K 114 0 mrt 2 0K 0K 78643K 66 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 253 1129K 1129K 78643K 253 0 exec 0 0K 2K 78643K 3798 0 pfkey data 0 0K 0K 78643K 38 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 7 26K 26K 78643K 7 0 UVM amap 681 1349K 1352K 78643K 207345 0 UVM aobj 131 8K 8K 78643K 137 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 3 0K 1K 78643K 5189 0 NDP 15 0K 1K 78643K 269 0 temp 143 4713K 4958K 78643K 185485 0 kqueue 12 18K 25K 78643K 1169 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 1454 0 1451 23 22 1 5 0 8 0 rtentry 112 1077 0 978 5 1 4 4 0 8 0 unpcb 136 13265 0 13248 149 143 6 9 0 8 5 syncache 296 102 0 102 30 29 1 1 0 8 1 tcpqe 32 44 0 44 17 16 1 1 0 8 1 tcpcb 736 15844 0 15819 394 382 12 20 0 8 8 arp 120 194 0 178 1 0 1 1 0 8 0 inpcb 312 25782 0 25758 336 326 10 17 0 8 7 rttmr 72 12 0 12 5 5 0 1 0 8 0 nd6 48 203 0 179 1 0 1 1 0 8 0 pkpcb 40 54 0 54 11 11 0 1 0 8 0 kcovpl 48 58 0 50 1 0 1 1 0 8 0 ppxss 1248 19 0 19 6 6 0 1 0 8 0 pffrag 232 120 0 118 11 10 1 1 0 482 0 pffrnode 88 117 0 115 11 10 1 1 0 8 0 pffrent 40 572 0 570 11 10 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 4 0 1 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfqueue 264 3 0 3 1 1 0 1 0 8 0 pfstitem 24 33 0 31 1 0 1 1 0 8 0 pfstkey 112 33 0 31 1 0 1 1 0 8 0 pfstate 320 33 0 31 2 1 1 2 0 8 0 pfrule 1360 139 0 129 2 1 1 2 0 8 0 art_heap8 4096 3 0 2 3 2 1 2 0 8 0 art_heap4 256 3971 0 3537 45 16 29 31 0 8 0 art_table 32 3974 0 3539 4 0 4 4 0 8 0 art_node 16 1032 0 947 1 0 1 1 0 8 0 sysvmsgpl 40 40 0 17 1 0 1 1 0 8 0 semupl 112 5 0 5 2 2 0 1 0 8 0 semapl 112 615 0 605 1 0 1 1 0 8 0 shmpl 112 134 0 6 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 23056 0 21562 94 0 94 94 0 8 0 ffsino 272 23056 0 21562 100 0 100 100 0 8 0 nchpl 144 44724 0 43097 63 0 63 63 0 8 0 uvmvnodes 80 7841 0 0 161 0 161 161 0 8 0 vnodes 224 7841 0 0 462 0 462 462 0 8 0 namei 1024 159458 0 159458 10 9 1 2 0 8 1 percpumem 16 161 0 120 1 0 1 1 0 8 0 vcpupl 2048 282 0 2 35 0 35 35 0 8 0 vmpool 560 396 0 116 24 4 20 21 0 8 0 pfiaddrpl 120 3 0 0 1 0 1 1 0 8 0 scsiplug 72 5 0 5 1 1 0 1 0 8 0 scxspl 216 153021 0 153021 22 21 1 8 0 8 1 plimitpl 152 1160 0 1145 1 0 1 1 0 8 0 sigapl 424 16837 0 16770 9 1 8 8 0 8 0 futexpl 64 156068 0 156063 7 6 1 1 0 8 0 knotepl 120 1544 0 0 17 0 17 17 0 8 0 kqueuepl 216 3788 0 3780 89 86 3 7 0 8 2 pipepl 336 3738 0 3710 111 108 3 11 0 8 0 fdescpl 496 16781 0 16751 7 3 4 5 0 8 0 filepl 152 121388 0 121130 267 252 15 20 0 8 5 lockfpl 104 5122 0 5119 11 9 2 2 0 8 1 lockfspl 48 1390 0 1387 1 0 1 1 0 8 0 sessionpl 144 83 0 66 1 0 1 1 0 8 0 pgrppl 48 265 0 248 1 0 1 1 0 8 0 ucredpl 96 14142 0 14121 1 0 1 1 0 8 0 zombiepl 144 16773 0 16770 3 2 1 1 0 8 0 processpl 1064 16837 0 16770 5 0 5 5 0 8 0 procpl 672 44710 0 44628 23 14 9 9 0 8 1 srpgc 96 52 0 52 14 14 0 1 0 8 0 sosppl 168 191 0 191 25 24 1 1 0 8 1 sockpl 480 40680 0 40636 842 828 14 35 0 8 8 mcl64k 65536 37 0 0 5 2 3 3 0 8 0 mcl16k 16384 14 0 0 2 0 2 2 0 8 0 mcl12k 12288 33 0 0 2 0 2 2 0 8 0 mcl9k 9216 24 0 0 2 0 2 2 0 8 0 mcl8k 8192 32 0 0 4 1 3 3 0 8 0 mcl4k 4096 24 0 0 3 0 3 3 0 8 0 mcl2k2 2112 8 0 0 1 0 1 1 0 8 0 mcl2k 2048 293 0 0 18 1 17 18 0 8 0 mtagpl 96 1773 0 0 27 0 27 27 0 8 0 mbufpl 256 9266 0 0 544 0 544 544 0 8 0 bufpl 288 30584 0 22742 561 0 561 561 0 8 0 anonpl 24 4873716 0 4850395 383 227 156 186 0 186 0 amapchunkpl 152 508275 0 507077 194 137 57 59 0 158 9 amappl16 200 51429 0 50754 283 245 38 58 0 8 0 amappl15 192 2268 0 2258 1 0 1 1 0 8 0 amappl14 184 1498 0 1490 1 0 1 1 0 8 0 amappl13 176 2428 0 2423 1 0 1 1 0 8 0 amappl12 168 2621 0 2618 2 1 1 1 0 8 0 amappl11 160 1868 0 1854 1 0 1 1 0 8 0 amappl10 152 1591 0 1586 1 0 1 1 0 8 0 amappl9 144 3443 0 3439 1 0 1 1 0 8 0 amappl8 136 3991 0 3846 7 1 6 6 0 8 0 amappl7 128 2420 0 2403 1 0 1 1 0 8 0 amappl6 120 3318 0 3291 2 1 1 2 0 8 0 amappl5 112 14550 0 14530 1 0 1 1 0 8 0 amappl4 104 6439 0 6403 4 2 2 2 0 8 0 amappl3 96 3997 0 3982 1 0 1 1 0 8 0 amappl2 88 5068 0 5011 3 1 2 3 0 8 0 amappl1 80 299577 0 298967 25 11 14 19 0 8 0 amappl 88 205516 0 205124 12 2 10 10 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 17177 0 16867 2 0 2 2 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 17177 0 16867 2 0 2 2 0 8 0 vmmpekpl 168 124548 0 124461 5 0 5 5 0 8 0 vmmpepl 168 1538201 0 1534898 445 288 157 167 0 357 5 vmsppl 368 17176 0 16867 30 1 29 29 0 8 0 rwobjpl 56 372035 0 362165 160 18 142 143 0 8 0 pdppl 4096 34361 0 34014 1301 952 349 351 0 8 2 pvpl 32 8236047 0 8211425 740 515 225 300 0 265 0 pmappl 248 17176 0 16867 20 0 20 20 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 3604 0 1803 52 0 52 52 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace igmp_leavegroup(ffff800000bdbec0) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000bdbec0) at in_delmulti+0xb7 sys/netinet/in.c:917 ip_freemoptions(ffff8000006c6ae0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd8074aecb08) at in_pcbdetach+0xfc sys/netinet/in_pcb.c:585 udp_detach(fffffd807cc7a060) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1258 soclose(fffffd807cc7a060,0) at soclose+0x255 sys/kern/uipc_socket.c:351 soo_close(fffffd8066de5d10,ffff8000ffff5500) at soo_close+0x40 fdrop(fffffd8066de5d10,ffff8000ffff5500) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd8066de5d10,ffff8000ffff5500) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff8000ffff5500) at fdfree+0xf4 sys/kern/kern_descrip.c:1195 exit1(ffff8000ffff5500,0,0,1) at exit1+0x37d sys/kern/kern_exit.c:202 sys_exit(ffff8000ffff5500,ffff8000212228c0,ffff800021222920) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800021222990) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021222990) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffffb7c0, count: -14 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020ce8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020ce8ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff800020ce8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020ce8ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: -5