uvm_fault(0xfffffd8069cedd00, 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(ffff800000d67ac0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000d67ac0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000d669a0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd8071c9ebd0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:589 udp_detach(fffffd805e9da0c8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805e9da0c8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805e9da0c8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8060c22da0,ffff80002ce115e8) at soo_close+0x44 fdrop(fffffd8060c22da0,ffff80002ce115e8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8060c22da0,ffff80002ce115e8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002ce115e8) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002ce115e8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002ce115e8,ffff80002e96b4c0,ffff80002e96b510) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e96b590) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x783f9923b7c0, 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(0xfffffd8069cedd00, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000d67ac0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000d67ac0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000d669a0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd8071c9ebd0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:589 udp_detach(fffffd805e9da0c8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805e9da0c8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805e9da0c8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8060c22da0,ffff80002ce115e8) at soo_close+0x44 fdrop(fffffd8060c22da0,ffff80002ce115e8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8060c22da0,ffff80002ce115e8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002ce115e8) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002ce115e8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002ce115e8,ffff80002e96b4c0,ffff80002e96b510) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e96b590) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x783f9923b7c0, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002e96b150 rbx 0x5 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0xc8867c6bfde7c625 r11 0x5f8f485a86ee939d r12 0 r13 0x3 r14 0xffff800000d67ac0 r15 0xffff8000006b7000 rip 0xffffffff8105277f igmp_leavegroup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002e96b120 ss 0x10 igmp_leavegroup+0xaf: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.2) pid=503192 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=83, nice=20 forw=0xffffffffffffffff, list=0xffff80002ce10028,0xffff80002ce11088 process=0xffff80002e96cbd8 user=0xffff80002e966000, vmspace=0xfffffd8069cedd00 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 5385 254097 47017 0 2 0 syz-executor.3 5385 132303 47017 0 3 0x4000080 fsleep syz-executor.3 13995 335162 44015 0 2 0 syz-executor.4 13995 105069 44015 0 3 0x4000080 fsleep syz-executor.4 13995 438391 44015 0 3 0x4000080 fsleep syz-executor.4 13995 113142 44015 0 3 0x4000080 fsleep syz-executor.4 3861 15931 53798 0 2 0 syz-executor.6 82993 309011 51066 0 2 0 syz-executor.0 33999 344719 3202 0 3 0x80 nanoslp syz-executor.5 33999 487670 3202 0 3 0x4000080 netcon syz-executor.5 33999 108400 3202 0 3 0x4000080 netcon syz-executor.5 33999 35113 3202 0 3 0x4000080 fsleep syz-executor.5 46668 173488 27831 0 3 0x80 nanoslp syz-executor.7 46668 450518 27831 0 3 0x4000080 netio syz-executor.7 46668 487504 27831 0 3 0x4000080 fsleep syz-executor.7 3202 446267 49051 0 2 0x482 syz-executor.5 27831 152805 49051 0 3 0x82 nanoslp syz-executor.7 67836 129040 49051 0 3 0x82 nanoslp syz-executor.1 53798 133863 49051 0 3 0x82 nanoslp syz-executor.6 44015 484545 49051 0 3 0x82 nanoslp syz-executor.4 47017 235276 49051 0 3 0x82 nanoslp syz-executor.3 51066 471186 49051 0 3 0x82 nanoslp syz-executor.0 5922 15599 49051 0 3 0x82 nanoslp syz-executor.2 91662 201556 0 0 3 0x14280 nfsidl nfsio 64276 514173 0 0 3 0x14280 nfsidl nfsio 30237 329515 0 0 3 0x14280 nfsidl nfsio 43510 114372 0 0 3 0x14280 nfsidl nfsio 9254 434640 0 0 3 0x14280 nfsidl nfsio 23194 412377 0 0 3 0x14280 nfsidl nfsio 55987 265447 0 0 3 0x14280 nfsidl nfsio 41175 480515 0 0 3 0x14280 nfsidl nfsio 16275 238822 0 0 3 0x14280 nfsidl nfsio 52821 407164 0 0 3 0x14280 nfsidl nfsio 55105 381574 0 0 3 0x14280 nfsidl nfsio 92309 463226 0 0 3 0x14280 nfsidl nfsio 43365 355555 0 0 3 0x14280 nfsidl nfsio 61798 202934 0 0 3 0x14280 nfsidl nfsio 28338 47696 0 0 3 0x14280 nfsidl nfsio 42589 415875 0 0 3 0x14280 nfsidl nfsio 73823 136863 0 0 3 0x14280 nfsidl nfsio 22709 371933 0 0 3 0x14280 nfsidl nfsio 71460 400606 0 0 3 0x14280 nfsidl nfsio 54019 190749 0 0 3 0x14280 nfsidl nfsio 29934 469961 1 0 3 0x100083 ttyin getty 30254 404470 0 0 3 0x14200 bored sosplice 49051 390051 85249 0 3 0x82 wait syz-fuzzer 49051 457874 85249 0 3 0x4000082 thrsleep syz-fuzzer 49051 35248 85249 0 3 0x4000082 wait syz-fuzzer 49051 192538 85249 0 3 0x4000082 kqread syz-fuzzer 49051 372947 85249 0 3 0x4000082 thrsleep syz-fuzzer 49051 401906 85249 0 3 0x4000082 wait syz-fuzzer 49051 505662 85249 0 3 0x4000082 wait syz-fuzzer 49051 241580 85249 0 3 0x4000082 thrsleep syz-fuzzer 49051 232747 85249 0 3 0x4000082 wait syz-fuzzer 49051 298978 85249 0 3 0x4000082 wait syz-fuzzer 49051 6962 85249 0 3 0x4000082 thrsleep syz-fuzzer 49051 120652 85249 0 3 0x4000082 thrsleep syz-fuzzer 49051 163973 85249 0 3 0x4000082 wait syz-fuzzer 49051 101144 85249 0 3 0x4000082 wait syz-fuzzer 85249 103993 57991 0 3 0x10008a sigsusp ksh 57991 100964 88099 0 3 0x9a kqread sshd 88099 323087 1 0 3 0x88 kqread sshd 61887 88297 90312 73 3 0x1100090 kqread syslogd 90312 40316 1 0 3 0x100082 netio syslogd 77742 438713 1 0 3 0x100080 kqread resolvd 57295 115537 0 0 3 0x14200 bored smr 17521 197609 0 0 2 0x14200 zerothread 60600 213737 0 0 3 0x14200 aiodoned aiodoned 5909 242316 0 0 3 0x14200 syncer update 57118 1319 0 0 3 0x14200 cleaner cleaner 69516 26998 0 0 3 0x14200 reaper reaper 57327 395623 0 0 3 0x14200 pgdaemon pagedaemon 79441 501084 0 0 3 0x14200 bored viomb 3736 106972 0 0 3 0x40014200 acpi0 acpi0 59796 394666 0 0 3 0x14200 bored softnet3 20172 345536 0 0 3 0x14200 bored softnet2 17412 238174 0 0 3 0x14200 bored softnet1 30607 316242 0 0 3 0x14200 bored softnet0 2196 287398 0 0 3 0x14200 bored systqmp 26987 92493 0 0 3 0x14200 bored systq 69181 333920 0 0 3 0x40014200 bored softclock 45147 405388 0 0 3 0x40014200 idle0 1 61933 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 10210 6447K 6996K 78643K 20803 0 pcb 13 24K 28K 78643K 6679 0 rtable 184 16K 18K 78643K 7018 0 ifaddr 82 28K 32K 78643K 2326 0 sysctl 3 1K 2K 78643K 7 0 counters 30 17K 18K 78643K 829 0 ioctlops 0 0K 4K 78643K 3443 0 iov 0 0K 32K 78643K 4254 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1553 97K 98K 78643K 14814 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 13K 78643K 249 0 VM map 2 1K 1K 78643K 2 0 sem 12 16K 32K 78643K 27 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 17 61K 77K 78643K 29333 0 sigio 0 0K 0K 78643K 801 0 proc 71 44K 84K 78643K 5062 0 subproc 104 6K 8K 78643K 1801 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 1226 0 in_multi 65 4K 7K 78643K 2282 0 ether_multi 1 0K 0K 78643K 216 0 mrt 1 0K 0K 78643K 153 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 6172 0 pfkey data 0 0K 0K 78643K 114 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 448 101K 119K 78643K 272601 0 UVM aobj 131 5K 5K 78643K 134 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 950 0 NDP 17 0K 2K 78643K 852 0 temp 147 5858K 71522K 78643K 286011 0 kqueue 7 12K 24K 78643K 2543 0 SYN cache 2 0K 16K 78643K 4 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 3359 0 3357 38 37 1 5 0 8 0 rtentry 112 2041 0 1968 6 3 3 4 0 8 0 unpcb 144 158494 0 158467 551 545 6 18 0 8 5 syncache 296 117 0 117 38 38 0 1 0 8 0 tcpqe 32 91 533 91 2 2 0 1 0 8 0 tcpcb 776 11708 0 11689 337 335 2 14 0 8 0 arp 88 316 0 301 1 0 1 1 0 8 0 ipq 40 47 0 47 17 17 0 1 0 8 0 ipqe 40 162 0 162 17 17 0 1 0 8 0 inpcb 336 34897 0 34871 434 430 4 18 0 8 0 nd6 104 456 0 440 1 0 1 1 0 8 0 pkpcb 40 338 0 338 23 23 0 1 0 8 0 kcovpl 48 135 0 127 1 0 1 1 0 8 0 mppekey 1024 9 0 9 3 3 0 1 0 8 0 ppxss 1160 461 0 460 30 29 1 1 0 8 0 pppxif 1360 190 0 190 28 28 0 1 0 8 0 rttmr 136 30 0 30 10 10 0 1 0 8 0 art_heap8 4096 2 0 1 2 1 1 2 0 8 0 art_heap4 256 9655 0 9326 127 105 22 31 0 8 0 art_table 32 9657 0 9327 10 6 4 5 0 8 0 art_node 16 1968 0 1905 1 0 1 1 0 8 0 sysvmsgpl 40 29 0 15 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 15 0 5 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 44826 0 43267 98 0 98 98 0 8 0 ffsino 240 44826 0 43267 93 0 93 93 0 8 0 nchpl 144 88335 0 87846 63 41 22 63 0 8 0 rtmask 32 7 0 7 3 3 0 1 0 8 0 uvmvnodes 80 8732 0 0 179 0 179 179 0 8 0 vnodes 216 8732 0 0 486 0 486 486 0 8 0 namei 1024 316790 0 316790 30 28 2 3 0 8 2 kstatmem 264 1084 0 1050 7 4 3 3 0 8 0 scsiplug 72 26 0 26 9 9 0 1 0 8 0 scxspl 216 279772 0 279772 66 65 1 8 0 8 1 plimitpl 152 4901 0 4887 1 0 1 1 0 8 0 sigapl 424 29419 0 29356 12 4 8 10 0 8 0 futexpl 64 349204 0 349198 16 15 1 1 0 8 0 knotepl 120 608889 0 608824 374 371 3 22 0 8 0 kqueuepl 184 6355 0 6344 85 84 1 4 0 8 0 pipepl 288 6693 0 6664 160 157 3 7 0 8 0 fdescpl 432 29339 0 29314 5 1 4 4 0 8 0 filepl 120 329566 0 329308 430 418 12 22 0 8 3 lockfpl 104 8041 0 8040 13 12 1 2 0 8 0 lockfspl 48 2183 0 2182 1 0 1 1 0 8 0 sessionpl 144 151 0 136 1 0 1 1 0 8 0 pgrppl 48 428 0 413 1 0 1 1 0 8 0 ucredpl 104 21814 0 21807 1 0 1 1 0 8 0 zombiepl 144 29358 0 29356 4 3 1 1 0 8 0 processpl 1008 29419 0 29356 16 8 8 11 0 8 0 procpl 696 74881 0 74796 31 22 9 10 0 8 0 sosppl 168 367 0 366 45 44 1 1 0 8 0 sockpl 456 197261 0 197210 4765 4752 13 63 0 8 6 mcl64k 65536 1156 0 1156 65 64 1 1 0 8 1 mcl16k 16384 638 0 638 69 69 0 1 0 8 0 mcl12k 12288 1080 0 1080 58 58 0 1 0 8 0 mcl9k 9216 334 0 334 71 70 1 1 0 8 1 mcl8k 8192 2027 0 2027 60 59 1 1 0 8 1 mcl4k 4096 4223 0 4223 38 37 1 1 0 8 1 mcl2k2 2112 327 0 327 73 72 1 1 0 8 1 mcl2k 2048 133317 0 133273 105 98 7 27 0 8 1 mtagpl 96 816 0 816 12 12 0 6 0 8 0 mbufpl 256 643761 0 643594 2327 2312 15 119 0 8 0 bufpl 288 52794 0 44062 624 0 624 624 0 8 0 anonpl 24 3045964 0 3030615 416 289 127 170 0 188 0 amapchunkpl 152 907101 0 906214 312 269 43 65 0 158 0 amappl16 200 60360 0 59869 356 328 28 52 0 8 0 amappl15 192 44 0 42 1 0 1 1 0 8 0 amappl14 184 542 0 531 2 1 1 2 0 8 0 amappl13 176 24 0 24 4 4 0 1 0 8 0 amappl12 168 31866 0 31840 3 1 2 2 0 8 0 amappl11 160 49 0 45 1 0 1 1 0 8 0 amappl10 152 198 0 185 1 0 1 1 0 8 0 amappl9 144 301 0 300 2 1 1 2 0 8 0 amappl8 136 1325 0 1145 7 0 7 7 0 8 0 amappl7 128 161 0 143 1 0 1 1 0 8 0 amappl6 120 1232 0 1210 2 1 1 2 0 8 0 amappl5 112 1095 0 1092 1 0 1 1 0 8 0 amappl4 104 2913 0 2876 2 0 2 2 0 8 0 amappl3 96 169002 0 168921 7 4 3 3 0 8 0 amappl2 88 30340 0 30293 4 2 2 3 0 8 0 amappl1 80 123012 0 122599 22 11 11 22 0 8 0 amappl 88 270167 0 269925 7 1 6 7 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 29339 0 29314 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 29339 0 29314 1 0 1 1 0 8 0 vmmpekpl 168 217130 0 217088 3 0 3 3 0 8 0 vmmpepl 168 1776126 0 1773871 527 406 121 136 0 357 0 vmsppl 368 29338 0 29314 3 0 3 3 0 8 0 rwobjpl 24 412538 0 402192 67 3 64 66 0 8 0 pdppl 4096 58684 0 58628 1612 1554 58 64 0 8 2 pvpl 32 8478856 0 8458290 1078 880 198 319 0 265 0 pmappl 216 29338 0 29314 3 1 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 5884 0 4947 30 1 29 30 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000d67ac0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000d67ac0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000d669a0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd8071c9ebd0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:589 udp_detach(fffffd805e9da0c8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805e9da0c8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805e9da0c8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8060c22da0,ffff80002ce115e8) at soo_close+0x44 fdrop(fffffd8060c22da0,ffff80002ce115e8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8060c22da0,ffff80002ce115e8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002ce115e8) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002ce115e8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002ce115e8,ffff80002e96b4c0,ffff80002e96b510) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e96b590) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x783f9923b7c0, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000d67ac0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000d67ac0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000d669a0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd8071c9ebd0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:589 udp_detach(fffffd805e9da0c8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805e9da0c8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805e9da0c8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8060c22da0,ffff80002ce115e8) at soo_close+0x44 fdrop(fffffd8060c22da0,ffff80002ce115e8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8060c22da0,ffff80002ce115e8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002ce115e8) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002ce115e8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002ce115e8,ffff80002e96b4c0,ffff80002e96b510) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e96b590) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x783f9923b7c0, count: -14