uvm_fault(0xfffffd8069cc52f0, 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(ffff800000d3ad80) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd807237aaa8) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd806eb4d0f8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd806eb4d0f8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd806eb4d0f8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80685c1720,ffff8000fffee2f0) at soo_close+0x44 fdrop(fffffd80685c1720,ffff8000fffee2f0) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80685c1720,ffff8000fffee2f0) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000fffee2f0) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000fffee2f0,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000fffee2f0,ffff80002b42eaa0,ffff80002b42eaf0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002b42eb70) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x750e70a12040, 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(0xfffffd8069cc52f0, 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(ffff800000d3ad80) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd807237aaa8) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd806eb4d0f8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd806eb4d0f8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd806eb4d0f8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80685c1720,ffff8000fffee2f0) at soo_close+0x44 fdrop(fffffd80685c1720,ffff8000fffee2f0) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80685c1720,ffff8000fffee2f0) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000fffee2f0) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000fffee2f0,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000fffee2f0,ffff80002b42eaa0,ffff80002b42eaf0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002b42eb70) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x750e70a12040, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002b42e730 rbx 0x5 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0x36054ada274f64e0 r11 0x90df0a92af77b6f8 r12 0 r13 0x3 r14 0xffff800000d055c0 r15 0xffff8000006b7000 rip 0xffffffff821d723f igmp_leavegroup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002b42e700 ss 0x10 igmp_leavegroup+0xaf: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.1) pid=441887 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff8000216e62e8,0xffff8000fffef8c0 process=0xffff8000216767f0 user=0xffff80002b429000, vmspace=0xfffffd8069cc52f0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 19511 151494 55236 0 2 0 syz-executor.6 19511 24336 55236 0 3 0x4000080 fsleep syz-executor.6 8684 447660 96897 0 2 0 syz-executor.7 8684 521486 96897 0 3 0x4000080 fsleep syz-executor.7 61997 336709 32566 0 2 0 syz-executor.3 61997 283766 32566 0 3 0x4000080 fsleep syz-executor.3 14058 256081 86690 0 2 0 syz-executor.0 14058 439212 86690 0 3 0x4000080 fsleep syz-executor.0 87966 57590 32791 0 2 0 syz-executor.4 87966 462450 32791 0 3 0x4000080 fsleep syz-executor.4 33290 75741 33260 0 2 0 syz-executor.5 33290 456784 33260 0 2 0x4000000 syz-executor.5 62582 224423 99128 0 2 0 syz-executor.2 96897 241787 58229 0 3 0x82 nanoslp syz-executor.7 59289 270142 0 0 3 0x14200 acct acct 35544 490393 0 0 3 0x14200 bored sosplice 55236 382438 58229 0 3 0x82 nanoslp syz-executor.6 33260 166917 58229 0 3 0x82 nanoslp syz-executor.5 32566 313174 58229 0 3 0x82 nanoslp syz-executor.3 99128 142432 58229 0 2 0x2 syz-executor.2 75899 55260 58229 0 3 0x82 nanoslp syz-executor.1 86690 121528 58229 0 3 0x82 nanoslp syz-executor.0 32791 196122 58229 0 3 0x82 nanoslp syz-executor.4 58229 252689 65029 0 3 0x82 wait syz-fuzzer 58229 344252 65029 0 3 0x4000082 thrsleep syz-fuzzer 58229 292607 65029 0 3 0x4000082 wait syz-fuzzer 58229 506732 65029 0 3 0x4000082 thrsleep syz-fuzzer 58229 439545 65029 0 3 0x4000082 thrsleep syz-fuzzer 58229 209933 65029 0 3 0x4000082 wait syz-fuzzer 58229 160910 65029 0 3 0x4000082 wait syz-fuzzer 58229 40492 65029 0 3 0x4000082 wait syz-fuzzer 58229 427721 65029 0 3 0x4000082 wait syz-fuzzer 58229 204076 65029 0 3 0x4000082 wait syz-fuzzer 58229 524062 65029 0 3 0x4000082 thrsleep syz-fuzzer 58229 484049 65029 0 3 0x4000082 kqread syz-fuzzer 58229 513764 65029 0 3 0x4000082 wait syz-fuzzer 58229 287615 65029 0 3 0x4000082 thrsleep syz-fuzzer 65029 514679 96093 0 3 0x10008a sigsusp ksh 96093 410414 56910 0 3 0x9a kqread sshd 8389 18703 1 0 3 0x100083 ttyin getty 56910 200120 1 0 3 0x88 kqread sshd 68013 367409 45549 73 3 0x1100090 kqread syslogd 45549 17773 1 0 3 0x100082 netio syslogd 72930 374033 1 0 3 0x100080 kqread resolvd 53193 399294 67753 77 3 0x100092 kqread dhcpleased 68866 65368 67753 77 3 0x100092 kqread dhcpleased 67753 431417 1 0 3 0x80 kqread dhcpleased 94254 489065 0 0 3 0x14200 bored smr 6515 327725 0 0 2 0x14200 zerothread 36724 478720 0 0 3 0x14200 aiodoned aiodoned 89400 239906 0 0 3 0x14200 syncer update 54025 226487 0 0 3 0x14200 cleaner cleaner 28523 264517 0 0 3 0x14200 reaper reaper 97094 52585 0 0 3 0x14200 pgdaemon pagedaemon 29051 226683 0 0 3 0x14200 bored viomb 23791 379853 0 0 3 0x40014200 acpi0 acpi0 4264 365953 0 0 3 0x14200 bored softnet3 49275 520658 0 0 3 0x14200 bored softnet2 33981 169128 0 0 3 0x14200 bored softnet1 84319 353539 0 0 3 0x14200 bored softnet0 39613 168518 0 0 3 0x14200 bored systqmp 24538 264698 0 0 3 0x14200 bored systq 66566 139337 0 0 3 0x40014200 bored softclock 69903 163178 0 0 3 0x40014200 idle0 1 214790 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 10162 6404K 6606K 78643K 11854 0 pcb 15 12K 14K 78643K 298 0 rtable 213 6K 7K 78643K 467 0 ifaddr 72 20K 22K 78643K 123 0 counters 28 17K 17K 78643K 77 0 ioctlops 0 0K 2K 78643K 73 0 iov 0 0K 12K 78643K 41 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1347 84K 84K 78643K 2099 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 298 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 18 65K 69K 78643K 1163 0 sigio 0 0K 0K 78643K 38 0 proc 57 59K 75K 78643K 540 0 subproc 104 6K 6K 78643K 130 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 6 0K 0K 78643K 247 0 in_multi 98 6K 6K 78643K 279 0 ether_multi 2 0K 0K 78643K 32 0 mrt 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 532 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 313 80K 80K 78643K 12266 0 UVM aobj 99 3K 3K 78643K 99 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 205 0 NDP 13 0K 1K 78643K 41 0 temp 124 5858K 5922K 78643K 25614 0 kqueue 12 18K 24K 78643K 68 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 60 0 57 1 0 1 1 0 8 0 rtentry 112 154 0 56 4 0 4 4 0 8 0 unpcb 144 813 0 799 7 6 1 6 0 8 0 syncache 296 7 0 7 3 3 0 1 0 8 0 tcpqe 32 425 0 425 2 2 0 1 0 8 0 tcpcb 776 421 0 414 8 6 2 7 0 8 1 arp 88 26 0 8 1 0 1 1 0 8 0 inpcb 336 1944 0 1929 26 17 9 18 0 8 7 nd6 104 32 0 7 1 0 1 1 0 8 0 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1160 41 0 41 2 1 1 1 0 8 1 pppxif 1360 39 0 39 1 1 0 1 0 8 0 pfstscr 40 3 0 3 1 1 0 1 0 8 0 pfstkey 128 6 0 6 1 1 0 1 0 8 0 pfstate 352 3 0 3 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 628 0 199 31 4 27 29 0 8 0 art_table 32 629 0 199 4 0 4 4 0 8 0 art_node 16 150 0 62 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 8 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 296 0 286 1 0 1 1 0 8 0 shmpl 112 96 0 0 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3429 0 1992 91 0 91 91 0 8 0 ffsino 240 3429 0 1992 85 0 85 85 0 8 0 nchpl 144 5023 0 3379 63 0 63 63 0 8 0 uvmvnodes 80 3984 0 0 82 0 82 82 0 8 0 vnodes 216 3984 0 0 222 0 222 222 0 8 0 namei 1024 15479 0 15479 4 3 1 3 0 8 1 kstatmem 264 42 0 20 2 0 2 2 0 8 0 scxspl 216 14938 0 14938 11 10 1 8 0 8 1 plimitpl 152 73 0 58 1 0 1 1 0 8 0 sigapl 424 1458 0 1411 6 0 6 6 0 8 0 futexpl 64 18169 0 18164 1 0 1 1 0 8 0 knotepl 120 12696 0 12616 9 5 4 8 0 8 0 kqueuepl 184 87 0 79 1 0 1 1 0 8 0 pipepl 288 530 0 502 12 5 7 7 0 8 4 fdescpl 432 1440 0 1411 4 0 4 4 0 8 0 filepl 120 9144 0 8902 21 9 12 16 0 8 4 lockfpl 104 483 0 481 1 0 1 1 0 8 0 lockfspl 48 242 0 240 1 0 1 1 0 8 0 sessionpl 144 25 0 9 1 0 1 1 0 8 0 pgrppl 48 28 0 12 1 0 1 1 0 8 0 ucredpl 104 249 0 239 1 0 1 1 0 8 0 zombiepl 144 1412 0 1411 2 1 1 1 0 8 0 processpl 1008 1458 0 1411 7 1 6 6 0 8 0 procpl 696 2841 0 2775 8 1 7 7 0 8 0 sosppl 168 6 0 6 1 1 0 1 0 8 0 sockpl 456 2817 0 2785 54 43 11 28 0 8 6 mcl64k 65536 20 0 20 3 3 0 1 0 8 0 mcl16k 16384 27 0 27 3 3 0 1 0 8 0 mcl12k 12288 224 0 224 1 0 1 1 0 8 1 mcl9k 9216 6 0 6 2 2 0 1 0 8 0 mcl8k 8192 28 0 28 5 4 1 1 0 8 1 mcl4k 4096 189 0 189 2 1 1 1 0 8 1 mcl2k2 2112 20 0 20 3 2 1 1 0 8 1 mcl2k 2048 66318 0 66276 45 38 7 26 0 8 0 mtagpl 96 14 0 7 2 1 1 1 0 8 0 mbufpl 256 112921 0 112757 25 12 13 15 0 8 0 bufpl 288 5566 0 147 388 0 388 388 0 8 0 anonpl 24 272142 0 260180 125 13 112 112 0 188 24 amapchunkpl 152 39413 0 38553 38 2 36 37 0 158 2 amappl16 200 6995 0 6564 42 11 31 36 0 8 8 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 166 0 155 2 0 2 2 0 8 0 amappl13 176 9 0 9 1 1 0 1 0 8 0 amappl12 168 2087 0 2058 2 0 2 2 0 8 0 amappl11 160 45 0 35 1 0 1 1 0 8 0 amappl10 152 27 0 17 3 2 1 1 0 8 0 amappl9 144 152 0 151 3 2 1 2 0 8 0 amappl8 136 162 0 121 2 0 2 2 0 8 0 amappl7 128 60 0 47 1 0 1 1 0 8 0 amappl6 120 247 0 233 2 1 1 2 0 8 0 amappl5 112 159 0 152 1 0 1 1 0 8 0 amappl4 104 634 0 601 2 0 2 2 0 8 0 amappl3 96 8425 0 8334 3 0 3 3 0 8 0 amappl2 88 1635 0 1574 4 2 2 3 0 8 0 amappl1 80 13480 0 12967 26 14 12 22 0 8 0 amappl 88 11728 0 11505 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 98 0 0 2 0 2 2 0 8 0 uaddrrnd 24 1440 0 1411 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1440 0 1411 1 0 1 1 0 8 0 vmmpekpl 168 16267 0 16220 3 0 3 3 0 8 0 vmmpepl 168 105893 0 103625 157 45 112 143 0 357 13 vmsppl 368 1439 0 1411 3 0 3 3 0 8 0 rwobjpl 24 35381 0 29883 35 1 34 34 0 8 0 pdppl 4096 2887 0 2822 137 72 65 67 0 8 0 pvpl 32 628872 0 611553 345 59 286 331 0 265 125 pmappl 216 1439 0 1411 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 868 0 165 21 0 21 21 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(ffff800000d3ad80) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd807237aaa8) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd806eb4d0f8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd806eb4d0f8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd806eb4d0f8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80685c1720,ffff8000fffee2f0) at soo_close+0x44 fdrop(fffffd80685c1720,ffff8000fffee2f0) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80685c1720,ffff8000fffee2f0) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000fffee2f0) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000fffee2f0,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000fffee2f0,ffff80002b42eaa0,ffff80002b42eaf0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002b42eb70) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x750e70a12040, 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(ffff800000d3ad80) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd807237aaa8) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd806eb4d0f8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd806eb4d0f8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd806eb4d0f8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80685c1720,ffff8000fffee2f0) at soo_close+0x44 fdrop(fffffd80685c1720,ffff8000fffee2f0) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80685c1720,ffff8000fffee2f0) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000fffee2f0) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000fffee2f0,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000fffee2f0,ffff80002b42eaa0,ffff80002b42eaf0) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002b42eb70) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x750e70a12040, count: -14