uvm_fault(0xfffffd80766d5a18, 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(ffff800000cf60c0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cf60c0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c6890) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd806fbdd690) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd805b962490) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805b962490,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805b962490,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8065f34800,ffff80002e8778b8) at soo_close+0x44 fdrop(fffffd8065f34800,ffff80002e8778b8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8065f34800,ffff80002e8778b8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002e8778b8) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002e8778b8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002e8778b8,ffff800029834820,ffff800029834870) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff8000298348f0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x709252c3c7c0, 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(0xfffffd80766d5a18, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000cf60c0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cf60c0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c6890) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd806fbdd690) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd805b962490) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805b962490,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805b962490,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8065f34800,ffff80002e8778b8) at soo_close+0x44 fdrop(fffffd8065f34800,ffff80002e8778b8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8065f34800,ffff80002e8778b8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002e8778b8) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002e8778b8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002e8778b8,ffff800029834820,ffff800029834870) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff8000298348f0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x709252c3c7c0, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff8000298344b0 rbx 0x5 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0x5b4286d09fb8bd91 r11 0x688f0dfc319e185 r12 0 r13 0x3 r14 0xffff800000cf60c0 r15 0xffff8000006b7000 rip 0xffffffff821f5bff igmp_leavegroup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800029834480 ss 0x10 igmp_leavegroup+0xaf: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.4) pid=63755 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000216efb58,0xffff8000216ee2f0 process=0xffff8000231777a0 user=0xffff80002982f000, vmspace=0xfffffd80766d5a18 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 45464 401480 92762 0 2 0 syz-executor.6 45464 339703 92762 0 3 0x4000080 fsleep syz-executor.6 77767 416320 70754 0 2 0 syz-executor.3 77767 461595 70754 0 3 0x4000080 fsleep syz-executor.3 80235 301490 22308 0 3 0x82 nanoslp syz-executor.0 91507 211448 1 0 3 0x100083 ttyin getty 70754 171520 22308 0 2 0x482 syz-executor.3 65551 228798 22308 0 3 0x82 nanoslp syz-executor.2 44258 357347 22308 0 3 0x82 nanoslp syz-executor.4 28785 413831 22308 0 3 0x82 nanoslp syz-executor.7 92762 296556 22308 0 3 0x82 nanoslp syz-executor.6 72958 19741 22308 0 3 0x82 nanoslp syz-executor.5 27231 351680 22308 0 2 0x2 syz-executor.1 93499 500456 0 0 3 0x14280 nfsidl nfsio 28555 513277 0 0 3 0x14280 nfsidl nfsio 90104 150010 0 0 3 0x14280 nfsidl nfsio 30735 202500 0 0 3 0x14280 nfsidl nfsio 49353 102147 0 0 3 0x14280 nfsidl nfsio 91875 277551 0 0 3 0x14280 nfsidl nfsio 82899 406317 0 0 3 0x14280 nfsidl nfsio 8131 56420 0 0 3 0x14280 nfsidl nfsio 78463 65461 0 0 3 0x14280 nfsidl nfsio 21155 371977 0 0 3 0x14280 nfsidl nfsio 20138 464506 0 0 3 0x14280 nfsidl nfsio 8794 476252 0 0 3 0x14280 nfsidl nfsio 52423 211099 0 0 3 0x14280 nfsidl nfsio 73906 162958 0 0 3 0x14280 nfsidl nfsio 78586 503263 0 0 3 0x14280 nfsidl nfsio 86028 354339 0 0 3 0x14280 nfsidl nfsio 23931 519854 0 0 3 0x14280 nfsidl nfsio 65810 320339 0 0 3 0x14280 nfsidl nfsio 73235 338770 0 0 3 0x14280 nfsidl nfsio 6198 426851 0 0 3 0x14280 nfsidl nfsio 98513 163019 0 0 3 0x14200 bored sosplice 22308 223787 16814 0 3 0x82 wait syz-fuzzer 22308 438314 16814 0 3 0x4000082 nanoslp syz-fuzzer 22308 398579 16814 0 3 0x4000082 wait syz-fuzzer 22308 521937 16814 0 3 0x4000082 wait syz-fuzzer 22308 482139 16814 0 3 0x4000082 wait syz-fuzzer 22308 362160 16814 0 3 0x4000082 thrsleep syz-fuzzer 22308 181951 16814 0 3 0x4000082 wait syz-fuzzer 22308 481625 16814 0 3 0x4000082 thrsleep syz-fuzzer 22308 457368 16814 0 3 0x4000082 kqread syz-fuzzer 22308 81591 16814 0 3 0x4000082 thrsleep syz-fuzzer 22308 13627 16814 0 3 0x4000082 wait syz-fuzzer 22308 268586 16814 0 3 0x4000082 thrsleep syz-fuzzer 22308 16916 16814 0 3 0x4000082 wait syz-fuzzer 22308 472552 16814 0 3 0x4000082 wait syz-fuzzer 16814 266410 97827 0 3 0x10008a sigsusp ksh 97827 349374 89254 0 3 0x9a kqread sshd 89254 452383 1 0 3 0x88 kqread sshd 89213 262442 39597 73 3 0x1100090 kqread syslogd 39597 103777 1 0 3 0x100082 netio syslogd 47061 254644 1 0 3 0x100080 kqread resolvd 81940 2565 9530 77 3 0x100092 kqread dhcpleased 67220 73773 9530 77 3 0x100092 kqread dhcpleased 9530 272767 1 0 3 0x80 kqread dhcpleased 11070 5122 0 0 3 0x14200 bored smr 24029 434528 0 0 2 0x14200 zerothread 86403 99493 0 0 3 0x14200 aiodoned aiodoned 90608 436533 0 0 3 0x14200 syncer update 66138 277614 0 0 3 0x14200 cleaner cleaner 80051 407566 0 0 3 0x14200 reaper reaper 7309 228965 0 0 3 0x14200 pgdaemon pagedaemon 44559 283504 0 0 3 0x14200 bored viomb 15499 110399 0 0 3 0x40014200 acpi0 acpi0 7100 312767 0 0 3 0x14200 bored softnet3 5814 454468 0 0 3 0x14200 bored softnet2 39666 500772 0 0 3 0x14200 bored softnet1 20097 269340 0 0 3 0x14200 bored softnet0 15564 435388 0 0 3 0x14200 bored systqmp 35430 410479 0 0 3 0x14200 bored systq 52314 288717 0 0 2 0x40014200 softclock 76203 23468 0 0 3 0x40014200 idle0 1 84700 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 10202 6428K 6929K 78643K 15915 0 pcb 13 16K 21K 78643K 1229 0 rtable 212 16K 17K 78643K 2080 0 ifaddr 92 24K 24K 78643K 521 0 sysctl 3 1K 1K 78643K 5 0 counters 29 17K 17K 78643K 132 0 ioctlops 0 0K 2K 78643K 448 0 iov 0 0K 32K 78643K 888 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1400 88K 88K 78643K 4128 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 52 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 1179 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 13 45K 69K 78643K 5513 0 sigio 0 0K 0K 78643K 179 0 proc 64 59K 75K 78643K 1251 0 subproc 104 6K 6K 78643K 364 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 513 0 in_multi 83 5K 6K 78643K 856 0 ether_multi 1 0K 0K 78643K 51 0 mrt 1 0K 0K 78643K 49 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 1375 0 pfkey data 0 0K 0K 78643K 10 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 351 86K 99K 78643K 52717 0 UVM aobj 131 4K 4K 78643K 134 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 173 0 NDP 16 0K 2K 78643K 222 0 temp 145 5858K 71522K 78643K 72334 0 kqueue 12 18K 30K 78643K 556 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 612 0 609 7 6 1 3 0 8 0 rtentry 112 678 0 591 4 1 3 4 0 8 0 unpcb 144 5709 0 5694 49 43 6 6 0 8 5 syncache 296 40 0 40 9 9 0 1 0 8 0 tcpqe 32 106 0 106 7 7 0 1 0 8 0 tcpcb 776 2345 0 2338 60 56 4 8 0 8 3 arp 88 63 0 47 1 0 1 1 0 8 0 ipq 40 5 0 5 1 1 0 1 0 8 0 ipqe 40 10 0 10 1 1 0 1 0 8 0 inpcb 336 6864 0 6854 56 49 7 12 0 8 5 nd6 104 163 0 142 1 0 1 1 0 8 0 pkpcb 40 13 0 13 4 4 0 1 0 8 0 kcovpl 48 28 0 20 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1160 46 0 46 7 7 0 1 0 8 0 pppxif 1360 15 0 15 3 3 0 1 0 8 0 pfstscr 40 81 0 71 1 0 1 1 0 8 0 pfosfp 40 2 0 1 1 0 1 1 0 8 0 pfosfpen 112 2 0 1 1 0 1 1 0 8 0 pfanchor 1288 783 0 412 40 3 37 37 0 8 0 pfstitem 24 14 0 0 1 0 1 1 0 8 0 pfstkey 128 156 0 151 1 0 1 1 0 8 0 pfstate 352 78 0 71 1 0 1 1 0 8 0 rttmr 136 14 0 14 3 3 0 1 0 8 0 art_heap8 4096 2 0 1 2 1 1 2 0 8 0 art_heap4 256 3369 0 3000 35 11 24 29 0 8 0 art_table 32 3371 0 3001 5 1 4 4 0 8 0 art_node 16 677 0 600 1 0 1 1 0 8 0 sysvmsgpl 40 40 0 0 1 0 1 1 0 8 0 semapl 112 1177 0 1167 1 0 1 1 0 8 0 shmpl 112 131 0 3 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 8414 0 6965 91 0 91 91 0 8 0 ffsino 240 8414 0 6965 86 0 86 86 0 8 0 nchpl 144 18116 0 16468 63 0 63 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 65615 0 65614 3 2 1 3 0 8 0 kstatmem 264 188 0 156 3 0 3 3 0 8 0 scsiplug 72 9 0 9 3 3 0 1 0 8 0 scxspl 216 46173 0 46173 15 14 1 8 0 8 1 plimitpl 152 915 0 900 1 0 1 1 0 8 0 sigapl 424 5792 0 5727 8 0 8 8 0 8 0 futexpl 64 61441 0 61439 1 0 1 1 0 8 0 knotepl 120 98285 0 98205 66 59 7 26 0 8 3 kqueuepl 184 1581 0 1572 25 24 1 6 0 8 0 pipepl 288 1658 0 1628 33 26 7 7 0 8 4 fdescpl 432 5755 0 5731 4 0 4 4 0 8 0 filepl 120 47716 0 47475 54 41 13 16 0 8 4 lockfpl 104 1338 0 1335 2 1 1 2 0 8 0 lockfspl 48 478 0 475 1 0 1 1 0 8 0 sessionpl 144 44 0 28 1 0 1 1 0 8 0 pgrppl 48 67 0 51 1 0 1 1 0 8 0 ucredpl 104 5953 0 5942 1 0 1 1 0 8 0 zombiepl 144 5732 0 5727 1 0 1 1 0 8 0 processpl 1008 5792 0 5727 10 1 9 9 0 8 0 procpl 696 13895 0 13815 12 3 9 10 0 8 1 sosppl 168 59 0 59 9 8 1 1 0 8 1 sockpl 456 13204 0 13176 267 255 12 29 0 8 7 mcl64k 65536 265 0 265 9 8 1 1 0 8 1 mcl16k 16384 105 0 105 11 10 1 1 0 8 1 mcl12k 12288 187 0 187 7 6 1 1 0 8 1 mcl9k 9216 63 0 63 9 8 1 1 0 8 1 mcl8k 8192 309 0 309 7 6 1 1 0 8 1 mcl4k 4096 704 0 704 3 2 1 1 0 8 1 mcl2k2 2112 69 0 69 9 9 0 1 0 8 0 mcl2k 2048 86415 0 86372 47 40 7 34 0 8 1 mtagpl 96 437 0 429 7 6 1 5 0 8 0 mbufpl 256 189587 0 189028 413 375 38 246 0 8 1 bufpl 288 12892 0 6507 457 0 457 457 0 8 0 anonpl 24 675852 0 660869 144 41 103 116 0 188 0 amapchunkpl 152 173843 0 173034 75 36 39 50 0 158 2 amappl16 200 13553 0 13058 56 29 27 37 0 8 0 amappl15 192 16 0 16 1 1 0 1 0 8 0 amappl14 184 231 0 220 2 1 1 2 0 8 0 amappl13 176 25 0 24 1 0 1 1 0 8 0 amappl12 168 6684 0 6659 2 0 2 2 0 8 0 amappl11 160 57 0 47 1 0 1 1 0 8 0 amappl10 152 44 0 34 2 1 1 1 0 8 0 amappl9 144 278 0 276 2 1 1 2 0 8 0 amappl8 136 370 0 284 3 0 3 3 0 8 0 amappl7 128 72 0 55 1 0 1 1 0 8 0 amappl6 120 428 0 408 2 1 1 2 0 8 0 amappl5 112 290 0 284 1 0 1 1 0 8 0 amappl4 104 975 0 935 2 0 2 2 0 8 0 amappl3 96 32819 0 32756 3 0 3 3 0 8 0 amappl2 88 6129 0 6072 4 2 2 3 0 8 0 amappl1 80 30376 0 29871 22 10 12 22 0 8 0 amappl 88 51896 0 51697 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 133 0 3 3 0 3 3 0 8 0 uaddrrnd 24 5755 0 5731 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 5755 0 5731 1 0 1 1 0 8 0 vmmpekpl 168 45479 0 45425 3 0 3 3 0 8 0 vmmpepl 168 359570 0 357410 232 110 122 125 0 357 13 vmsppl 368 5754 0 5731 3 0 3 3 0 8 0 rwobjpl 24 93202 0 85643 48 1 47 47 0 8 0 pdppl 4096 11516 0 11462 359 295 64 66 0 8 10 pvpl 32 1708300 0 1688189 362 184 178 334 0 265 0 pmappl 216 5754 0 5731 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1625 0 831 30 3 27 29 0 8 1 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000cf60c0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cf60c0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c6890) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd806fbdd690) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd805b962490) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805b962490,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805b962490,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8065f34800,ffff80002e8778b8) at soo_close+0x44 fdrop(fffffd8065f34800,ffff80002e8778b8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8065f34800,ffff80002e8778b8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002e8778b8) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002e8778b8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002e8778b8,ffff800029834820,ffff800029834870) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff8000298348f0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x709252c3c7c0, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000cf60c0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cf60c0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c6890) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd806fbdd690) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd805b962490) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805b962490,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805b962490,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8065f34800,ffff80002e8778b8) at soo_close+0x44 fdrop(fffffd8065f34800,ffff80002e8778b8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8065f34800,ffff80002e8778b8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002e8778b8) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002e8778b8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002e8778b8,ffff800029834820,ffff800029834870) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff8000298348f0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x709252c3c7c0, count: -14