uvm_fault(0xfffffd8076cb6730, 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 139088 52995 0 0 0x4000000 1 syz-executor.3 igmp_leavegroup(ffff800000dc5fc0) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000dc5fc0) at in_delmulti+0xb7 sys/netinet/in.c:920 ip_freemoptions(ffff8000006c5f40) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd8067d96398) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:584 rip_detach(fffffd806d87e018) at rip_detach+0x6a sys/netinet/raw_ip.c:616 soclose(fffffd806d87e018,0) at soclose+0x255 sys/kern/uipc_socket.c:361 soo_close(fffffd8076749020,ffff8000260b0d28) at soo_close+0x40 fdrop(fffffd8076749020,ffff8000260b0d28) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd8076749020,ffff8000260b0d28) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff8000260b0d28) at fdfree+0xf4 sys/kern/kern_descrip.c:1195 exit1(ffff8000260b0d28,0,0,3) at exit1+0x37d sys/kern/kern_exit.c:202 single_thread_check_locked(ffff8000260b0d28,0,0) at single_thread_check_locked+0x227 sys/kern/kern_sig.c:1958 userret(ffff8000260b0d28) at userret+0x224 single_thread_check sys/kern/kern_sig.c:1999 [inline] userret(ffff8000260b0d28) at userret+0x224 sys/kern/kern_sig.c:1946 syscall(ffff80002607a300) at syscall+0x57e mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff80002607a300) at syscall+0x57e sys/arch/amd64/amd64/trap.c:607 end trace frame: 0xffff80002607a380, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xfffffd8076cb6730, 0x4, 0, 1) -> e ddb{0}> trace igmp_leavegroup(ffff800000dc5fc0) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000dc5fc0) at in_delmulti+0xb7 sys/netinet/in.c:920 ip_freemoptions(ffff8000006c5f40) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd8067d96398) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:584 rip_detach(fffffd806d87e018) at rip_detach+0x6a sys/netinet/raw_ip.c:616 soclose(fffffd806d87e018,0) at soclose+0x255 sys/kern/uipc_socket.c:361 soo_close(fffffd8076749020,ffff8000260b0d28) at soo_close+0x40 fdrop(fffffd8076749020,ffff8000260b0d28) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd8076749020,ffff8000260b0d28) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff8000260b0d28) at fdfree+0xf4 sys/kern/kern_descrip.c:1195 exit1(ffff8000260b0d28,0,0,3) at exit1+0x37d sys/kern/kern_exit.c:202 single_thread_check_locked(ffff8000260b0d28,0,0) at single_thread_check_locked+0x227 sys/kern/kern_sig.c:1958 userret(ffff8000260b0d28) at userret+0x224 single_thread_check sys/kern/kern_sig.c:1999 [inline] userret(ffff8000260b0d28) at userret+0x224 sys/kern/kern_sig.c:1946 syscall(ffff80002607a300) at syscall+0x57e mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff80002607a300) at syscall+0x57e sys/arch/amd64/amd64/trap.c:607 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe2610, count: -15 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff800026079e20 rbx 0 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0xe3f430eb5ec5c5b r11 0x9634c82bde5f2cba r12 0 r13 0x3 r14 0xffff800000689000 r15 0xffff800000dc5fc0 rip 0xffffffff81bc0ff0 igmp_leavegroup+0x80 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800026079df0 ss 0x10 igmp_leavegroup+0x80: movl 0x4(%rax),%r12d ddb{0}> show proc PROC (syz-executor.7) pid=77877 stat=onproc flags process=1008 proc=82000 pri=32, usrpri=85, nice=20 forw=0xffffffffffffffff, list=0xffff8000260f3ce0,0xffff800027afc018 process=0xffff8000ffff7a40 user=0xffff800026075000, vmspace=0xfffffd8076cb6730 estcpu=35, cpticks=2, pctcpu=0.1 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 59050 95173 97483 0 2 0 syz-executor.4 98662 310219 54496 0 2 0 syz-executor.5 59492 64884 3304 0 2 0 syz-executor.2 52995 416516 34305 0 2 0 syz-executor.3 52995 139088 34305 0 7 0x4000000 syz-executor.3 52995 97722 34305 0 3 0x4000080 fsleep syz-executor.3 83617 353831 41448 0 2 0 syz-executor.6 83617 410775 41448 0 3 0x4000080 fsleep syz-executor.6 39188 295619 45062 0 2 0 syz-executor.0 39188 439241 45062 0 2 0x4000000 syz-executor.0 41448 453023 57170 0 3 0x82 nanoslp syz-executor.6 34305 300596 57170 0 3 0x82 nanoslp syz-executor.3 3304 443940 57170 0 3 0x82 nanoslp syz-executor.2 2158 387278 57170 0 2 0x2 syz-executor.1 54496 232034 57170 0 2 0x2 syz-executor.5 41055 397201 57170 0 3 0x82 nanoslp syz-executor.7 84312 448087 0 0 3 0x14200 acct acct 13238 332577 1 0 3 0x100083 ttyin getty 74944 416829 0 0 3 0x14200 bored sosplice 97483 479406 57170 0 2 0x2 syz-executor.4 45062 501161 57170 0 3 0x82 nanoslp syz-executor.0 57170 234268 46838 0 3 0x82 thrsleep syz-fuzzer 57170 349315 46838 0 3 0x4000082 nanoslp syz-fuzzer 57170 397960 46838 0 3 0x4000082 thrsleep syz-fuzzer 57170 316385 46838 0 3 0x4000082 thrsleep syz-fuzzer 57170 168643 46838 0 3 0x4000082 thrsleep syz-fuzzer 57170 147334 46838 0 3 0x4000082 thrsleep syz-fuzzer 57170 475178 46838 0 3 0x4000082 thrsleep syz-fuzzer 57170 23215 46838 0 3 0x4000082 thrsleep syz-fuzzer 57170 55679 46838 0 3 0x4000082 kqread syz-fuzzer 46838 163197 96113 0 3 0x10008a sigsusp ksh 96113 8015 99778 0 3 0x9a poll sshd 99778 5748 1 0 3 0x88 poll sshd 59080 332640 52985 74 3 0x100092 bpf pflogd 52985 463766 1 0 3 0x80 netio pflogd 62310 453748 48124 73 3 0x100090 kqread syslogd 48124 472053 1 0 3 0x100082 netio syslogd 96149 463099 1 0 3 0x100080 kqread resolvd 37049 459361 77628 77 3 0x100092 kqread dhcpleased 45677 233092 77628 77 3 0x100092 kqread dhcpleased 77628 110514 1 0 3 0x80 kqread dhcpleased 19479 5570 0 0 3 0x14200 bored smr 50600 469829 0 0 2 0x14200 zerothread 78085 149778 0 0 3 0x14200 aiodoned aiodoned 76400 435291 0 0 3 0x14200 syncer update 74739 258037 0 0 3 0x14200 cleaner cleaner 23707 416948 0 0 3 0x14200 reaper reaper 60029 319350 0 0 3 0x14200 pgdaemon pagedaemon 87905 226379 0 0 3 0x14200 bored viomb 77760 308337 0 0 3 0x40014200 acpi0 acpi0 67925 124596 0 0 3 0x40014200 idle1 91936 382718 0 0 3 0x14200 bored softnet 84195 45403 0 0 3 0x14200 bored systqmp 82757 45630 0 0 3 0x14200 bored systq 8235 396925 0 0 3 0x40014200 bored softclock 89650 403764 0 0 3 0x40014200 idle0 1 304591 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10232 6798K 7318K 78643K 24335 0 pcb 13 11K 13K 78643K 508 0 rtable 264 15K 17K 78643K 1206 0 ifaddr 97 21K 21K 78643K 593 0 sysctl 3 1K 1K 78643K 3 0 counters 56 35K 35K 78643K 144 0 ioctlops 0 0K 8K 78643K 2253 0 iov 0 0K 28K 78643K 258 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1506 94K 94K 78643K 4610 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 28 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 376 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 17 61K 73K 78643K 3660 0 sigio 0 0K 0K 78643K 165 0 proc 70 87K 124K 78643K 940 0 subproc 104 13K 13K 78643K 234 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 548 0 in_multi 100 6K 6K 78643K 405 0 ether_multi 1 0K 0K 78643K 46 0 mrt 1 0K 0K 78643K 3 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 1282 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 408 309K 311K 78643K 48863 0 UVM aobj 131 4K 4K 78643K 134 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 290 0 NDP 12 0K 1K 78643K 105 0 temp 146 4719K 8815K 78643K 41043 0 kqueue 10 14K 20K 78643K 153 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 295 0 292 5 4 1 3 0 8 0 rtentry 112 299 0 196 4 0 4 4 0 8 0 unpcb 136 1662 0 1647 18 13 5 6 0 8 4 syncache 296 11 0 11 4 4 0 1 0 8 0 tcpqe 32 15 0 15 3 3 0 1 0 8 0 tcpcb 736 1851 0 1844 57 55 2 14 0 8 0 arp 120 46 0 28 1 0 1 1 0 8 0 inpcb 304 4255 0 4245 61 59 2 11 0 8 0 nd6 48 70 0 45 1 0 1 1 0 8 0 pkpcb 40 7 0 7 2 2 0 1 0 8 0 kcovpl 48 17 0 9 1 0 1 1 0 8 0 ppxss 1248 13 0 13 3 2 1 1 0 8 1 pfstscr 40 22 0 22 3 3 0 1 0 8 0 pffrag 232 4 0 4 1 1 0 1 0 482 0 pffrnode 88 4 0 4 1 1 0 1 0 8 0 pffrent 40 17 0 17 2 2 0 1 0 8 0 pfosfp 40 1435 0 1434 5 4 1 5 0 8 0 pfosfpen 112 1435 0 1433 21 20 1 21 0 8 0 pfrke_plain 168 4 0 4 1 1 0 1 0 8 0 pfrktable 1344 133 0 117 3 1 2 2 0 8 0 pftag 88 24 0 15 2 1 1 1 0 8 0 pfstitem 24 81 0 79 1 0 1 1 0 8 0 pfstkey 112 101 0 99 2 1 1 2 0 8 0 pfstate 320 87 0 85 3 2 1 3 0 8 0 pfrule 1360 254 0 211 5 1 4 4 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1330 0 901 35 8 27 30 0 8 0 art_table 32 1331 0 901 4 0 4 4 0 8 0 art_node 16 298 0 208 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 0 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 374 0 364 1 0 1 1 0 8 0 shmpl 112 131 0 3 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 6084 0 4626 92 0 92 92 0 8 0 ffsino 272 6084 0 4626 98 0 98 98 0 8 0 nchpl 144 11460 0 9835 63 0 63 63 0 8 0 rtmask 32 8 0 8 1 1 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 41400 0 41400 7 6 1 2 0 8 1 percpumem 16 84 0 44 1 0 1 1 0 8 0 vcpupl 2048 51 0 0 7 0 7 7 0 8 0 vmpool 560 58 0 7 4 0 4 4 0 8 0 pfiaddrpl 120 59 0 39 2 1 1 1 0 8 0 scsiplug 72 3 0 3 1 1 0 1 0 8 0 scxspl 216 35083 0 35083 12 11 1 8 0 8 1 plimitpl 152 264 0 249 1 0 1 1 0 8 0 sigapl 424 3975 0 3929 8 2 6 8 0 8 0 futexpl 64 33948 0 33946 5 4 1 1 0 8 0 knotepl 112 139 0 0 3 0 3 3 0 8 0 kqueuepl 216 891 0 884 17 16 1 5 0 8 0 pipepl 336 508 0 479 12 9 3 6 0 8 0 fdescpl 496 3939 0 3909 5 0 5 5 0 8 0 filepl 152 25770 0 25521 44 29 15 20 0 8 3 lockfpl 104 1037 0 1034 4 3 1 2 0 8 0 lockfspl 48 331 0 328 1 0 1 1 0 8 0 sessionpl 144 34 0 17 1 0 1 1 0 8 0 pgrppl 48 41 0 24 1 0 1 1 0 8 0 ucredpl 96 3000 0 2988 1 0 1 1 0 8 0 zombiepl 144 3930 0 3929 2 1 1 1 0 8 0 processpl 1064 3975 0 3929 5 1 4 5 0 8 0 procpl 672 11322 0 11264 14 7 7 8 0 8 0 srpgc 96 10 0 10 3 3 0 1 0 8 0 sosppl 168 35 0 35 7 6 1 1 0 8 1 sockpl 480 6292 0 6264 115 97 18 25 0 8 14 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 11 0 0 2 0 2 2 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 12 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 18 0 0 3 0 3 3 0 8 0 mcl2k2 2112 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 253 0 0 21 2 19 21 0 8 0 mtagpl 96 1123 0 0 26 0 26 26 0 8 0 mbufpl 256 2386 0 0 146 1 145 145 0 8 0 bufpl 288 9172 0 2836 453 0 453 453 0 8 0 anonpl 24 1140858 0 1122531 225 85 140 157 0 186 3 amapchunkpl 152 120949 0 120076 68 25 43 51 0 158 4 amappl16 200 12117 0 11448 102 64 38 49 0 8 0 amappl15 192 1033 0 1025 1 0 1 1 0 8 0 amappl14 184 644 0 640 1 0 1 1 0 8 0 amappl13 176 150 0 147 1 0 1 1 0 8 0 amappl12 168 393 0 392 2 1 1 1 0 8 0 amappl11 160 286 0 271 1 0 1 1 0 8 0 amappl10 152 499 0 491 1 0 1 1 0 8 0 amappl9 144 894 0 890 1 0 1 1 0 8 0 amappl8 136 1706 0 1626 3 0 3 3 0 8 0 amappl7 128 1022 0 1008 1 0 1 1 0 8 0 amappl6 120 653 0 624 2 0 2 2 0 8 0 amappl5 112 3601 0 3578 1 0 1 1 0 8 0 amappl4 104 1930 0 1901 2 1 1 2 0 8 0 amappl3 96 783 0 769 1 0 1 1 0 8 0 amappl2 88 805 0 760 3 1 2 3 0 8 0 amappl1 80 76318 0 75763 19 5 14 19 0 8 1 amappl 88 48126 0 47850 8 0 8 8 0 92 1 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 133 0 3 3 0 3 3 0 8 0 uaddrrnd 24 3997 0 3916 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3997 0 3916 1 0 1 1 0 8 0 vmmpekpl 168 34079 0 34016 4 0 4 4 0 8 0 vmmpepl 168 372433 0 369655 217 78 139 146 0 357 12 vmsppl 368 3996 0 3916 8 0 8 8 0 8 0 rwobjpl 56 98837 0 91104 120 8 112 114 0 8 0 pdppl 4096 8001 0 7883 283 163 120 120 0 8 2 pvpl 32 2075737 0 2052884 384 162 222 280 0 265 6 pmappl 248 3996 0 3916 6 0 6 6 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 1242 0 247 29 0 29 29 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace igmp_leavegroup(ffff800000dc5fc0) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000dc5fc0) at in_delmulti+0xb7 sys/netinet/in.c:920 ip_freemoptions(ffff8000006c5f40) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd8067d96398) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:584 rip_detach(fffffd806d87e018) at rip_detach+0x6a sys/netinet/raw_ip.c:616 soclose(fffffd806d87e018,0) at soclose+0x255 sys/kern/uipc_socket.c:361 soo_close(fffffd8076749020,ffff8000260b0d28) at soo_close+0x40 fdrop(fffffd8076749020,ffff8000260b0d28) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd8076749020,ffff8000260b0d28) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff8000260b0d28) at fdfree+0xf4 sys/kern/kern_descrip.c:1195 exit1(ffff8000260b0d28,0,0,3) at exit1+0x37d sys/kern/kern_exit.c:202 single_thread_check_locked(ffff8000260b0d28,0,0) at single_thread_check_locked+0x227 sys/kern/kern_sig.c:1958 userret(ffff8000260b0d28) at userret+0x224 single_thread_check sys/kern/kern_sig.c:1999 [inline] userret(ffff8000260b0d28) at userret+0x224 sys/kern/kern_sig.c:1946 syscall(ffff80002607a300) at syscall+0x57e mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff80002607a300) at syscall+0x57e sys/arch/amd64/amd64/trap.c:607 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe2610, count: -15 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020ce8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff829ff190) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff829ff190) at __mp_lock+0x129 sys/kern/kern_lock.c:147 syscall(ffff80002e3be870) at syscall+0x3ef mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff80002e3be870) at syscall+0x3ef sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd117daa8300, count: 9 ddb{1}> trace x86_ipi_db(ffff800020ce8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff829ff190) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff829ff190) at __mp_lock+0x129 sys/kern/kern_lock.c:147 syscall(ffff80002e3be870) at syscall+0x3ef mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff80002e3be870) at syscall+0x3ef sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd117daa8300, count: -6