uvm_fault(0xfffffd807393add8, 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(ffff800000bc0740) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000bc0740) at in_delmulti+0xb7 sys/netinet/in.c:917 ip_freemoptions(ffff800000c1dbc0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd80612ef9e8) at in_pcbdetach+0xfc sys/netinet/in_pcb.c:585 udp_detach(fffffd80617c4aa8) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1251 soclose(fffffd80617c4aa8,0) at soclose+0x245 sys/kern/uipc_socket.c:351 soo_close(fffffd80664d01f8,ffff8000ffff8548) at soo_close+0x40 fdrop(fffffd80664d01f8,ffff8000ffff8548) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd80664d01f8,ffff8000ffff8548) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000ffff8548) at fdfree+0xf3 sys/kern/kern_descrip.c:1195 exit1(ffff8000ffff8548,0,0,3) at exit1+0x35d sys/kern/kern_exit.c:202 single_thread_check_locked(ffff8000ffff8548,0,0) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2017 userret(ffff8000ffff8548) at userret+0x209 single_thread_check sys/kern/kern_sig.c:2037 [inline] userret(ffff8000ffff8548) at userret+0x209 sys/kern/kern_sig.c:1984 syscall(ffff800022f472d0) at syscall+0x50f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800022f472d0) at syscall+0x50f sys/arch/amd64/amd64/trap.c:607 end trace frame: 0xffff800022f47350, count: 0 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(0xfffffd807393add8, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000bc0740) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000bc0740) at in_delmulti+0xb7 sys/netinet/in.c:917 ip_freemoptions(ffff800000c1dbc0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd80612ef9e8) at in_pcbdetach+0xfc sys/netinet/in_pcb.c:585 udp_detach(fffffd80617c4aa8) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1251 soclose(fffffd80617c4aa8,0) at soclose+0x245 sys/kern/uipc_socket.c:351 soo_close(fffffd80664d01f8,ffff8000ffff8548) at soo_close+0x40 fdrop(fffffd80664d01f8,ffff8000ffff8548) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd80664d01f8,ffff8000ffff8548) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000ffff8548) at fdfree+0xf3 sys/kern/kern_descrip.c:1195 exit1(ffff8000ffff8548,0,0,3) at exit1+0x35d sys/kern/kern_exit.c:202 single_thread_check_locked(ffff8000ffff8548,0,0) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2017 userret(ffff8000ffff8548) at userret+0x209 single_thread_check sys/kern/kern_sig.c:2037 [inline] userret(ffff8000ffff8548) at userret+0x209 sys/kern/kern_sig.c:1984 syscall(ffff800022f472d0) at syscall+0x50f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800022f472d0) at syscall+0x50f sys/arch/amd64/amd64/trap.c:607 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffffb630, count: -15 ddb> show registers rdi 0 rsi 0 rbp 0xffff800022f46de0 rbx 0 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0xbe9ca6f3ac1e2c8f r11 0xc5400707123dff04 r12 0 r13 0x3 r14 0xffff8000006b5000 r15 0xffff800000bc0740 rip 0xffffffff81ffb720 igmp_leavegroup+0x80 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800022f46db0 ss 0x10 igmp_leavegroup+0x80: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.2) pid=401805 stat=onproc flags process=1008 proc=82000 pri=32, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff8000215ec7f0,0xffff8000215de2b0 process=0xffff80002167c7f8 user=0xffff800022f42000, vmspace=0xfffffd807393add8 estcpu=32, cpticks=5, pctcpu=0.2 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 63350 101024 14650 0 2 0 syz-executor.7 63350 84345 14650 0 3 0x4000080 fsleep syz-executor.7 77553 396044 86907 0 3 0x80 nanoslp syz-executor.5 77553 437924 86907 0 3 0x4000080 fifor syz-executor.5 77553 211396 86907 0 3 0x4000080 fsleep syz-executor.5 44102 400673 0 0 3 0x14280 nfsidl nfsio 73395 169723 0 0 3 0x14280 nfsidl nfsio 25550 490785 0 0 3 0x14280 nfsidl nfsio 82135 43393 0 0 3 0x14280 nfsidl nfsio 73397 431594 0 0 3 0x14280 nfsidl nfsio 44671 226793 0 0 3 0x14280 nfsidl nfsio 93970 323629 0 0 3 0x14280 nfsidl nfsio 40971 166261 0 0 3 0x14280 nfsidl nfsio 66834 133788 0 0 3 0x14280 nfsidl nfsio 4652 72132 0 0 3 0x14280 nfsidl nfsio 71144 274751 0 0 3 0x14280 nfsidl nfsio 91563 177726 0 0 3 0x14280 nfsidl nfsio 75950 365602 0 0 3 0x14280 nfsidl nfsio 82646 90316 0 0 3 0x14280 nfsidl nfsio 91726 476768 26427 0 3 0x82 piperd syz-executor.6 57793 61905 26427 0 2 0x2 syz-executor.1 14650 488724 26427 0 3 0x82 nanoslp syz-executor.7 29767 144386 26427 0 2 0x482 syz-executor.3 60201 95865 26427 0 3 0x82 nanoslp syz-executor.2 10591 378502 26427 0 3 0x82 piperd syz-executor.0 94578 308328 26427 0 2 0x482 syz-executor.4 86907 282065 26427 0 2 0x482 syz-executor.5 46247 511749 1 0 3 0x100083 ttyopn getty 7010 229388 0 0 3 0x14280 nfsidl nfsio 45436 243289 0 0 3 0x14280 nfsidl nfsio 65747 120609 0 0 3 0x14280 nfsidl nfsio 91476 45431 0 0 3 0x14280 nfsidl nfsio 53727 25276 0 0 3 0x14280 nfsidl nfsio 63635 425025 0 0 3 0x14280 nfsidl nfsio 21051 372113 0 0 3 0x14200 bored sosplice 26427 456599 91788 0 3 0x82 thrsleep syz-fuzzer 26427 244096 91788 0 3 0x4000082 nanoslp syz-fuzzer 26427 10567 91788 0 3 0x4000082 thrsleep syz-fuzzer 26427 432672 91788 0 3 0x4000082 thrsleep syz-fuzzer 26427 465880 91788 0 3 0x4000082 thrsleep syz-fuzzer 26427 256137 91788 0 3 0x4000082 thrsleep syz-fuzzer 26427 81615 91788 0 3 0x4000082 kqread syz-fuzzer 26427 314857 91788 0 3 0x4000082 thrsleep syz-fuzzer 91788 477228 33278 0 3 0x10008a sigsusp ksh 33278 466140 95974 0 3 0x9a kqread sshd 95974 284562 1 0 3 0x88 kqread sshd 94559 89023 53778 73 3 0x1100090 kqread syslogd 53778 291125 1 0 3 0x100082 netio syslogd 65060 139143 1 0 3 0x100080 kqread resolvd 3113 424302 72192 77 3 0x100092 kqread dhcpleased 67600 286231 72192 77 3 0x100092 kqread dhcpleased 72192 113460 1 0 3 0x80 kqread dhcpleased 31809 111548 0 0 3 0x14200 bored smr 55945 390064 0 0 2 0x14200 zerothread 92811 487924 0 0 3 0x14200 aiodoned aiodoned 66104 375696 0 0 3 0x14200 syncer update 60191 520287 0 0 3 0x14200 cleaner cleaner 99700 496884 0 0 3 0x14200 reaper reaper 17455 166012 0 0 3 0x14200 pgdaemon pagedaemon 80100 500856 0 0 3 0x14200 bored viomb 47910 24375 0 0 3 0x40014200 acpi0 acpi0 15065 448095 0 0 3 0x14200 bored softnet 1656 206299 0 0 3 0x14200 bored systqmp 70212 331336 0 0 3 0x14200 bored systq 17995 389438 0 0 2 0x40014200 softclock 89339 80793 0 0 3 0x40014200 idle0 1 20990 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 10202 6423K 7377K 78643K 33164 0 pcb 13 22K 24K 78643K 1311 0 rtable 258 15K 16K 78643K 3227 0 ifaddr 97 22K 23K 78643K 2258 0 sysctl 2 0K 0K 78643K 2 0 counters 28 17K 17K 78643K 188 0 ioctlops 0 0K 4K 78643K 11118 0 iov 0 0K 32K 78643K 1586 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1463 91K 92K 78643K 9777 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 132 0 VM map 2 0K 0K 78643K 2 0 sem 27 3K 4K 78643K 96 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 13 45K 81K 78643K 16019 0 sigio 0 0K 0K 78643K 322 0 proc 61 55K 87K 78643K 1715 0 subproc 104 6K 6K 78643K 494 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 1K 78643K 19619 0 in_multi 97 6K 7K 78643K 4786 0 ether_multi 1 0K 0K 78643K 124 0 mrt 1 0K 0K 78643K 36 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 235 1049K 1049K 78643K 235 0 exec 0 0K 2K 78643K 3002 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 444 605K 1087K 78643K 196476 0 UVM aobj 131 9K 9K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 2 0K 0K 78643K 1653 0 NDP 14 0K 1K 78643K 258 0 temp 155 4743K 70279K 78643K 95482 0 kqueue 13 20K 26K 78643K 1867 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 678 0 675 7 6 1 3 0 8 0 rtentry 112 776 0 670 4 0 4 4 0 8 0 unpcb 136 7495 0 7480 86 84 2 8 0 8 1 syncache 296 39 0 39 12 12 0 1 0 8 0 tcpqe 32 42 21 42 1 1 0 1 0 8 0 tcpcb 736 7765 0 7743 193 180 13 20 0 8 11 arp 88 100 0 80 1 0 1 1 0 8 0 ipq 40 18 0 18 6 6 0 1 0 8 0 ipqe 40 90 0 90 6 6 0 1 0 8 0 inpcb 312 36457 0 36441 263 253 10 22 0 8 8 rttmr 72 6 0 6 3 3 0 1 0 8 0 ip6q 72 8 0 8 3 3 0 1 0 8 0 ip6af 40 20 0 20 3 3 0 1 0 8 0 nd6 48 134 0 110 1 0 1 1 0 8 0 pkpcb 40 107 0 107 7 7 0 1 0 8 0 kcovpl 48 38 0 30 1 0 1 1 0 8 0 ppxss 1152 65 0 65 12 12 0 1 0 8 0 pfstscr 40 151 0 151 3 3 0 1 0 8 0 pfosfp 40 6 0 5 2 1 1 1 0 8 0 pfosfpen 112 6 0 4 2 1 1 1 0 8 0 pfrktable 1344 359 0 351 6 5 1 2 0 8 0 pftag 88 28 0 15 1 0 1 1 0 8 0 pfqueue 264 3 0 3 3 3 0 1 0 8 0 pfstitem 24 12 0 12 3 3 0 1 0 8 0 pfstkey 112 218 0 218 3 3 0 1 0 8 0 pfstate 320 109 0 109 3 3 0 1 0 8 0 pfrule 1360 3291 0 3010 25 1 24 24 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 3089 0 2652 51 21 30 33 0 8 0 art_table 32 3090 0 2652 6 2 4 5 0 8 0 art_node 16 765 0 672 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 0 1 0 1 1 0 8 0 semapl 112 90 0 65 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 20881 0 19407 93 0 93 93 0 8 0 ffsino 240 20881 0 19407 87 0 87 87 0 8 0 nchpl 144 43569 0 41956 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 149251 0 149250 9 8 1 2 0 8 0 vcpupl 1984 76 0 1 10 0 10 10 0 8 0 vmpool 528 130 0 55 5 0 5 5 0 8 0 pfiaddrpl 120 57 0 45 2 1 1 1 0 8 0 scxspl 216 119653 0 119653 20 19 1 8 0 8 1 plimitpl 152 1099 0 1085 1 0 1 1 0 8 0 sigapl 424 16261 0 16201 9 1 8 8 0 8 0 futexpl 64 185980 0 185978 3 2 1 1 0 8 0 knotepl 120 409117 0 408904 82 67 15 19 0 8 5 kqueuepl 184 4865 0 4856 54 53 1 7 0 8 0 pipepl 304 2640 0 2612 84 81 3 8 0 8 0 fdescpl 432 16227 0 16203 4 0 4 4 0 8 0 filepl 120 125023 0 124782 161 148 13 19 0 8 2 lockfpl 104 3815 0 3813 10 9 1 2 0 8 0 lockfspl 48 1040 0 1038 1 0 1 1 0 8 0 sessionpl 144 55 0 39 1 0 1 1 0 8 0 pgrppl 48 255 0 239 1 0 1 1 0 8 0 ucredpl 96 12529 0 12519 1 0 1 1 0 8 0 zombiepl 144 16204 0 16201 6 5 1 1 0 8 0 processpl 1000 16261 0 16201 8 0 8 8 0 8 0 procpl 672 40774 0 40704 41 33 8 8 0 8 1 sosppl 168 93 0 93 17 17 0 1 0 8 0 sockpl 448 44868 0 44834 647 635 12 34 0 8 7 mcl64k 65536 503 0 503 26 25 1 1 0 8 1 mcl16k 16384 160 0 160 24 24 0 1 0 8 0 mcl12k 12288 479 0 479 31 30 1 1 0 8 1 mcl9k 9216 230 0 230 40 39 1 1 0 8 1 mcl8k 8192 1233 0 1233 28 27 1 1 0 8 1 mcl4k 4096 1708 0 1708 17 16 1 1 0 8 1 mcl2k2 2112 150 0 150 36 35 1 1 0 8 1 mcl2k 2048 104224 0 104176 55 48 7 26 0 8 0 mtagpl 96 2051 0 2051 17 17 0 10 0 8 0 mbufpl 256 301443 0 301245 537 515 22 416 0 8 4 bufpl 288 26726 0 20319 458 0 458 458 0 8 0 anonpl 24 4624172 0 4604064 351 218 133 165 0 188 2 amapchunkpl 152 523030 0 522227 968 931 37 658 0 158 1 amappl16 200 55834 0 55153 105 64 41 59 0 8 0 amappl15 192 4284 0 4277 1 0 1 1 0 8 0 amappl14 184 2035 0 2033 1 0 1 1 0 8 0 amappl13 176 1005 0 1002 1 0 1 1 0 8 0 amappl12 168 594 0 594 2 2 0 1 0 8 0 amappl11 160 2714 0 2700 1 0 1 1 0 8 0 amappl10 152 3970 0 3960 1 0 1 1 0 8 0 amappl9 144 1085 0 1083 1 0 1 1 0 8 0 amappl8 136 4072 0 3968 4 0 4 4 0 8 0 amappl7 128 2803 0 2793 1 0 1 1 0 8 0 amappl6 120 923 0 901 2 1 1 2 0 8 0 amappl5 112 16381 0 16363 1 0 1 1 0 8 0 amappl4 104 7031 0 7000 2 0 2 2 0 8 0 amappl3 96 2305 0 2288 1 0 1 1 0 8 0 amappl2 88 3018 0 2967 3 1 2 3 0 8 0 amappl1 80 287253 0 286739 18 5 13 18 0 8 0 amappl 88 195178 0 194927 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 16357 0 16258 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 16357 0 16258 1 0 1 1 0 8 0 vmmpekpl 168 109844 0 109778 4 0 4 4 0 8 0 vmmpepl 168 1460530 0 1458031 319 189 130 153 0 357 0 vmsppl 272 16356 0 16258 10 3 7 7 0 8 0 rwobjpl 24 356632 0 348913 49 0 49 49 0 8 0 pdppl 4096 32720 0 32591 687 548 139 139 0 8 10 pvpl 32 7702051 0 7678684 538 328 210 259 0 265 4 pmappl 216 16356 0 16258 7 1 6 6 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 3217 0 2306 39 11 28 38 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000bc0740) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000bc0740) at in_delmulti+0xb7 sys/netinet/in.c:917 ip_freemoptions(ffff800000c1dbc0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd80612ef9e8) at in_pcbdetach+0xfc sys/netinet/in_pcb.c:585 udp_detach(fffffd80617c4aa8) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1251 soclose(fffffd80617c4aa8,0) at soclose+0x245 sys/kern/uipc_socket.c:351 soo_close(fffffd80664d01f8,ffff8000ffff8548) at soo_close+0x40 fdrop(fffffd80664d01f8,ffff8000ffff8548) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd80664d01f8,ffff8000ffff8548) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000ffff8548) at fdfree+0xf3 sys/kern/kern_descrip.c:1195 exit1(ffff8000ffff8548,0,0,3) at exit1+0x35d sys/kern/kern_exit.c:202 single_thread_check_locked(ffff8000ffff8548,0,0) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2017 userret(ffff8000ffff8548) at userret+0x209 single_thread_check sys/kern/kern_sig.c:2037 [inline] userret(ffff8000ffff8548) at userret+0x209 sys/kern/kern_sig.c:1984 syscall(ffff800022f472d0) at syscall+0x50f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800022f472d0) at syscall+0x50f sys/arch/amd64/amd64/trap.c:607 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffffb630, count: -15 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000bc0740) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000bc0740) at in_delmulti+0xb7 sys/netinet/in.c:917 ip_freemoptions(ffff800000c1dbc0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd80612ef9e8) at in_pcbdetach+0xfc sys/netinet/in_pcb.c:585 udp_detach(fffffd80617c4aa8) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1251 soclose(fffffd80617c4aa8,0) at soclose+0x245 sys/kern/uipc_socket.c:351 soo_close(fffffd80664d01f8,ffff8000ffff8548) at soo_close+0x40 fdrop(fffffd80664d01f8,ffff8000ffff8548) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd80664d01f8,ffff8000ffff8548) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff8000ffff8548) at fdfree+0xf3 sys/kern/kern_descrip.c:1195 exit1(ffff8000ffff8548,0,0,3) at exit1+0x35d sys/kern/kern_exit.c:202 single_thread_check_locked(ffff8000ffff8548,0,0) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2017 userret(ffff8000ffff8548) at userret+0x209 single_thread_check sys/kern/kern_sig.c:2037 [inline] userret(ffff8000ffff8548) at userret+0x209 sys/kern/kern_sig.c:1984 syscall(ffff800022f472d0) at syscall+0x50f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800022f472d0) at syscall+0x50f sys/arch/amd64/amd64/trap.c:607 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffffb630, count: -15