uvm_fault(0xfffffd80749de770, 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(ffff800000d355c0) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000d355c0) at in_delmulti+0xb7 sys/netinet/in.c:917 ip_freemoptions(ffff8000006c36d0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd806f3bcab0) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:580 udp_detach(fffffd806f1ca008) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1249 soclose(fffffd806f1ca008,0) at soclose+0x245 sys/kern/uipc_socket.c:351 soo_close(fffffd8067eae5a0,ffff80002167cfc8) at soo_close+0x40 fdrop(fffffd8067eae5a0,ffff80002167cfc8) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd8067eae5a0,ffff80002167cfc8) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff80002167cfc8) at fdfree+0xf3 sys/kern/kern_descrip.c:1195 exit1(ffff80002167cfc8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:202 sys_exit(ffff80002167cfc8,ffff80002af83a00,ffff80002af83a60) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff80002af83ad0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3f80, 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(0xfffffd80749de770, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000d355c0) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000d355c0) at in_delmulti+0xb7 sys/netinet/in.c:917 ip_freemoptions(ffff8000006c36d0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd806f3bcab0) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:580 udp_detach(fffffd806f1ca008) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1249 soclose(fffffd806f1ca008,0) at soclose+0x245 sys/kern/uipc_socket.c:351 soo_close(fffffd8067eae5a0,ffff80002167cfc8) at soo_close+0x40 fdrop(fffffd8067eae5a0,ffff80002167cfc8) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd8067eae5a0,ffff80002167cfc8) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff80002167cfc8) at fdfree+0xf3 sys/kern/kern_descrip.c:1195 exit1(ffff80002167cfc8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:202 sys_exit(ffff80002167cfc8,ffff80002af83a00,ffff80002af83a60) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff80002af83ad0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3f80, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002af83680 rbx 0 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0x644cfdba2fa175ed r11 0xe802927d0cd2c275 r12 0 r13 0x3 r14 0xffff8000006b5000 r15 0xffff800000d355c0 rip 0xffffffff81365350 igmp_leavegroup+0x80 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002af83650 ss 0x10 igmp_leavegroup+0x80: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.7) pid=19505 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=69, nice=20 forw=0xffffffffffffffff, list=0xffff80002160fcf0,0xffff80002167c2b8 process=0xffff80002169db80 user=0xffff80002af7e000, vmspace=0xfffffd80749de770 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 10025 484485 84272 0 2 0 syz-executor.6 10025 490880 84272 0 3 0x4000080 fsleep syz-executor.6 95748 144541 19600 0 2 0 syz-executor.0 95748 283696 19600 0 3 0x4000080 fsleep syz-executor.0 33879 440356 73887 0 2 0 syz-executor.4 73887 288000 98835 0 3 0x82 nanoslp syz-executor.4 84272 236152 98835 0 2 0x482 syz-executor.6 26998 94832 98835 0 2 0x2 syz-executor.2 19600 154890 98835 0 3 0x82 nanoslp syz-executor.0 77971 466614 98835 0 3 0x82 nanoslp syz-executor.3 72907 347522 98835 0 2 0x482 syz-executor.1 5959 193881 98835 0 2 0x482 syz-executor.7 50367 234971 0 0 3 0x14200 acct acct 63636 483860 98835 0 2 0x2 syz-executor.5 34694 125396 0 0 3 0x14280 nfsidl nfsio 45200 130654 0 0 3 0x14280 nfsidl nfsio 98890 395025 0 0 3 0x14280 nfsidl nfsio 25253 272110 0 0 3 0x14280 nfsidl nfsio 11909 326345 0 0 3 0x14280 nfsidl nfsio 9926 446573 0 0 3 0x14280 nfsidl nfsio 27106 149207 0 0 3 0x14200 bored sosplice 98835 255519 67664 0 3 0x82 thrsleep syz-fuzzer 98835 360502 67664 0 2 0x4000002 syz-fuzzer 98835 417607 67664 0 3 0x4000082 kqread syz-fuzzer 98835 81146 67664 0 3 0x4000082 thrsleep syz-fuzzer 98835 423574 67664 0 3 0x4000082 thrsleep syz-fuzzer 98835 455794 67664 0 3 0x4000082 thrsleep syz-fuzzer 98835 276534 67664 0 3 0x4000082 thrsleep syz-fuzzer 98835 284780 67664 0 3 0x4000082 thrsleep syz-fuzzer 67664 184502 69313 0 3 0x10008a sigsusp ksh 69313 329404 10987 0 3 0x9a kqread sshd 59654 429538 1 0 3 0x100083 ttyin getty 10987 369413 1 0 3 0x88 kqread sshd 29387 10932 55079 73 3 0x1100090 kqread syslogd 55079 47085 1 0 3 0x100082 netio syslogd 68464 338419 1 0 3 0x100080 kqread resolvd 73671 343114 7634 77 3 0x100092 kqread dhcpleased 52940 343680 7634 77 3 0x100092 kqread dhcpleased 7634 290751 1 0 3 0x80 kqread dhcpleased 95152 228935 0 0 3 0x14200 bored smr 68014 78131 0 0 2 0x14200 zerothread 30324 74712 0 0 3 0x14200 aiodoned aiodoned 28109 498574 0 0 3 0x14200 syncer update 16072 185925 0 0 3 0x14200 cleaner cleaner 52684 474760 0 0 3 0x14200 reaper reaper 54663 64587 0 0 3 0x14200 pgdaemon pagedaemon 6651 491204 0 0 3 0x14200 bored viomb 55648 61974 0 0 3 0x40014200 acpi0 acpi0 74130 130546 0 0 3 0x14200 bored softnet 16187 49362 0 0 3 0x14200 bored systqmp 28199 422921 0 0 3 0x14200 bored systq 37226 390351 0 0 3 0x40014200 bored softclock 30927 81328 0 0 3 0x40014200 idle0 1 128060 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 10207 6552K 6931K 78643K 19843 0 pcb 13 20K 23K 78643K 1100 0 rtable 239 11K 13K 78643K 2054 0 ifaddr 95 21K 22K 78643K 997 0 sysctl 3 1K 1K 78643K 3 0 counters 27 17K 17K 78643K 101 0 ioctlops 0 0K 4K 78643K 3410 0 iov 0 0K 12K 78643K 582 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1354 85K 85K 78643K 4523 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 58 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 493 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 14 49K 81K 78643K 5783 0 sigio 0 0K 0K 78643K 278 0 proc 62 55K 71K 78643K 1583 0 subproc 104 6K 7K 78643K 550 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 433 0 in_multi 97 6K 6K 78643K 631 0 ether_multi 1 0K 0K 78643K 62 0 mrt 0 0K 0K 78643K 27 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 2354 0 pfkey data 0 0K 1K 78643K 49 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 360 267K 282K 78643K 69249 0 UVM aobj 131 4K 4K 78643K 142 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 254 0 NDP 12 0K 2K 78643K 175 0 temp 137 4709K 4837K 78643K 68440 0 kqueue 12 18K 26K 78643K 339 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 379 0 376 5 4 1 3 0 8 0 rtentry 112 535 0 435 4 0 4 4 0 8 0 unpcb 136 5907 0 5894 44 42 2 8 0 8 1 syncache 296 38 0 38 8 8 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 17 0 17 6 6 0 1 0 8 0 tcpcb 736 2139 0 2130 82 80 2 14 0 8 1 arp 88 89 0 71 1 0 1 1 0 8 0 ipq 40 72 0 72 5 5 0 1 0 8 0 ipqe 40 280 0 280 5 5 0 1 0 8 0 inpcb 304 5280 0 5272 85 84 1 12 0 8 0 rttmr 72 6 0 6 2 2 0 1 0 8 0 ip6q 72 5 0 5 1 1 0 1 0 8 0 ip6af 40 8 0 8 1 1 0 1 0 8 0 nd6 48 134 0 110 1 0 1 1 0 8 0 pkpcb 40 34 0 34 4 4 0 1 0 8 0 kcovpl 48 42 0 34 1 0 1 1 0 8 0 ppxss 1152 6 0 6 2 2 0 1 0 8 0 pfstscr 40 39 0 37 1 0 1 1 0 8 0 pfosfp 40 40 0 39 1 0 1 1 0 8 0 pfosfpen 112 40 0 3 2 0 2 2 0 8 0 pfrke_plain 168 8 0 8 2 2 0 1 0 8 0 pfrktable 1344 120 0 112 4 2 2 2 0 8 1 pftag 88 9 0 6 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 112 56 0 54 1 0 1 1 0 8 0 pfstate 320 34 0 33 1 0 1 1 0 8 0 pfrule 1360 377 0 357 5 3 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2274 0 1849 43 15 28 29 0 8 0 art_table 32 2275 0 1849 4 0 4 4 0 8 0 art_node 16 534 0 447 1 0 1 1 0 8 0 sysvmsgpl 40 20 0 11 1 0 1 1 0 8 0 semapl 112 491 0 481 1 0 1 1 0 8 0 shmpl 112 139 0 11 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 8668 0 7211 92 0 92 92 0 8 0 ffsino 240 8668 0 7211 86 0 86 86 0 8 0 nchpl 144 16005 0 14391 62 1 61 62 0 8 0 rtmask 32 16 0 16 2 2 0 1 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 59131 0 59130 3 2 1 2 0 8 0 vcpupl 1984 38 0 0 5 0 5 5 0 8 0 vmpool 528 93 0 55 4 1 3 3 0 8 0 pfiaddrpl 120 48 0 39 2 1 1 1 0 8 0 scsiplug 72 3 0 3 1 1 0 1 0 8 0 scxspl 216 45867 0 45867 14 13 1 8 0 8 1 plimitpl 152 771 0 757 1 0 1 1 0 8 0 sigapl 424 5999 0 5951 7 1 6 6 0 8 0 futexpl 64 51463 0 51461 1 0 1 1 0 8 0 knotepl 120 61779 0 61699 13 9 4 7 0 8 0 kqueuepl 184 1328 0 1320 23 22 1 4 0 8 0 pipepl 304 827 0 799 17 14 3 8 0 8 0 fdescpl 432 5975 0 5950 4 0 4 4 0 8 0 filepl 120 40494 0 40257 61 50 11 16 0 8 3 lockfpl 104 1289 0 1287 3 2 1 2 0 8 0 lockfspl 48 486 0 484 1 0 1 1 0 8 0 sessionpl 144 57 0 41 1 0 1 1 0 8 0 pgrppl 48 77 0 61 1 0 1 1 0 8 0 ucredpl 96 4737 0 4725 1 0 1 1 0 8 0 zombiepl 144 5954 0 5951 1 0 1 1 0 8 0 processpl 1000 5999 0 5951 7 0 7 7 0 8 0 procpl 672 13904 0 13847 18 12 6 7 0 8 0 sosppl 168 26 0 26 6 5 1 1 0 8 1 sockpl 448 11669 0 11645 201 192 9 26 0 8 6 mcl64k 65536 261 0 261 13 13 0 1 0 8 0 mcl16k 16384 56 0 56 13 13 0 1 0 8 0 mcl12k 12288 176 0 176 11 11 0 1 0 8 0 mcl9k 9216 123 0 123 12 12 0 1 0 8 0 mcl8k 8192 509 0 509 10 10 0 1 0 8 0 mcl4k 4096 553 0 553 8 7 1 1 0 8 1 mcl2k2 2112 47 0 47 13 13 0 1 0 8 0 mcl2k 2048 88057 0 88012 22 15 7 11 0 8 0 mtagpl 96 963 0 939 12 9 3 7 0 8 0 mbufpl 256 181860 0 181618 122 99 23 85 0 8 1 bufpl 288 13138 0 6731 458 0 458 458 0 8 0 anonpl 24 1653431 0 1636109 236 107 129 163 0 188 0 amapchunkpl 152 177359 0 176653 86 54 32 47 0 158 1 amappl16 200 18685 0 17850 142 94 48 70 0 8 0 amappl15 192 1540 0 1532 1 0 1 1 0 8 0 amappl14 184 1813 0 1810 1 0 1 1 0 8 0 amappl13 176 527 0 524 1 0 1 1 0 8 0 amappl12 168 805 0 804 2 1 1 1 0 8 0 amappl11 160 704 0 689 1 0 1 1 0 8 0 amappl10 152 319 0 312 1 0 1 1 0 8 0 amappl9 144 949 0 942 1 0 1 1 0 8 0 amappl8 136 1720 0 1641 3 0 3 3 0 8 0 amappl7 128 757 0 745 1 0 1 1 0 8 0 amappl6 120 798 0 770 2 1 1 2 0 8 0 amappl5 112 4735 0 4724 1 0 1 1 0 8 0 amappl4 104 3225 0 3186 2 0 2 2 0 8 0 amappl3 96 1372 0 1360 1 0 1 1 0 8 0 amappl2 88 1635 0 1587 3 1 2 3 0 8 0 amappl1 80 107460 0 106935 18 5 13 18 0 8 0 amappl 88 68172 0 67939 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 141 0 11 3 0 3 3 0 8 0 uaddrrnd 24 6068 0 6005 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6068 0 6005 1 0 1 1 0 8 0 vmmpekpl 168 42498 0 42440 4 0 4 4 0 8 0 vmmpepl 168 556227 0 553554 306 150 156 156 0 357 21 vmsppl 272 6067 0 6005 7 2 5 5 0 8 0 rwobjpl 24 135089 0 127258 54 4 50 51 0 8 0 pdppl 4096 12142 0 12048 486 384 102 102 0 8 8 pvpl 32 2815880 0 2796101 411 207 204 243 0 265 0 pmappl 216 6067 0 6005 4 0 4 4 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1658 0 837 25 0 25 25 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000d355c0) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000d355c0) at in_delmulti+0xb7 sys/netinet/in.c:917 ip_freemoptions(ffff8000006c36d0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd806f3bcab0) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:580 udp_detach(fffffd806f1ca008) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1249 soclose(fffffd806f1ca008,0) at soclose+0x245 sys/kern/uipc_socket.c:351 soo_close(fffffd8067eae5a0,ffff80002167cfc8) at soo_close+0x40 fdrop(fffffd8067eae5a0,ffff80002167cfc8) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd8067eae5a0,ffff80002167cfc8) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff80002167cfc8) at fdfree+0xf3 sys/kern/kern_descrip.c:1195 exit1(ffff80002167cfc8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:202 sys_exit(ffff80002167cfc8,ffff80002af83a00,ffff80002af83a60) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff80002af83ad0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3f80, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000d355c0) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000d355c0) at in_delmulti+0xb7 sys/netinet/in.c:917 ip_freemoptions(ffff8000006c36d0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd806f3bcab0) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:580 udp_detach(fffffd806f1ca008) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1249 soclose(fffffd806f1ca008,0) at soclose+0x245 sys/kern/uipc_socket.c:351 soo_close(fffffd8067eae5a0,ffff80002167cfc8) at soo_close+0x40 fdrop(fffffd8067eae5a0,ffff80002167cfc8) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd8067eae5a0,ffff80002167cfc8) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff80002167cfc8) at fdfree+0xf3 sys/kern/kern_descrip.c:1195 exit1(ffff80002167cfc8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:202 sys_exit(ffff80002167cfc8,ffff80002af83a00,ffff80002af83a60) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff80002af83ad0) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3f80, count: -14