uvm_fault(0xfffffd8069d7e880, 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(ffff800000cd0580,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cd0580) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c6310) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd806ee5e7e0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd807e8c0920) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd807e8c0920,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd807e8c0920,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd807664bdb0,ffff80002e88a2e8) at soo_close+0x44 fdrop(fffffd807664bdb0,ffff80002e88a2e8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd807664bdb0,ffff80002e88a2e8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002e88a2e8) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002e88a2e8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002e88a2e8,ffff80002e86fff0,ffff80002e870040) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e8700c0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6fc626c70210, 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(0xfffffd8069d7e880, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000cd0580,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cd0580) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c6310) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd806ee5e7e0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd807e8c0920) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd807e8c0920,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd807e8c0920,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd807664bdb0,ffff80002e88a2e8) at soo_close+0x44 fdrop(fffffd807664bdb0,ffff80002e88a2e8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd807664bdb0,ffff80002e88a2e8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002e88a2e8) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002e88a2e8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002e88a2e8,ffff80002e86fff0,ffff80002e870040) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e8700c0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6fc626c70210, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002e86fc80 rbx 0x3 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0xcfe6d9eb75b8374a r11 0x424e244e2f003bb9 r12 0 r13 0x3 r14 0xffff800000cd0580 r15 0xffff8000006b7000 rip 0xffffffff8221e9ff igmp_leavegroup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002e86fc50 ss 0x10 igmp_leavegroup+0xaf: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.5) pid=6946 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=79, nice=20 forw=0xffffffffffffffff, list=0xffff800027fde2e0,0xffff800027fde5a8 process=0xffff800021714400 user=0xffff80002e86b000, vmspace=0xfffffd8069d7e880 estcpu=29, cpticks=0, pctcpu=0.4 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 23164 401763 57382 0 3 0x80 nanoslp syz-executor.7 23164 48123 57382 0 3 0x4000080 netcon2 syz-executor.7 23164 229254 57382 0 3 0x4000080 netcon syz-executor.7 23164 441633 57382 0 3 0x4000080 fsleep syz-executor.7 21798 115620 57650 0 3 0x82 piperd syz-executor.2 3114 290029 57650 0 2 0x2 syz-executor.1 30200 351219 0 0 3 0x14200 bored sosplice 76749 422185 57650 0 3 0x82 piperd syz-executor.6 85030 498516 57650 0 3 0x82 nanoslp syz-executor.5 57382 205134 57650 0 3 0x82 nanoslp syz-executor.7 23750 276212 57650 0 3 0x82 piperd syz-executor.3 29974 237815 57650 0 3 0x82 piperd syz-executor.4 67804 129954 57650 0 3 0x82 piperd syz-executor.0 57650 189633 18143 0 3 0x82 thrsleep syz-fuzzer 57650 398881 18143 0 2 0x4000002 syz-fuzzer 57650 266355 18143 0 3 0x4000082 wait syz-fuzzer 57650 513712 18143 0 3 0x4000082 wait syz-fuzzer 57650 381244 18143 0 3 0x4000082 wait syz-fuzzer 57650 149082 18143 0 3 0x4000082 wait syz-fuzzer 57650 91523 18143 0 3 0x4000082 thrsleep syz-fuzzer 57650 386142 18143 0 3 0x4000082 thrsleep syz-fuzzer 57650 22984 18143 0 3 0x4000082 wait syz-fuzzer 57650 416080 18143 0 3 0x4000082 thrsleep syz-fuzzer 57650 236798 18143 0 3 0x4000082 wait syz-fuzzer 57650 149008 18143 0 3 0x4000082 wait syz-fuzzer 57650 229271 18143 0 2 0x4000002 syz-fuzzer 57650 522516 18143 0 3 0x4000082 wait syz-fuzzer 18143 417591 8514 0 3 0x10008a sigsusp ksh 8514 455438 41859 0 3 0x9a kqread sshd 53285 65205 1 0 3 0x100083 ttyin getty 41859 40888 1 0 3 0x88 kqread sshd 72089 297335 30805 73 3 0x1100090 kqread syslogd 30805 258180 1 0 3 0x100082 netio syslogd 71269 434603 1 0 3 0x100080 kqread resolvd 59659 365320 95664 77 3 0x100092 kqread dhcpleased 9790 447312 95664 77 3 0x100092 kqread dhcpleased 95664 285349 1 0 3 0x80 kqread dhcpleased 50991 406983 0 0 3 0x14200 bored smr 28878 279884 0 0 3 0x14200 pgzero zerothread 89069 117268 0 0 3 0x14200 aiodoned aiodoned 63427 135086 0 0 3 0x14200 syncer update 79609 138740 0 0 3 0x14200 cleaner cleaner 96122 170881 0 0 3 0x14200 reaper reaper 74419 425318 0 0 3 0x14200 pgdaemon pagedaemon 22498 169229 0 0 3 0x14200 bored viomb 15389 368648 0 0 3 0x40014200 acpi0 acpi0 97169 334378 0 0 3 0x14200 bored softnet3 93339 130970 0 0 3 0x14200 bored softnet2 75516 175578 0 0 3 0x14200 bored softnet1 7236 193668 0 0 3 0x14200 bored softnet0 91870 29008 0 0 3 0x14200 bored systqmp 5048 496516 0 0 3 0x14200 bored systq 71156 62335 0 0 3 0x40014200 bored softclock 47403 513395 0 0 3 0x40014200 idle0 1 479751 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 10165 6405K 6788K 78643K 11798 0 pcb 13 8K 8K 78643K 341 0 rtable 174 5K 7K 78643K 610 0 ifaddr 63 19K 21K 78643K 233 0 sysctl 2 0K 0K 78643K 2 0 counters 26 17K 17K 78643K 80 0 ioctlops 0 0K 2K 78643K 202 0 iov 0 0K 38K 78643K 190 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1283 80K 81K 78643K 2115 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 13K 78643K 23 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 228 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 12 41K 73K 78643K 3261 0 sigio 0 0K 0K 78643K 64 0 proc 59 59K 90K 78643K 648 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 4 0K 0K 78643K 323 0 in_multi 80 5K 6K 78643K 296 0 ether_multi 1 0K 0K 78643K 78 0 mrt 1 0K 0K 78643K 72 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 85 387K 387K 78643K 85 0 exec 0 0K 1K 78643K 499 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 283 82K 96K 78643K 29965 0 UVM aobj 46 2K 2K 78643K 46 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 251 0 NDP 9 0K 2K 78643K 66 0 temp 116 5853K 71517K 78643K 18856 0 kqueue 12 18K 34K 78643K 362 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 171 0 168 1 0 1 1 0 8 0 rtentry 112 183 0 105 4 1 3 4 0 8 0 unpcb 144 1071 0 1058 3 2 1 2 0 8 0 syncache 296 35 0 35 2 1 1 1 0 8 1 tcpqe 32 171 0 171 2 1 1 1 0 8 1 tcpcb 776 690 0 671 5 2 3 3 0 8 1 arp 88 22 0 8 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 336 1866 0 1841 5 2 3 3 0 8 0 nd6 104 30 0 12 1 0 1 1 0 8 0 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1160 25 0 25 5 4 1 1 0 8 1 pppxif 1360 13 0 13 4 3 1 1 0 8 1 pfstscr 40 4 0 4 1 1 0 1 0 8 0 pfosfp 40 4 0 3 1 0 1 1 0 8 0 pfosfpen 112 4 0 0 1 0 1 1 0 8 0 pfanchor 1288 129 0 67 11 5 6 11 0 8 0 pfstkey 128 8 0 8 1 1 0 1 0 8 0 pfstate 352 4 0 4 1 1 0 1 0 8 0 rttmr 136 25 0 25 3 3 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 800 0 442 31 8 23 29 0 8 0 art_table 32 801 0 442 4 0 4 4 0 8 0 art_node 16 181 0 113 1 0 1 1 0 8 0 sysvmsgpl 40 58 0 42 1 0 1 1 0 8 0 semupl 112 13 0 13 1 1 0 1 0 8 0 semapl 112 222 0 212 1 0 1 1 0 8 0 shmpl 112 43 0 0 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 5695 0 4246 91 0 91 91 0 8 0 ffsino 240 5695 0 4246 86 0 86 86 0 8 0 nchpl 144 9936 0 8284 64 0 64 64 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 26543 0 26543 6 5 1 3 0 8 1 kstatmem 264 92 0 74 2 0 2 2 0 8 0 scsiplug 72 8 0 8 1 1 0 1 0 8 0 scxspl 216 34560 0 34560 10 9 1 8 0 8 1 plimitpl 152 207 0 192 1 0 1 1 0 8 0 sigapl 424 3557 0 3517 6 0 6 6 0 8 0 futexpl 64 25190 0 25189 2 1 1 1 0 8 0 knotepl 120 33562 0 33482 31 24 7 15 0 8 3 kqueuepl 184 488 0 480 1 0 1 1 0 8 0 pipepl 288 311 0 282 3 0 3 3 0 8 0 fdescpl 432 3540 0 3517 5 1 4 4 0 8 0 filepl 120 11865 0 11623 10 2 8 9 0 8 0 lockfpl 104 486 0 484 1 0 1 1 0 8 0 lockfspl 48 177 0 175 1 0 1 1 0 8 0 sessionpl 144 25 0 9 1 0 1 1 0 8 0 pgrppl 48 49 0 33 1 0 1 1 0 8 0 ucredpl 104 1746 0 1736 1 0 1 1 0 8 0 zombiepl 144 3518 0 3517 1 0 1 1 0 8 0 processpl 1008 3557 0 3517 7 1 6 7 0 8 0 procpl 696 7091 0 7035 8 1 7 8 0 8 0 sosppl 168 52 0 46 5 4 1 1 0 8 0 sockpl 456 3122 0 3080 14 7 7 7 0 8 1 mcl64k 65536 73 0 73 4 3 1 1 0 8 1 mcl16k 16384 15 0 15 2 1 1 1 0 8 1 mcl12k 12288 120 0 120 4 3 1 1 0 8 1 mcl9k 9216 28 0 28 4 4 0 1 0 8 0 mcl8k 8192 152 0 152 5 5 0 1 0 8 0 mcl4k 4096 135 0 135 5 4 1 1 0 8 1 mcl2k2 2112 28 0 28 3 3 0 1 0 8 0 mcl2k 2048 44039 0 43998 47 39 8 33 0 8 1 mtagpl 96 24 0 24 2 2 0 1 0 8 0 mbufpl 256 127514 0 127342 125 109 16 108 0 8 0 bufpl 288 9872 0 3487 457 0 457 457 0 8 0 anonpl 24 501347 0 492465 112 42 70 83 0 188 0 amapchunkpl 152 100757 0 100100 74 42 32 56 0 158 1 amappl16 200 11314 0 11068 41 27 14 26 0 8 0 amappl15 192 20 0 20 1 1 0 1 0 8 0 amappl14 184 159 0 147 2 1 1 2 0 8 0 amappl13 176 24 0 23 1 0 1 1 0 8 0 amappl12 168 4195 0 4172 3 1 2 2 0 8 0 amappl11 160 53 0 43 1 0 1 1 0 8 0 amappl10 152 36 0 26 2 1 1 1 0 8 0 amappl9 144 163 0 163 2 2 0 2 0 8 0 amappl8 136 243 0 181 3 0 3 3 0 8 0 amappl7 128 55 0 41 1 0 1 1 0 8 0 amappl6 120 262 0 240 2 1 1 2 0 8 0 amappl5 112 152 0 146 1 0 1 1 0 8 0 amappl4 104 631 0 599 2 1 1 2 0 8 0 amappl3 96 19394 0 19329 3 0 3 3 0 8 0 amappl2 88 3795 0 3741 4 2 2 3 0 8 0 amappl1 80 20307 0 19813 22 10 12 22 0 8 0 amappl 88 29323 0 29144 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 45 0 0 1 0 1 1 0 8 0 uaddrrnd 24 3540 0 3517 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3540 0 3517 1 0 1 1 0 8 0 vmmpekpl 168 23472 0 23419 3 0 3 3 0 8 0 vmmpepl 168 216256 0 214444 132 37 95 111 0 357 2 vmsppl 360 3539 0 3517 3 0 3 3 0 8 0 rwobjpl 24 60488 0 53317 44 0 44 44 0 8 0 pdppl 4096 7086 0 7034 155 91 64 68 0 8 12 pvpl 32 1353581 0 1339727 359 127 232 359 0 265 97 pmappl 216 3539 0 3517 3 1 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1033 0 272 25 0 25 25 0 8 1 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000cd0580,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cd0580) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c6310) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd806ee5e7e0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd807e8c0920) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd807e8c0920,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd807e8c0920,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd807664bdb0,ffff80002e88a2e8) at soo_close+0x44 fdrop(fffffd807664bdb0,ffff80002e88a2e8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd807664bdb0,ffff80002e88a2e8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002e88a2e8) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002e88a2e8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002e88a2e8,ffff80002e86fff0,ffff80002e870040) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e8700c0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6fc626c70210, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000cd0580,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cd0580) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c6310) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd806ee5e7e0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd807e8c0920) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd807e8c0920,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd807e8c0920,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd807664bdb0,ffff80002e88a2e8) at soo_close+0x44 fdrop(fffffd807664bdb0,ffff80002e88a2e8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd807664bdb0,ffff80002e88a2e8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002e88a2e8) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002e88a2e8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002e88a2e8,ffff80002e86fff0,ffff80002e870040) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e8700c0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6fc626c70210, count: -14