uvm_fault(0xfffffd807c78ebb0, 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(ffff800000c3c680) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000c3c680) at in_delmulti+0xb7 sys/netinet/in.c:920 ip_freemoptions(ffff800000c054b0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd806f3b1d10) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:584 udp_detach(fffffd8064865e08) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1263 soclose(fffffd8064865e08,0) at soclose+0x245 sys/kern/uipc_socket.c:361 soo_close(fffffd80751c02e0,ffff8000215ee7e0) at soo_close+0x40 fdrop(fffffd80751c02e0,ffff8000215ee7e0) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd80751c02e0,ffff8000215ee7e0) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000215ee7e0) at fdfree+0xf3 sys/kern/kern_descrip.c:1195 exit1(ffff8000215ee7e0,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:202 sys_exit(ffff8000215ee7e0,ffff80002e7d5ac0,ffff80002e7d5b20) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff80002e7d5b90) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3c20, 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(0xfffffd807c78ebb0, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000c3c680) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000c3c680) at in_delmulti+0xb7 sys/netinet/in.c:920 ip_freemoptions(ffff800000c054b0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd806f3b1d10) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:584 udp_detach(fffffd8064865e08) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1263 soclose(fffffd8064865e08,0) at soclose+0x245 sys/kern/uipc_socket.c:361 soo_close(fffffd80751c02e0,ffff8000215ee7e0) at soo_close+0x40 fdrop(fffffd80751c02e0,ffff8000215ee7e0) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd80751c02e0,ffff8000215ee7e0) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000215ee7e0) at fdfree+0xf3 sys/kern/kern_descrip.c:1195 exit1(ffff8000215ee7e0,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:202 sys_exit(ffff8000215ee7e0,ffff80002e7d5ac0,ffff80002e7d5b20) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff80002e7d5b90) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3c20, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002e7d5740 rbx 0 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0xe1696f7ad5beddfa r11 0x2b4033e5b4db9ee9 r12 0 r13 0x3 r14 0xffff8000006b5000 r15 0xffff800000c3c680 rip 0xffffffff8239d400 igmp_leavegroup+0x80 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002e7d5710 ss 0x10 igmp_leavegroup+0x80: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.2) pid=42159 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=71, nice=20 forw=0xffffffffffffffff, list=0xffff800024ae1a48,0xffff8000215ee2b0 process=0xffff80002162cfc0 user=0xffff80002e7d0000, vmspace=0xfffffd807c78ebb0 estcpu=21, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 9927 279727 4038 0 3 0x80 nanoslp syz-executor.5 9927 12419 4038 0 3 0x4000080 fsleep syz-executor.5 27148 371823 47297 0 3 0x82 piperd syz-executor.1 60585 59871 0 0 3 0x14280 nfsidl nfsio 83984 361554 0 0 3 0x14280 nfsidl nfsio 61456 138250 0 0 3 0x14280 nfsidl nfsio 49205 114357 0 0 3 0x14280 nfsidl nfsio 75301 360642 0 0 3 0x14280 nfsidl nfsio 45220 281349 0 0 3 0x14280 nfsidl nfsio 86644 233695 0 0 3 0x14280 nfsidl nfsio 87783 281655 0 0 3 0x14280 nfsidl nfsio 79552 446143 0 0 3 0x14280 nfsidl nfsio 11112 136506 0 0 3 0x14280 nfsidl nfsio 59903 202094 0 0 3 0x14280 nfsidl nfsio 33326 244706 0 0 3 0x14280 nfsidl nfsio 29211 235252 0 0 3 0x14280 nfsidl nfsio 37735 16663 0 0 3 0x14280 nfsidl nfsio 38276 5825 0 0 3 0x14280 nfsidl nfsio 60150 55182 0 0 3 0x14280 nfsidl nfsio 38146 28789 0 0 3 0x14280 nfsidl nfsio 60110 235918 0 0 3 0x14280 nfsidl nfsio 18080 167634 0 0 3 0x14280 nfsidl nfsio 66566 206488 0 0 3 0x14280 nfsidl nfsio 13034 97565 47297 0 3 0x82 piperd syz-executor.4 68848 207069 47297 0 3 0x82 nanoslp syz-executor.7 21948 282082 47297 0 3 0x82 nanoslp syz-executor.2 44624 120890 0 0 3 0x14200 bored sosplice 78171 91966 47297 0 3 0x82 nanoslp syz-executor.6 4038 435801 47297 0 3 0x82 nanoslp syz-executor.5 964 449946 47297 0 3 0x82 nanoslp syz-executor.3 65035 33711 47297 0 3 0x82 piperd syz-executor.0 47297 514716 32784 0 3 0x82 thrsleep syz-fuzzer 47297 420885 32784 0 3 0x4000082 nanoslp syz-fuzzer 47297 365722 32784 0 3 0x4000082 thrsleep syz-fuzzer 47297 383545 32784 0 3 0x4000082 thrsleep syz-fuzzer 47297 65782 32784 0 3 0x4000082 kqread syz-fuzzer 47297 461359 32784 0 3 0x4000082 thrsleep syz-fuzzer 47297 133743 32784 0 3 0x4000082 thrsleep syz-fuzzer 47297 498286 32784 0 3 0x4000082 thrsleep syz-fuzzer 32784 313630 47151 0 3 0x10008a sigsusp ksh 47151 225460 54169 0 3 0x9a kqread sshd 97221 233422 1 0 3 0x100083 ttyin getty 54169 45077 1 0 3 0x88 kqread sshd 85047 301039 50274 73 3 0x100090 kqread syslogd 50274 245241 1 0 3 0x100082 netio syslogd 62516 83317 1 0 3 0x100080 kqread resolvd 17713 65952 23508 77 3 0x100092 kqread dhcpleased 63942 376562 23508 77 3 0x100092 kqread dhcpleased 23508 498214 1 0 3 0x80 kqread dhcpleased 10987 439872 0 0 3 0x14200 bored smr 21913 216739 0 0 2 0x14200 zerothread 75978 457032 0 0 3 0x14200 aiodoned aiodoned 13772 168999 0 0 3 0x14200 syncer update 27992 176637 0 0 3 0x14200 cleaner cleaner 35862 453522 0 0 3 0x14200 reaper reaper 98165 163160 0 0 3 0x14200 pgdaemon pagedaemon 47687 249817 0 0 3 0x14200 bored viomb 39386 222006 0 0 3 0x40014200 acpi0 acpi0 43866 356413 0 0 3 0x14200 bored softnet 55099 76460 0 0 3 0x14200 bored systqmp 57625 504056 0 0 3 0x14200 bored systq 50691 465887 0 0 3 0x40014200 bored softclock 33878 326954 0 0 3 0x40014200 idle0 1 92215 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 10196 6491K 7197K 78643K 13960 0 pcb 13 16K 18K 78643K 422 0 rtable 213 10K 14K 78643K 1004 0 ifaddr 89 18K 21K 78643K 281 0 sysctl 2 0K 0K 78643K 2 0 counters 27 17K 17K 78643K 42 0 ioctlops 0 0K 4K 78643K 518 0 iov 0 0K 32K 78643K 185 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1340 84K 84K 78643K 2506 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 38 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 263 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 12 41K 81K 78643K 3016 0 sigio 0 0K 0K 78643K 31 0 proc 61 55K 71K 78643K 766 0 subproc 104 6K 6K 78643K 215 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 94 0 in_multi 81 5K 6K 78643K 312 0 ether_multi 1 0K 0K 78643K 34 0 mrt 1 0K 0K 78643K 4 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 175 784K 784K 78643K 175 0 exec 0 0K 2K 78643K 1131 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 312 310K 950K 78643K 37868 0 UVM aobj 38 2K 2K 78643K 38 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 118 0 NDP 12 0K 1K 78643K 64 0 temp 132 4701K 4771K 78643K 35203 0 kqueue 12 18K 27K 78643K 218 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 114 0 111 1 0 1 1 0 8 0 rtentry 112 255 0 168 4 0 4 4 0 8 0 unpcb 136 1233 0 1220 7 6 1 5 0 8 0 syncache 296 9 0 9 3 3 0 1 0 8 0 tcpqe 32 53 0 53 2 2 0 1 0 8 0 tcpcb 736 1375 0 1365 49 42 7 15 0 8 6 arp 88 37 0 22 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 1 0 1 1 1 0 1 0 8 0 inpcb 304 3068 0 3059 38 29 9 11 0 8 8 ip6q 72 2 0 2 1 1 0 1 0 8 0 ip6af 40 4 0 4 1 1 0 1 0 8 0 nd6 48 62 0 42 1 0 1 1 0 8 0 kcovpl 48 16 0 8 1 0 1 1 0 8 0 ppxss 1152 3 0 3 1 1 0 1 0 8 0 pfstscr 40 15 0 13 1 0 1 1 0 8 0 pfosfp 40 6 0 4 1 0 1 1 0 8 0 pfosfpen 112 6 0 4 1 0 1 1 0 8 0 pfrktable 1344 94 0 87 3 2 1 2 0 8 0 pftag 88 12 0 4 1 0 1 1 0 8 0 pfstitem 24 10 0 6 1 0 1 1 0 8 0 pfstkey 112 40 0 36 1 0 1 1 0 8 0 pfstate 320 20 0 18 1 0 1 1 0 8 0 pfrule 1360 64 0 46 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1065 0 671 35 10 25 31 0 8 0 art_table 32 1066 0 671 4 0 4 4 0 8 0 art_node 16 254 0 176 1 0 1 1 0 8 0 sysvmsgpl 40 18 0 8 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 258 0 248 1 0 1 1 0 8 0 shmpl 112 35 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 5567 0 4122 91 0 91 91 0 8 0 ffsino 240 5567 0 4122 86 0 86 86 0 8 0 nchpl 144 9817 0 8200 62 0 62 62 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 33177 0 33177 2 1 1 2 0 8 1 vcpupl 1984 79 0 0 10 0 10 10 0 8 0 vmpool 528 158 0 79 6 0 6 6 0 8 0 pfiaddrpl 120 37 0 28 1 0 1 1 0 8 0 scsiplug 72 3 0 3 1 1 0 1 0 8 0 scxspl 216 27652 0 27652 11 10 1 8 0 8 1 plimitpl 152 277 0 263 1 0 1 1 0 8 0 sigapl 424 3306 0 3249 9 1 8 8 0 8 1 futexpl 64 25646 0 25645 1 0 1 1 0 8 0 knotepl 120 31706 0 31626 5 2 3 4 0 8 0 kqueuepl 184 1738 0 1730 24 23 1 7 0 8 0 pipepl 304 910 0 882 20 13 7 10 0 8 4 fdescpl 432 3272 0 3249 5 1 4 4 0 8 0 filepl 120 21635 0 21395 34 22 12 18 0 8 4 lockfpl 104 526 0 524 1 0 1 1 0 8 0 lockfspl 48 125 0 123 1 0 1 1 0 8 0 sessionpl 144 31 0 15 1 0 1 1 0 8 0 pgrppl 48 34 0 18 1 0 1 1 0 8 0 ucredpl 96 2188 0 2177 1 0 1 1 0 8 0 zombiepl 144 3250 0 3246 1 0 1 1 0 8 0 processpl 1000 3306 0 3246 8 0 8 8 0 8 0 procpl 672 7367 0 7299 10 3 7 8 0 8 0 sosppl 168 15 0 15 2 2 0 1 0 8 0 sockpl 448 4416 0 4391 74 62 12 21 0 8 8 mcl64k 65536 80 0 80 4 3 1 1 0 8 1 mcl16k 16384 29 0 29 4 4 0 1 0 8 0 mcl12k 12288 65 0 65 2 2 0 1 0 8 0 mcl9k 9216 50 0 50 5 4 1 1 0 8 1 mcl8k 8192 197 0 197 2 1 1 1 0 8 1 mcl4k 4096 327 0 327 2 1 1 1 0 8 1 mcl2k2 2112 22 0 22 7 7 0 1 0 8 0 mcl2k 2048 80040 0 79984 19 10 9 12 0 8 0 mtagpl 96 425 0 161 8 1 7 7 0 8 0 mbufpl 256 147461 0 146951 164 130 34 150 0 8 0 bufpl 288 7883 0 1474 458 0 458 458 0 8 0 anonpl 24 826193 0 809107 154 28 126 147 0 188 0 amapchunkpl 152 164090 0 163409 1147 980 167 660 0 158 134 amappl16 200 7207 0 6504 53 15 38 48 0 8 0 amappl15 192 281 0 276 1 0 1 1 0 8 0 amappl14 184 514 0 513 1 0 1 1 0 8 0 amappl13 176 836 0 835 1 0 1 1 0 8 0 amappl12 168 948 0 938 1 0 1 1 0 8 0 amappl11 160 383 0 371 1 0 1 1 0 8 0 amappl10 152 188 0 183 1 0 1 1 0 8 0 amappl9 144 552 0 547 1 0 1 1 0 8 0 amappl8 136 753 0 686 4 1 3 3 0 8 0 amappl7 128 147 0 136 1 0 1 1 0 8 0 amappl6 120 300 0 280 2 1 1 2 0 8 0 amappl5 112 2449 0 2439 1 0 1 1 0 8 0 amappl4 104 1797 0 1758 2 0 2 2 0 8 0 amappl3 96 1400 0 1388 1 0 1 1 0 8 0 amappl2 88 1771 0 1722 3 1 2 3 0 8 0 amappl1 80 59250 0 58748 18 5 13 18 0 8 0 amappl 88 36764 0 36562 7 0 7 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 37 0 0 1 0 1 1 0 8 0 uaddrrnd 24 3430 0 3328 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3430 0 3328 1 0 1 1 0 8 0 vmmpekpl 168 27153 0 27106 3 0 3 3 0 8 0 vmmpepl 168 300056 0 297635 172 44 128 142 0 357 2 vmsppl 272 3429 0 3328 8 0 8 8 0 8 0 rwobjpl 24 73315 0 65740 47 0 47 47 0 8 0 pdppl 4096 6866 0 6735 276 137 139 143 0 8 8 pvpl 32 1481492 0 1461850 294 97 197 259 0 265 3 pmappl 216 3429 0 3328 6 0 6 6 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1283 0 403 29 2 27 29 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000c3c680) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000c3c680) at in_delmulti+0xb7 sys/netinet/in.c:920 ip_freemoptions(ffff800000c054b0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd806f3b1d10) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:584 udp_detach(fffffd8064865e08) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1263 soclose(fffffd8064865e08,0) at soclose+0x245 sys/kern/uipc_socket.c:361 soo_close(fffffd80751c02e0,ffff8000215ee7e0) at soo_close+0x40 fdrop(fffffd80751c02e0,ffff8000215ee7e0) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd80751c02e0,ffff8000215ee7e0) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000215ee7e0) at fdfree+0xf3 sys/kern/kern_descrip.c:1195 exit1(ffff8000215ee7e0,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:202 sys_exit(ffff8000215ee7e0,ffff80002e7d5ac0,ffff80002e7d5b20) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff80002e7d5b90) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3c20, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000c3c680) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000c3c680) at in_delmulti+0xb7 sys/netinet/in.c:920 ip_freemoptions(ffff800000c054b0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd806f3b1d10) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:584 udp_detach(fffffd8064865e08) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1263 soclose(fffffd8064865e08,0) at soclose+0x245 sys/kern/uipc_socket.c:361 soo_close(fffffd80751c02e0,ffff8000215ee7e0) at soo_close+0x40 fdrop(fffffd80751c02e0,ffff8000215ee7e0) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd80751c02e0,ffff8000215ee7e0) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000215ee7e0) at fdfree+0xf3 sys/kern/kern_descrip.c:1195 exit1(ffff8000215ee7e0,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:202 sys_exit(ffff8000215ee7e0,ffff80002e7d5ac0,ffff80002e7d5b20) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff80002e7d5b90) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3c20, count: -14