uvm_fault(0xfffffd806547b5e0, 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 178354 35141 0 0x14000 0x200 1 reaper igmp_leavegroup(ffff800000b7a400) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000b7a400) at in_delmulti+0xb7 sys/netinet/in.c:920 ip_freemoptions(ffff800000c6f3f0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd8063d2bab8) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:584 udp_detach(fffffd806541fd58) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1263 soclose(fffffd806541fd58,0) at soclose+0x255 sys/kern/uipc_socket.c:361 soo_close(fffffd8073a82c98,ffff800022ed1a48) at soo_close+0x40 fdrop(fffffd8073a82c98,ffff800022ed1a48) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd8073a82c98,ffff800022ed1a48) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800022ed1a48) at fdfree+0xf4 sys/kern/kern_descrip.c:1195 exit1(ffff800022ed1a48,0,0,1) at exit1+0x37d sys/kern/kern_exit.c:202 sys_exit(ffff800022ed1a48,ffff800024929d10,ffff800024929d70) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800024929de0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024929de0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffffafc0, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xfffffd806547b5e0, 0x4, 0, 1) -> e ddb{0}> trace igmp_leavegroup(ffff800000b7a400) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000b7a400) at in_delmulti+0xb7 sys/netinet/in.c:920 ip_freemoptions(ffff800000c6f3f0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd8063d2bab8) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:584 udp_detach(fffffd806541fd58) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1263 soclose(fffffd806541fd58,0) at soclose+0x255 sys/kern/uipc_socket.c:361 soo_close(fffffd8073a82c98,ffff800022ed1a48) at soo_close+0x40 fdrop(fffffd8073a82c98,ffff800022ed1a48) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd8073a82c98,ffff800022ed1a48) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800022ed1a48) at fdfree+0xf4 sys/kern/kern_descrip.c:1195 exit1(ffff800022ed1a48,0,0,1) at exit1+0x37d sys/kern/kern_exit.c:202 sys_exit(ffff800022ed1a48,ffff800024929d10,ffff800024929d70) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800024929de0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024929de0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffffafc0, count: -14 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff800024929990 rbx 0 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0x9cd16a603ae19c59 r11 0x2a3a6ed650499b09 r12 0 r13 0x3 r14 0xffff800000689000 r15 0xffff800000b7a400 rip 0xffffffff8151d300 igmp_leavegroup+0x80 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800024929960 ss 0x10 igmp_leavegroup+0x80: movl 0x4(%rax),%r12d ddb{0}> show proc PROC (syz-executor.3) pid=314123 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff800021239ce0,0xffffffff828f6680 process=0xffff8000211f10b0 user=0xffff800024924000, vmspace=0xfffffd806547b5e0 estcpu=32, cpticks=6, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 56488 279261 1 0 3 0x100083 ttyin getty 36030 95395 66723 0 2 0x2 syz-executor.1 78700 177373 66723 0 2 0x482 syz-executor.0 32168 487831 66723 0 2 0x482 syz-executor.3 75290 268104 66723 0 2 0x482 syz-executor.2 2585 229921 0 0 3 0x14200 bored sosplice 66723 8410 53995 0 3 0x82 thrsleep syz-fuzzer 66723 340879 53995 0 2 0x4000482 syz-fuzzer 66723 57248 53995 0 2 0x4000482 syz-fuzzer 66723 502881 53995 0 3 0x4000082 kqread syz-fuzzer 66723 31208 53995 0 3 0x4000082 thrsleep syz-fuzzer 66723 346112 53995 0 3 0x4000082 thrsleep syz-fuzzer 66723 69323 53995 0 3 0x4000082 thrsleep syz-fuzzer 66723 75765 53995 0 3 0x4000082 thrsleep syz-fuzzer 53995 455394 63449 0 3 0x10008a sigsusp ksh 63449 335734 27041 0 3 0x9a poll sshd 27041 62302 1 0 3 0x88 poll sshd 85752 144224 61371 74 3 0x100092 bpf pflogd 61371 400109 1 0 3 0x80 netio pflogd 59024 357967 4031 73 3 0x100090 kqread syslogd 4031 368103 1 0 3 0x100082 netio syslogd 19486 476777 1 0 3 0x100080 kqread resolvd 46302 239598 92275 77 3 0x100092 kqread dhcpleased 17497 478123 92275 77 3 0x100092 kqread dhcpleased 92275 422330 1 0 3 0x80 kqread dhcpleased 66689 96697 0 0 3 0x14200 bored smr 12385 507624 0 0 2 0x14200 zerothread 60321 15773 0 0 3 0x14200 aiodoned aiodoned 55541 196416 0 0 3 0x14200 syncer update 88442 159914 0 0 3 0x14200 cleaner cleaner 35141 178354 0 0 7 0x14200 reaper 54647 248518 0 0 3 0x14200 pgdaemon pagedaemon 6546 31841 0 0 3 0x14200 bored viomb 10247 309176 0 0 3 0x40014200 acpi0 acpi0 40126 85981 0 0 3 0x40014200 idle1 83985 164076 0 0 3 0x14200 bored softnet 85358 297324 0 0 3 0x14200 bored systqmp 2552 488319 0 0 3 0x14200 bored systq 90500 102721 0 0 3 0x40014200 bored softclock 35168 490669 0 0 3 0x40014200 idle0 1 62402 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 36030 (syz-executor.1) thread 0xffff800022ed1508 (95395) exclusive rrwlock inode r = 0 (0xfffffd806ef36d58) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:461 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:534 #4 ufs_ihashins+0x42 sys/ufs/ufs/ufs_ihash.c:140 #5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1347 #6 ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394 #7 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1162 #8 VOP_MKDIR+0xbf sys/kern/vfs_vops.c:404 #9 domkdirat+0x121 sys/kern/vfs_syscalls.c:3100 #10 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #10 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd807327c4e8) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:461 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:534 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:579 #5 vfs_lookup+0xd1 sys/kern/vfs_lookup.c:413 #6 namei+0x36a sys/kern/vfs_lookup.c:245 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:3085 #8 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10198 6541K 7188K 78643K 28993 0 pcb 13 16K 20K 78643K 548 0 rtable 149 18K 18K 78643K 1158 0 ifaddr 61 15K 17K 78643K 612 0 sysctl 2 0K 0K 78643K 2 0 counters 48 34K 35K 78643K 176 0 ioctlops 0 0K 4K 78643K 3128 0 iov 0 0K 16K 78643K 515 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1298 82K 82K 78643K 6307 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 39 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 412 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 7 21K 49K 78643K 4885 0 sigio 0 0K 0K 78643K 19 0 proc 72 87K 111K 78643K 1186 0 subproc 52 6K 6K 78643K 299 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 751 0 in_multi 49 3K 3K 78643K 621 0 ether_multi 1 0K 0K 78643K 82 0 mrt 1 0K 0K 78643K 31 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 1432 0 pfkey data 0 0K 0K 78643K 3 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 334 423K 423K 78643K 63333 0 UVM aobj 131 7K 7K 78643K 134 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 388 0 NDP 9 0K 1K 78643K 131 0 temp 110 4225K 4293K 78643K 57863 0 kqueue 10 14K 20K 78643K 206 0 SYN cache 2 8K 16K 78643K 3 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 416 0 413 8 7 1 3 0 8 0 rtentry 112 351 0 300 2 0 2 2 0 8 0 unpcb 136 4218 0 4203 49 47 2 9 0 8 1 syncache 296 26 0 26 9 8 1 1 0 8 1 tcpcb 736 2139 0 2127 70 62 8 14 0 8 6 arp 120 52 0 42 1 0 1 1 0 8 0 inpcb 304 5077 0 5064 66 60 6 16 0 8 4 rttmr 72 5 0 5 2 2 0 1 0 8 0 ip6q 72 3 0 3 1 1 0 1 0 8 0 ip6af 40 162 0 162 1 1 0 1 0 8 0 nd6 48 86 0 76 1 0 1 1 0 8 0 pkpcb 40 11 0 11 3 2 1 1 0 8 1 kcovpl 48 23 0 19 1 0 1 1 0 8 0 ppxss 1248 23 0 23 6 6 0 1 0 8 0 pfstscr 40 6 0 6 2 2 0 1 0 8 0 pffrag 232 24 0 23 3 2 1 1 0 482 0 pffrnode 88 24 0 23 3 2 1 1 0 8 0 pffrent 40 132 0 131 3 2 1 1 0 8 0 pfosfp 40 1431 0 1007 5 0 5 5 0 8 0 pfosfpen 112 1431 0 716 21 0 21 21 0 8 0 pfrktable 1344 52 0 41 1 0 1 1 0 8 0 pftag 88 12 0 11 1 0 1 1 0 8 0 pfqueue 264 3 0 3 1 1 0 1 0 8 0 pfstitem 24 19 0 17 1 0 1 1 0 8 0 pfstkey 112 31 0 29 1 0 1 1 0 8 0 pfstate 320 25 0 23 2 1 1 2 0 8 0 pfrule 1360 376 0 333 5 1 4 4 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1549 0 1314 25 8 17 18 0 8 0 art_table 32 1550 0 1314 5 2 3 3 0 8 0 art_node 16 347 0 301 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 0 1 0 1 1 0 8 0 semupl 112 3 0 3 2 2 0 1 0 8 0 semapl 112 407 0 397 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 7462 0 6044 89 0 89 89 0 8 0 ffsino 272 7462 0 6044 95 0 95 95 0 8 0 nchpl 144 13905 0 12312 61 0 61 61 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 50022 0 50021 4 3 1 1 0 8 0 percpumem 16 100 0 64 1 0 1 1 0 8 0 vcpupl 2048 93 0 0 12 0 12 12 0 8 0 vmpool 560 109 0 16 8 1 7 7 0 8 0 pfiaddrpl 120 22 0 10 3 2 1 1 0 8 0 scsiplug 72 3 0 3 1 1 0 1 0 8 0 scxspl 216 43265 0 43265 17 16 1 8 0 8 1 plimitpl 152 505 0 494 1 0 1 1 0 8 0 sigapl 424 5070 0 5035 5 0 5 5 0 8 0 futexpl 64 41424 0 41424 4 3 1 1 0 8 1 knotepl 112 111 0 0 4 1 3 3 0 8 0 kqueuepl 216 1397 0 1391 39 36 3 5 0 8 2 pipepl 336 869 0 853 21 19 2 7 0 8 0 fdescpl 496 5055 0 5035 4 1 3 4 0 8 0 filepl 152 35600 0 35448 83 72 11 16 0 8 4 lockfpl 104 1253 0 1251 2 1 1 2 0 8 0 lockfspl 48 339 0 337 1 0 1 1 0 8 0 sessionpl 144 42 0 29 1 0 1 1 0 8 0 pgrppl 48 48 0 35 1 0 1 1 0 8 0 ucredpl 96 3735 0 3723 1 0 1 1 0 8 0 zombiepl 144 5036 0 5033 2 1 1 1 0 8 0 processpl 1064 5070 0 5033 3 0 3 3 0 8 0 procpl 672 14474 0 14429 13 8 5 6 0 8 0 srpgc 96 20 0 20 3 3 0 1 0 8 0 sosppl 168 55 0 54 6 5 1 1 0 8 0 sockpl 480 9724 0 9693 230 218 12 34 0 8 7 mcl64k 65536 28 0 0 3 0 3 3 0 8 0 mcl16k 16384 8 0 0 1 0 1 1 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 16 0 0 2 0 2 2 0 8 0 mcl8k 8192 28 0 0 4 1 3 3 0 8 0 mcl4k 4096 25 0 0 3 0 3 3 0 8 0 mcl2k2 2112 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 369 0 0 26 0 26 26 0 8 0 mtagpl 96 1069 0 0 21 0 21 21 0 8 0 mbufpl 256 2127 0 0 120 0 120 120 0 8 0 bufpl 288 11258 0 4913 454 0 454 454 0 8 0 anonpl 24 1441251 0 1422838 211 92 119 140 0 186 0 amapchunkpl 152 155213 0 154496 76 44 32 43 0 158 1 amappl16 200 13792 0 13208 100 67 33 44 0 8 0 amappl15 192 1687 0 1683 1 0 1 1 0 8 0 amappl14 184 381 0 378 1 0 1 1 0 8 0 amappl13 176 820 0 819 1 0 1 1 0 8 0 amappl12 168 288 0 284 1 0 1 1 0 8 0 amappl11 160 689 0 675 1 0 1 1 0 8 0 amappl10 152 93 0 85 1 0 1 1 0 8 0 amappl9 144 1066 0 1063 1 0 1 1 0 8 0 amappl8 136 1150 0 1087 3 0 3 3 0 8 0 amappl7 128 553 0 542 1 0 1 1 0 8 0 amappl6 120 860 0 840 1 0 1 1 0 8 0 amappl5 112 4275 0 4254 1 0 1 1 0 8 0 amappl4 104 2162 0 2137 1 0 1 1 0 8 0 amappl3 96 998 0 981 1 0 1 1 0 8 0 amappl2 88 1361 0 1320 2 1 1 2 0 8 0 amappl1 80 95300 0 94838 13 2 11 13 0 8 0 amappl 88 62535 0 62327 7 1 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 133 0 3 3 0 3 3 0 8 0 uaddrrnd 24 5164 0 5051 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 5164 0 5051 1 0 1 1 0 8 0 vmmpekpl 168 38565 0 38513 3 0 3 3 0 8 0 vmmpepl 168 468573 0 466478 248 141 107 122 0 357 0 vmsppl 368 5163 0 5051 12 1 11 11 0 8 0 rwobjpl 56 120673 0 113163 113 4 109 110 0 8 0 pdppl 4096 10336 0 10195 180 33 147 147 0 8 6 pvpl 32 2483198 0 2460921 340 147 193 246 0 265 0 pmappl 248 5163 0 5051 8 0 8 8 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 1131 0 130 29 0 29 29 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace igmp_leavegroup(ffff800000b7a400) at igmp_leavegroup+0x80 sys/netinet/igmp.c:521 in_delmulti(ffff800000b7a400) at in_delmulti+0xb7 sys/netinet/in.c:920 ip_freemoptions(ffff800000c6f3f0) at ip_freemoptions+0x4d sys/netinet/ip_output.c:1764 in_pcbdetach(fffffd8063d2bab8) at in_pcbdetach+0xf3 sys/netinet/in_pcb.c:584 udp_detach(fffffd806541fd58) at udp_detach+0x3b sys/netinet/udp_usrreq.c:1263 soclose(fffffd806541fd58,0) at soclose+0x255 sys/kern/uipc_socket.c:361 soo_close(fffffd8073a82c98,ffff800022ed1a48) at soo_close+0x40 fdrop(fffffd8073a82c98,ffff800022ed1a48) at fdrop+0xc7 sys/kern/kern_descrip.c:1279 closef(fffffd8073a82c98,ffff800022ed1a48) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800022ed1a48) at fdfree+0xf4 sys/kern/kern_descrip.c:1195 exit1(ffff800022ed1a48,0,0,1) at exit1+0x37d sys/kern/kern_exit.c:202 sys_exit(ffff800022ed1a48,ffff800024929d10,ffff800024929d70) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800024929de0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024929de0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffffafc0, count: -14 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020d38ff0) 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(ffffffff828d75f8) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828d75f8) at __mp_lock+0x122 sys/kern/kern_lock.c:147 reaper(ffff800021149260) at reaper+0x150 sys/kern/kern_exit.c:450 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff800020d38ff0) 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(ffffffff828d75f8) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828d75f8) at __mp_lock+0x122 sys/kern/kern_lock.c:147 reaper(ffff800021149260) at reaper+0x150 sys/kern/kern_exit.c:450 end trace frame: 0x0, count: -5