uvm_fault(0xfffffd8069d80740, 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(ffff800000cf9d80,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cf9d80) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000dd4d90) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd80787b8a80) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd80787b4008) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd80787b4008,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd80787b4008,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80678329e0,ffff8000fffec2e0) at soo_close+0x44 fdrop(fffffd80678329e0,ffff8000fffec2e0) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80678329e0,ffff8000fffec2e0) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000fffec2e0) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000fffec2e0,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000fffec2e0,ffff80002b3f3df0,ffff80002b3f3e40) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002b3f3ec0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6ff0e61542d0, 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(0xfffffd8069d80740, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000cf9d80,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cf9d80) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000dd4d90) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd80787b8a80) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd80787b4008) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd80787b4008,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd80787b4008,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80678329e0,ffff8000fffec2e0) at soo_close+0x44 fdrop(fffffd80678329e0,ffff8000fffec2e0) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80678329e0,ffff8000fffec2e0) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000fffec2e0) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000fffec2e0,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000fffec2e0,ffff80002b3f3df0,ffff80002b3f3e40) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002b3f3ec0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6ff0e61542d0, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002b3f3a80 rbx 0x5 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0x6b58d9770f0a6528 r11 0x553f7d5442fb9c37 r12 0 r13 0x3 r14 0xffff800000cf9d80 r15 0xffff8000006b7000 rip 0xffffffff8213e39f igmp_leavegroup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002b3f3a50 ss 0x10 igmp_leavegroup+0xaf: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.7) pid=233069 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=84, nice=20 forw=0xffffffffffffffff, list=0xffff800027fc9080,0xffffffff82c9d930 process=0xffff80002172c3f0 user=0xffff80002b3ee000, vmspace=0xfffffd8069d80740 estcpu=34, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 36431 326551 91206 0 2 0x482 syz-executor.1 17441 373901 91206 0 3 0x82 nanoslp syz-executor.3 71163 469616 91206 0 2 0x482 syz-executor.2 32626 22031 91206 0 2 0x482 syz-executor.7 85617 260527 91206 0 2 0x2 syz-executor.0 36141 217364 91206 0 2 0x482 syz-executor.5 47649 294015 91206 0 2 0x482 syz-executor.4 87554 272078 91206 0 2 0x2 syz-executor.6 85172 492101 0 0 3 0x14200 acct acct 78461 271928 1 0 3 0x100083 ttyin getty 80705 218208 0 0 3 0x14280 nfsidl nfsio 44664 501223 0 0 3 0x14280 nfsidl nfsio 38575 279599 0 0 3 0x14280 nfsidl nfsio 37848 390454 0 0 3 0x14280 nfsidl nfsio 95579 330749 0 0 3 0x14280 nfsidl nfsio 14879 201127 0 0 3 0x14280 nfsidl nfsio 87290 197079 0 0 3 0x14280 nfsidl nfsio 95814 180141 0 0 3 0x14280 nfsidl nfsio 69342 191270 0 0 3 0x14280 nfsidl nfsio 57664 203455 0 0 3 0x14280 nfsidl nfsio 40121 31278 0 0 3 0x14280 nfsidl nfsio 68886 379151 0 0 3 0x14280 nfsidl nfsio 39332 294117 0 0 3 0x14280 nfsidl nfsio 65185 27223 0 0 3 0x14280 nfsidl nfsio 15988 360814 0 0 3 0x14280 nfsidl nfsio 39756 412654 0 0 3 0x14280 nfsidl nfsio 29001 150578 0 0 3 0x14280 nfsidl nfsio 23014 380908 0 0 3 0x14280 nfsidl nfsio 95048 208331 0 0 3 0x14280 nfsidl nfsio 32875 341044 0 0 3 0x14280 nfsidl nfsio 34841 233728 0 0 3 0x14200 bored sosplice 91206 482285 60002 0 3 0x82 kqread syz-fuzzer 91206 340491 60002 0 2 0x4000482 syz-fuzzer 91206 293099 60002 0 3 0x4000082 thrsleep syz-fuzzer 91206 433459 60002 0 3 0x4000082 wait syz-fuzzer 91206 490547 60002 0 3 0x4000082 wait syz-fuzzer 91206 343760 60002 0 3 0x4000082 wait syz-fuzzer 91206 474811 60002 0 3 0x4000082 wait syz-fuzzer 91206 44579 60002 0 3 0x4000082 wait syz-fuzzer 91206 280768 60002 0 3 0x4000082 thrsleep syz-fuzzer 91206 523746 60002 0 3 0x4000082 thrsleep syz-fuzzer 91206 163217 60002 0 3 0x4000082 thrsleep syz-fuzzer 91206 225471 60002 0 3 0x4000082 wait syz-fuzzer 91206 469795 60002 0 3 0x4000082 wait syz-fuzzer 91206 501154 60002 0 3 0x4000082 wait syz-fuzzer 60002 165222 53830 0 3 0x10008a sigsusp ksh 53830 60151 52589 0 3 0x9a kqread sshd 52589 287371 1 0 3 0x88 kqread sshd 45242 97142 35063 73 3 0x1100090 kqread syslogd 35063 456409 1 0 3 0x100082 netio syslogd 47399 423718 1 0 3 0x100080 kqread resolvd 56264 237808 0 0 3 0x14200 bored smr 40797 519450 0 0 2 0x14200 zerothread 82950 180900 0 0 3 0x14200 aiodoned aiodoned 20493 71294 0 0 3 0x14200 syncer update 7046 46079 0 0 3 0x14200 cleaner cleaner 55308 392121 0 0 3 0x14200 reaper reaper 36979 188967 0 0 3 0x14200 pgdaemon pagedaemon 98822 214827 0 0 3 0x14200 bored viomb 54510 444391 0 0 3 0x40014200 acpi0 acpi0 94928 253584 0 0 3 0x14200 bored softnet3 98175 258788 0 0 3 0x14200 bored softnet2 2926 440931 0 0 3 0x14200 bored softnet1 76146 521141 0 0 3 0x14200 bored softnet0 64846 312372 0 0 3 0x14200 bored systqmp 18770 475514 0 0 3 0x14200 bored systq 33105 354080 0 0 3 0x40014200 bored softclock 82711 316671 0 0 3 0x40014200 idle0 1 245340 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 10192 6417K 6790K 78643K 12790 0 pcb 13 22K 26K 78643K 1148 0 rtable 147 14K 16K 78643K 1780 0 ifaddr 69 20K 24K 78643K 695 0 sysctl 2 0K 0K 78643K 4 0 counters 26 17K 17K 78643K 315 0 ioctlops 0 0K 2K 78643K 1849 0 iov 0 0K 24K 78643K 833 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1351 84K 85K 78643K 4736 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 65 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 1400 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 11 37K 81K 78643K 6186 0 sigio 0 0K 0K 78643K 97 0 proc 57 43K 75K 78643K 1405 0 subproc 104 6K 6K 78643K 416 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 1503 0 in_multi 49 3K 6K 78643K 490 0 ether_multi 1 0K 0K 78643K 32 0 mrt 1 0K 0K 78643K 33 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 205 917K 917K 78643K 205 0 exec 0 0K 1K 78643K 1512 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 8 62K 64K 78643K 10 0 UVM amap 312 88K 99K 78643K 56575 0 UVM aobj 131 4K 4K 78643K 137 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 225 0 NDP 13 0K 1K 78643K 223 0 temp 132 5858K 6886K 78643K 98723 0 kqueue 6 10K 28K 78643K 441 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 840 0 839 14 12 2 4 0 8 1 rtentry 112 548 0 491 4 0 4 4 0 8 0 unpcb 144 4533 0 4525 45 44 1 6 0 8 0 syncache 296 29 0 29 8 8 0 1 0 8 0 tcpqe 32 359 0 359 4 4 0 1 0 8 0 tcpcb 776 1966 0 1962 77 76 1 24 0 8 0 arp 88 92 0 80 1 0 1 1 0 8 0 ipq 40 6 0 5 4 3 1 1 0 8 0 ipqe 40 16 0 15 4 3 1 1 0 8 0 inpcb 336 7915 0 7910 143 134 9 21 0 8 8 nd6 104 101 0 89 1 0 1 1 0 8 0 pkpcb 40 12 0 12 4 3 1 1 0 8 1 kcovpl 48 32 0 24 1 0 1 1 0 8 0 mppekey 1024 106 0 106 3 3 0 1 0 8 0 ppxss 1160 192 0 192 14 13 1 1 0 8 1 pppxif 1360 38 0 38 9 8 1 1 0 8 1 pfstscr 40 31 0 27 1 0 1 1 0 8 0 pfosfp 40 7 0 6 1 0 1 1 0 8 0 pfosfpen 112 7 0 6 1 0 1 1 0 8 0 pfanchor 1288 519 2 7 43 0 43 43 0 8 0 pfstitem 24 22 0 14 1 0 1 1 0 8 0 pfstkey 128 52 0 34 1 0 1 1 0 8 0 pfstate 352 26 0 22 1 0 1 1 0 8 0 rttmr 136 9 0 9 3 3 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2295 0 2071 44 23 21 29 0 8 1 art_table 32 2296 0 2071 4 0 4 4 0 8 0 art_node 16 532 0 482 1 0 1 1 0 8 0 sysvmsgpl 40 37 0 1 1 0 1 1 0 8 0 semapl 112 1398 0 1388 1 0 1 1 0 8 0 shmpl 112 134 0 6 5 1 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 9465 0 7988 93 0 93 93 0 8 0 ffsino 240 9465 0 7988 88 0 88 88 0 8 0 nchpl 144 18954 0 18455 63 41 22 63 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 70540 0 70538 8 6 2 3 0 8 1 kstatmem 264 316 0 290 3 0 3 3 0 8 0 scsiplug 72 9 0 9 2 2 0 1 0 8 0 scxspl 216 57273 0 57273 17 16 1 8 0 8 1 plimitpl 152 946 0 932 1 0 1 1 0 8 0 sigapl 424 6455 0 6393 8 0 8 8 0 8 0 futexpl 64 66834 0 66834 5 4 1 1 0 8 1 knotepl 120 108999 0 108935 49 42 7 12 0 8 3 kqueuepl 184 990 0 984 14 13 1 4 0 8 0 pipepl 288 1477 0 1448 34 31 3 7 0 8 0 fdescpl 432 6417 0 6398 4 0 4 4 0 8 0 filepl 120 49674 0 49453 92 81 11 15 0 8 3 lockfpl 104 1786 0 1785 5 4 1 2 0 8 0 lockfspl 48 495 0 494 1 0 1 1 0 8 0 sessionpl 144 49 0 34 1 0 1 1 0 8 0 pgrppl 48 130 0 115 1 0 1 1 0 8 0 ucredpl 104 4836 0 4829 1 0 1 1 0 8 0 zombiepl 144 6399 0 6393 3 2 1 1 0 8 0 processpl 1008 6455 0 6393 11 2 9 9 0 8 0 procpl 696 15407 0 15332 11 2 9 10 0 8 0 sosppl 168 81 0 81 11 11 0 1 0 8 0 sockpl 456 13307 0 13293 337 327 10 33 0 8 8 mcl64k 65536 253 0 253 13 12 1 1 0 8 1 mcl16k 16384 128 0 128 18 17 1 1 0 8 1 mcl12k 12288 249 0 249 11 10 1 1 0 8 1 mcl9k 9216 88 0 88 16 15 1 1 0 8 1 mcl8k 8192 448 0 448 10 9 1 1 0 8 1 mcl4k 4096 811 0 811 9 8 1 1 0 8 1 mcl2k2 2112 53 0 53 14 13 1 1 0 8 1 mcl2k 2048 88172 0 88122 38 30 8 27 0 8 0 mtagpl 96 31 0 31 3 3 0 1 0 8 0 mbufpl 256 214767 0 214646 531 507 24 108 0 8 8 bufpl 288 13884 0 7499 457 0 457 457 0 8 0 anonpl 24 708674 0 693809 170 70 100 121 0 188 0 amapchunkpl 152 186851 0 186127 90 54 36 47 0 158 1 amappl16 200 13923 0 13437 65 38 27 38 0 8 1 amappl15 192 13 0 13 2 2 0 1 0 8 0 amappl14 184 221 0 210 2 1 1 2 0 8 0 amappl13 176 18 0 18 2 2 0 1 0 8 0 amappl12 168 5935 0 5918 2 0 2 2 0 8 0 amappl11 160 57 0 52 1 0 1 1 0 8 0 amappl10 152 52 0 43 1 0 1 1 0 8 0 amappl9 144 175 0 175 14 13 1 2 0 8 1 amappl8 136 352 0 264 4 0 4 4 0 8 0 amappl7 128 94 0 76 1 0 1 1 0 8 0 amappl6 120 1907 0 1887 2 1 1 2 0 8 0 amappl5 112 351 0 346 1 0 1 1 0 8 0 amappl4 104 1128 0 1095 2 0 2 2 0 8 0 amappl3 96 35048 0 35001 3 0 3 3 0 8 0 amappl2 88 6915 0 6873 4 2 2 3 0 8 0 amappl1 80 32860 0 32460 22 11 11 22 0 8 0 amappl 88 55680 0 55506 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 136 0 6 3 0 3 3 0 8 0 uaddrrnd 24 6417 0 6398 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6417 0 6398 1 0 1 1 0 8 0 vmmpekpl 168 50848 0 50793 3 0 3 3 0 8 0 vmmpepl 168 391402 0 389585 210 99 111 119 0 357 2 vmsppl 368 6416 0 6398 3 0 3 3 0 8 0 rwobjpl 24 97326 0 89940 48 1 47 48 0 8 0 pdppl 4096 12840 0 12796 439 381 58 72 0 8 14 pvpl 32 1873070 0 1853706 418 249 169 320 0 265 0 pmappl 216 6416 0 6398 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1947 0 1171 24 0 24 24 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000cf9d80,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cf9d80) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000dd4d90) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd80787b8a80) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd80787b4008) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd80787b4008,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd80787b4008,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80678329e0,ffff8000fffec2e0) at soo_close+0x44 fdrop(fffffd80678329e0,ffff8000fffec2e0) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80678329e0,ffff8000fffec2e0) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000fffec2e0) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000fffec2e0,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000fffec2e0,ffff80002b3f3df0,ffff80002b3f3e40) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002b3f3ec0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6ff0e61542d0, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000cf9d80,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cf9d80) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000dd4d90) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd80787b8a80) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd80787b4008) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd80787b4008,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd80787b4008,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80678329e0,ffff8000fffec2e0) at soo_close+0x44 fdrop(fffffd80678329e0,ffff8000fffec2e0) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80678329e0,ffff8000fffec2e0) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000fffec2e0) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000fffec2e0,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000fffec2e0,ffff80002b3f3df0,ffff80002b3f3e40) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002b3f3ec0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6ff0e61542d0, count: -14