uvm_fault(0xfffffd807a69a550, 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 *485879 58430 0 0 0x4000000 0 syz-executor.0 igmp_leavegroup(ffff800000c6c1c0) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000c6c1c0) at in_delmulti+0xb7 sys/netinet/in.c:920 ip_freemoptions(ffff800000c7ee00) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd806824e980) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:584 udp_detach(fffffd8068465550) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1263 soclose(fffffd8068465550,0) at soclose+0x245 sys/kern/uipc_socket.c:361 soo_close(fffffd806fa66b40,ffff80002160c7e0) at soo_close+0x40 fdrop(fffffd806fa66b40,ffff80002160c7e0) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd806fa66b40,ffff80002160c7e0) at closef+0x117 sys/kern/kern_descrip.c:1263 finishdup(ffff80002160c7e0,fffffd806fa668e8,3,4,ffff80002ea48fa0,2) at finishdup+0x313 sys/kern/kern_descrip.c:691 syscall(ffff80002ea49010) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcbd1788f290, count: 3 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(0xfffffd807a69a550, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000c6c1c0) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000c6c1c0) at in_delmulti+0xb7 sys/netinet/in.c:920 ip_freemoptions(ffff800000c7ee00) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd806824e980) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:584 udp_detach(fffffd8068465550) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1263 soclose(fffffd8068465550,0) at soclose+0x245 sys/kern/uipc_socket.c:361 soo_close(fffffd806fa66b40,ffff80002160c7e0) at soo_close+0x40 fdrop(fffffd806fa66b40,ffff80002160c7e0) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd806fa66b40,ffff80002160c7e0) at closef+0x117 sys/kern/kern_descrip.c:1263 finishdup(ffff80002160c7e0,fffffd806fa668e8,3,4,ffff80002ea48fa0,2) at finishdup+0x313 sys/kern/kern_descrip.c:691 syscall(ffff80002ea49010) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcbd1788f290, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002ea48c00 rbx 0 rdx 0 rcx 0x1 rax 0 r8 0xffff80002ea48fa0 r9 0x2 r10 0 r11 0x2983f4fe8921aad1 r12 0 r13 0x3 r14 0xffff8000006b5000 r15 0xffff800000c6c1c0 rip 0xffffffff81e9b5c0 igmp_leavegroup+0x80 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002ea48bd0 ss 0x10 igmp_leavegroup+0x80: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.0) pid=485879 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=83, nice=20 forw=0xffffffffffffffff, list=0xffff80002160fcf0,0xffff80002160dcf0 process=0xffff800021620018 user=0xffff80002ea44000, vmspace=0xfffffd807a69a550 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 26581 361930 12207 0 2 0 syz-executor.5 26581 290536 12207 0 3 0x4000080 fsleep syz-executor.5 22812 346578 63919 0 2 0 syz-executor.1 22812 415549 63919 0 3 0x4000080 fsleep syz-executor.1 22812 184246 63919 0 3 0x4000080 fsleep syz-executor.1 58430 339773 81143 0 2 0 syz-executor.0 *58430 485879 81143 0 7 0x4000000 syz-executor.0 58430 2096 81143 0 3 0x4000080 fsleep syz-executor.0 46402 289076 89163 0 2 0 syz-executor.4 46402 332215 89163 0 3 0x4000080 fsleep syz-executor.4 90354 393756 64402 0 2 0 syz-executor.2 90354 469815 64402 0 3 0x4000080 fsleep syz-executor.2 90354 414048 64402 0 3 0x4000080 fsleep syz-executor.2 7293 307825 13715 0 2 0 syz-executor.6 7293 214497 13715 0 2 0x4000000 syz-executor.6 10142 382899 27940 0 2 0x482 syz-executor.7 13715 253371 27940 0 2 0x482 syz-executor.6 89163 467668 27940 0 2 0x482 syz-executor.4 83279 418366 1 0 3 0x100083 ttyin getty 12207 487585 27940 0 2 0x482 syz-executor.5 1998 392679 27940 0 2 0x482 syz-executor.3 64402 323054 27940 0 2 0x482 syz-executor.2 79692 52846 0 0 3 0x14200 acct acct 63919 385275 27940 0 2 0x482 syz-executor.1 81143 195741 27940 0 2 0x482 syz-executor.0 37512 142242 0 0 3 0x14200 bored sosplice 44876 104945 0 0 3 0x14280 nfsidl nfsio 36572 302048 0 0 3 0x14280 nfsidl nfsio 28953 394021 0 0 3 0x14280 nfsidl nfsio 7096 190112 0 0 3 0x14280 nfsidl nfsio 82333 355160 0 0 3 0x14280 nfsidl nfsio 76541 52805 0 0 3 0x14280 nfsidl nfsio 21717 188325 0 0 3 0x14280 nfsidl nfsio 33168 14036 0 0 3 0x14280 nfsidl nfsio 72652 486088 0 0 3 0x14280 nfsidl nfsio 67842 328636 0 0 3 0x14280 nfsidl nfsio 56881 109809 0 0 3 0x14280 nfsidl nfsio 96165 128063 0 0 3 0x14280 nfsidl nfsio 9798 453960 0 0 3 0x14280 nfsidl nfsio 71211 477861 0 0 3 0x14280 nfsidl nfsio 19661 180028 0 0 3 0x14280 nfsidl nfsio 66790 442485 0 0 3 0x14280 nfsidl nfsio 19676 254652 0 0 3 0x14280 nfsidl nfsio 53298 482290 0 0 3 0x14280 nfsidl nfsio 29757 178191 0 0 3 0x14280 nfsidl nfsio 64905 415433 0 0 3 0x14280 nfsidl nfsio 27940 3536 58492 0 3 0x82 kqread syz-fuzzer 27940 29175 58492 0 3 0x4000082 thrsleep syz-fuzzer 27940 187755 58492 0 3 0x4000082 thrsleep syz-fuzzer 27940 201485 58492 0 3 0x4000082 thrsleep syz-fuzzer 27940 412687 58492 0 3 0x4000082 thrsleep syz-fuzzer 27940 26917 58492 0 3 0x4000082 thrsleep syz-fuzzer 27940 25274 58492 0 3 0x4000082 thrsleep syz-fuzzer 27940 121261 58492 0 3 0x4000082 thrsleep syz-fuzzer 27940 239281 58492 0 3 0x4000082 thrsleep syz-fuzzer 58492 348509 69634 0 3 0x10008a sigsusp ksh 69634 390506 21270 0 3 0x9a poll sshd 21270 312880 1 0 3 0x88 poll sshd 9816 181026 44866 73 3 0x100090 kqread syslogd 44866 514534 1 0 3 0x100082 netio syslogd 53072 266071 1 0 3 0x100080 kqread resolvd 92956 505132 87571 77 3 0x100092 kqread dhcpleased 62629 96590 87571 77 3 0x100092 kqread dhcpleased 87571 214808 1 0 3 0x80 kqread dhcpleased 86482 512811 0 0 3 0x14200 bored smr 91419 38064 0 0 2 0x14200 zerothread 20349 369741 0 0 3 0x14200 aiodoned aiodoned 22147 444478 0 0 3 0x14200 syncer update 91330 137066 0 0 3 0x14200 cleaner cleaner 56454 11755 0 0 3 0x14200 reaper reaper 55919 511278 0 0 3 0x14200 pgdaemon pagedaemon 92011 363142 0 0 3 0x14200 bored viomb 2082 327759 0 0 3 0x40014200 acpi0 acpi0 17327 475999 0 0 3 0x14200 bored softnet 98268 216814 0 0 3 0x14200 bored systqmp 53247 89852 0 0 3 0x14200 bored systq 47464 436288 0 0 3 0x40014200 bored softclock 64348 26176 0 0 3 0x40014200 idle0 1 215629 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 6427K 8000K 78643K 29484 0 pcb 14 24K 28K 78643K 2631 0 rtable 221 9K 10K 78643K 4593 0 ifaddr 87 21K 22K 78643K 1371 0 sysctl 2 0K 0K 78643K 7 0 counters 27 17K 17K 78643K 245 0 ioctlops 0 0K 4K 78643K 13698 0 iov 0 0K 36K 78643K 4456 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1499 94K 94K 78643K 10826 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 13K 78643K 648 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 2294 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 16 57K 85K 78643K 27879 0 sigio 0 0K 0K 78643K 442 0 proc 69 55K 72K 78643K 4164 0 subproc 104 13K 13K 78643K 1386 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 1K 78643K 26789 0 in_multi 89 6K 6K 78643K 4239 0 ether_multi 1 0K 0K 78643K 214 0 mrt 1 0K 0K 78643K 81 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 241 1076K 1076K 78643K 241 0 exec 0 0K 2K 78643K 4966 0 pfkey data 0 0K 0K 78643K 6 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 522 697K 1337K 78643K 332264 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 919 0 NDP 12 0K 2K 78643K 467 0 temp 132 4697K 4953K 78643K 191371 0 kqueue 10 14K 24K 78643K 637 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 1069 0 1066 15 14 1 5 0 8 0 rtentry 112 1411 0 1317 8 5 3 4 0 8 0 unpcb 136 15053 0 15037 152 149 3 9 0 8 2 syncache 296 82 0 82 22 21 1 1 0 8 1 tcpqe 32 177 0 177 10 9 1 2 0 8 1 tcpcb 736 4010 0 4004 150 148 2 10 0 8 0 arp 88 221 0 203 1 0 1 1 0 8 0 ipq 40 39 0 39 12 12 0 1 0 8 0 ipqe 40 1352 0 1352 12 12 0 1 0 8 0 inpcb 304 37899 0 37883 361 354 7 26 0 8 5 rttmr 72 23 0 23 8 8 0 1 0 8 0 ip6q 72 4 0 4 2 2 0 1 0 8 0 ip6af 40 7 0 7 2 2 0 1 0 8 0 nd6 48 408 0 388 1 0 1 1 0 8 0 pkpcb 40 196 0 196 15 15 0 1 0 8 0 kcovpl 48 106 0 98 1 0 1 1 0 8 0 ppxss 1152 42 0 42 11 11 0 1 0 8 0 pfstscr 40 6 0 5 2 1 1 1 0 8 0 pfrktable 1344 28 0 24 3 2 1 1 0 8 0 pftag 88 10 0 10 2 2 0 1 0 8 0 pfqueue 264 1 0 1 1 1 0 1 0 8 0 pfstitem 24 10 0 8 1 0 1 1 0 8 0 pfstkey 112 12 0 10 2 1 1 1 0 8 0 pfstate 320 6 0 5 2 1 1 1 0 8 0 pfrule 1360 28 0 16 3 1 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 5757 0 5358 62 36 26 33 0 8 0 art_table 32 5758 0 5358 7 3 4 5 0 8 0 art_node 16 1404 0 1321 1 0 1 1 0 8 0 sysvmsgpl 40 21 0 8 1 0 1 1 0 8 0 semupl 112 8 0 8 2 2 0 1 0 8 0 semapl 112 2292 0 2282 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 36728 0 35196 97 0 97 97 0 8 0 ffsino 240 36728 0 35196 91 0 91 91 0 8 0 nchpl 144 74139 0 72520 62 0 62 62 0 8 0 uvmvnodes 80 6242 0 0 128 0 128 128 0 8 0 vnodes 224 6242 0 0 368 0 368 368 0 8 0 namei 1024 257015 0 257015 7 6 1 2 0 8 1 vcpupl 1984 56 0 0 7 0 7 7 0 8 0 vmpool 528 122 0 66 5 1 4 4 0 8 0 pfiaddrpl 120 15 0 5 2 1 1 1 0 8 0 scsiplug 72 32 0 32 9 9 0 1 0 8 0 scxspl 216 241230 0 241230 40 38 2 8 0 8 2 plimitpl 152 1391 0 1377 1 0 1 1 0 8 0 sigapl 424 27987 0 27925 9 1 8 8 0 8 0 futexpl 64 248355 0 248348 6 5 1 1 0 8 0 knotepl 112 7702 0 7628 3 0 3 3 0 8 0 kqueuepl 184 3465 0 3451 65 61 4 4 0 8 3 pipepl 304 4793 0 4765 130 127 3 12 0 8 0 fdescpl 432 27950 0 27923 4 0 4 4 0 8 0 filepl 120 183363 0 183118 251 237 14 20 0 8 5 lockfpl 104 11948 0 11945 22 21 1 2 0 8 0 lockfspl 48 2790 0 2787 1 0 1 1 0 8 0 sessionpl 144 124 0 108 1 0 1 1 0 8 0 pgrppl 48 255 0 239 1 0 1 1 0 8 0 ucredpl 96 17339 0 17327 1 0 1 1 0 8 0 zombiepl 144 27925 0 27923 2 1 1 1 0 8 0 processpl 1000 27987 0 27923 13 4 9 9 0 8 0 procpl 672 66688 0 66607 57 49 8 9 0 8 0 sosppl 168 138 0 138 19 19 0 1 0 8 0 sockpl 448 54298 0 54262 849 836 13 48 0 8 8 mcl64k 65536 843 0 843 50 49 1 1 0 8 1 mcl16k 16384 167 0 167 42 42 0 1 0 8 0 mcl12k 12288 701 0 701 57 56 1 1 0 8 1 mcl9k 9216 239 0 239 55 54 1 1 0 8 1 mcl8k 8192 1032 0 1032 50 49 1 1 0 8 1 mcl4k 4096 2127 0 2127 39 38 1 1 0 8 1 mcl2k2 2112 217 0 217 58 58 0 1 0 8 0 mcl2k 2048 121827 0 121709 92 75 17 26 0 8 1 mtagpl 96 2311 0 2137 18 11 7 9 0 8 0 mbufpl 256 418820 0 418221 433 379 54 247 0 8 6 bufpl 288 59561 0 53242 458 0 458 458 0 8 0 anonpl 24 7402284 0 7373460 424 246 178 196 0 188 2 amapchunkpl 152 863981 0 863103 833 797 36 664 0 158 0 amappl16 200 69712 0 68518 226 158 68 77 0 8 0 amappl15 192 6013 0 6009 1 0 1 1 0 8 0 amappl14 184 5599 0 5594 1 0 1 1 0 8 0 amappl13 176 3119 0 3118 1 0 1 1 0 8 0 amappl12 168 5163 0 5149 1 0 1 1 0 8 0 amappl11 160 1497 0 1485 1 0 1 1 0 8 0 amappl10 152 3174 0 3170 1 0 1 1 0 8 0 amappl9 144 3581 0 3575 1 0 1 1 0 8 0 amappl8 136 5344 0 5198 7 1 6 6 0 8 0 amappl7 128 2817 0 2807 1 0 1 1 0 8 0 amappl6 120 3591 0 3560 5 4 1 2 0 8 0 amappl5 112 23647 0 23631 1 0 1 1 0 8 0 amappl4 104 7765 0 7726 2 0 2 2 0 8 0 amappl3 96 7396 0 7378 1 0 1 1 0 8 0 amappl2 88 7982 0 7912 3 1 2 3 0 8 0 amappl1 80 481334 0 480768 19 6 13 18 0 8 0 amappl 88 329971 0 329680 8 0 8 8 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 28072 0 27989 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 28072 0 27989 1 0 1 1 0 8 0 vmmpekpl 168 174391 0 174321 4 0 4 4 0 8 0 vmmpepl 168 2507448 0 2504146 465 299 166 177 0 357 11 vmsppl 272 28071 0 27989 7 1 6 6 0 8 0 rwobjpl 24 564206 0 555677 64 11 53 53 0 8 0 pdppl 4096 56150 0 56034 1444 1324 120 122 0 8 4 pvpl 32 12617981 0 12592804 649 436 213 257 0 265 6 pmappl 216 28071 0 27989 6 1 5 5 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 3881 0 2986 32 5 27 31 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000c6c1c0) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000c6c1c0) at in_delmulti+0xb7 sys/netinet/in.c:920 ip_freemoptions(ffff800000c7ee00) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd806824e980) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:584 udp_detach(fffffd8068465550) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1263 soclose(fffffd8068465550,0) at soclose+0x245 sys/kern/uipc_socket.c:361 soo_close(fffffd806fa66b40,ffff80002160c7e0) at soo_close+0x40 fdrop(fffffd806fa66b40,ffff80002160c7e0) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd806fa66b40,ffff80002160c7e0) at closef+0x117 sys/kern/kern_descrip.c:1263 finishdup(ffff80002160c7e0,fffffd806fa668e8,3,4,ffff80002ea48fa0,2) at finishdup+0x313 sys/kern/kern_descrip.c:691 syscall(ffff80002ea49010) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcbd1788f290, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000c6c1c0) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000c6c1c0) at in_delmulti+0xb7 sys/netinet/in.c:920 ip_freemoptions(ffff800000c7ee00) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd806824e980) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:584 udp_detach(fffffd8068465550) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1263 soclose(fffffd8068465550,0) at soclose+0x245 sys/kern/uipc_socket.c:361 soo_close(fffffd806fa66b40,ffff80002160c7e0) at soo_close+0x40 fdrop(fffffd806fa66b40,ffff80002160c7e0) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd806fa66b40,ffff80002160c7e0) at closef+0x117 sys/kern/kern_descrip.c:1263 finishdup(ffff80002160c7e0,fffffd806fa668e8,3,4,ffff80002ea48fa0,2) at finishdup+0x313 sys/kern/kern_descrip.c:691 syscall(ffff80002ea49010) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcbd1788f290, count: -12