uvm_fault(0xfffffd8069d6dcb8, 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(ffff800000cf4f80,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cf4f80) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c67b0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd8075238e70) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd805bd022e8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805bd022e8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805bd022e8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8067e0a2d0,ffff800024b7b350) at soo_close+0x44 fdrop(fffffd8067e0a2d0,ffff800024b7b350) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8067e0a2d0,ffff800024b7b350) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff800024b7b350) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff800024b7b350,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff800024b7b350,ffff80002b857210,ffff80002b857260) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002b8572e0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79653965a6f0, 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(0xfffffd8069d6dcb8, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000cf4f80,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cf4f80) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c67b0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd8075238e70) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd805bd022e8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805bd022e8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805bd022e8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8067e0a2d0,ffff800024b7b350) at soo_close+0x44 fdrop(fffffd8067e0a2d0,ffff800024b7b350) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8067e0a2d0,ffff800024b7b350) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff800024b7b350) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff800024b7b350,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff800024b7b350,ffff80002b857210,ffff80002b857260) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002b8572e0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79653965a6f0, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002b856ea0 rbx 0x6 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0x7e3b485ba0259fcf r11 0x5a17cda94138f622 r12 0 r13 0x3 r14 0xffff800000cf4f80 r15 0xffff8000006b7000 rip 0xffffffff81a3d2ff igmp_leavegroup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002b856e70 ss 0x10 igmp_leavegroup+0xaf: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.2) pid=185889 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff800024b7ade0,0xffff800024b7a5c8 process=0xffff80002658efc8 user=0xffff80002b852000, vmspace=0xfffffd8069d6dcb8 estcpu=32, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 26821 97100 84373 0 2 0 syz-executor.0 26821 175903 84373 0 3 0x4000080 netio syz-executor.0 68296 358703 36200 0 2 0 syz-executor.1 68296 288619 36200 0 3 0x4000080 bell syz-executor.1 97283 333346 90730 0 2 0x2 syz-executor.7 18871 357655 0 0 3 0x14280 nfsidl nfsio 55016 79607 0 0 3 0x14280 nfsidl nfsio 70321 108469 0 0 3 0x14280 nfsidl nfsio 47 142626 0 0 3 0x14280 nfsidl nfsio 39054 20733 0 0 3 0x14280 nfsidl nfsio 31652 70309 0 0 3 0x14280 nfsidl nfsio 48583 253205 0 0 3 0x14280 nfsidl nfsio 47039 88471 0 0 3 0x14280 nfsidl nfsio 69047 338815 0 0 3 0x14280 nfsidl nfsio 66088 49736 0 0 3 0x14280 nfsidl nfsio 23471 515394 0 0 3 0x14280 nfsidl nfsio 2971 330826 0 0 3 0x14280 nfsidl nfsio 44204 84485 0 0 3 0x14280 nfsidl nfsio 17262 236587 0 0 3 0x14280 nfsidl nfsio 50933 506462 0 0 3 0x14280 nfsidl nfsio 21351 232658 0 0 3 0x14280 nfsidl nfsio 49584 513082 0 0 3 0x14280 nfsidl nfsio 10061 39704 0 0 3 0x14280 nfsidl nfsio 46377 82925 0 0 3 0x14280 nfsidl nfsio 53896 302383 0 0 3 0x14280 nfsidl nfsio 27281 71891 90730 0 2 0x482 syz-executor.3 57329 216457 90730 0 3 0x82 nanoslp syz-executor.2 91038 330994 90730 0 3 0x82 piperd syz-executor.5 53375 151410 1 0 3 0x100083 ttyin getty 72675 512610 0 0 3 0x14200 bored sosplice 34340 43755 90730 0 2 0x2 syz-executor.4 48329 439868 90730 0 2 0x2 syz-executor.6 84373 334347 90730 0 2 0x482 syz-executor.0 36200 448475 90730 0 3 0x82 nanoslp syz-executor.1 90730 303386 94874 0 3 0x82 thrsleep syz-fuzzer 90730 367525 94874 0 3 0x4000082 thrsleep syz-fuzzer 90730 505755 94874 0 3 0x4000082 wait syz-fuzzer 90730 438861 94874 0 3 0x4000082 wait syz-fuzzer 90730 14865 94874 0 3 0x4000082 thrsleep syz-fuzzer 90730 500330 94874 0 3 0x4000082 thrsleep syz-fuzzer 90730 215842 94874 0 3 0x4000082 wait syz-fuzzer 90730 31482 94874 0 3 0x4000082 wait syz-fuzzer 90730 294228 94874 0 3 0x4000082 wait syz-fuzzer 90730 225119 94874 0 3 0x4000082 thrsleep syz-fuzzer 90730 340998 94874 0 3 0x4000082 wait syz-fuzzer 90730 256822 94874 0 3 0x4000082 kqread syz-fuzzer 90730 42705 94874 0 3 0x4000082 wait syz-fuzzer 90730 130925 94874 0 3 0x4000082 wait syz-fuzzer 94874 255036 65655 0 3 0x10008a sigsusp ksh 65655 264756 74223 0 3 0x9a kqread sshd 74223 431636 1 0 3 0x88 kqread sshd 92522 262911 54563 73 3 0x1100090 kqread syslogd 54563 191401 1 0 3 0x100082 netio syslogd 41083 423772 1 0 3 0x100080 kqread resolvd 33034 94239 88590 77 3 0x100092 kqread dhcpleased 43123 178520 88590 77 3 0x100092 kqread dhcpleased 88590 446907 1 0 3 0x80 kqread dhcpleased 52369 148922 0 0 3 0x14200 bored smr 96671 112548 0 0 2 0x14200 zerothread 58594 40972 0 0 3 0x14200 aiodoned aiodoned 39003 312107 0 0 3 0x14200 syncer update 32898 91866 0 0 3 0x14200 cleaner cleaner 49843 485754 0 0 3 0x14200 reaper reaper 63623 396115 0 0 3 0x14200 pgdaemon pagedaemon 12818 244127 0 0 3 0x14200 bored viomb 61592 158308 0 0 3 0x40014200 acpi0 acpi0 18112 201850 0 0 3 0x14200 bored softnet 3765 179983 0 0 3 0x14200 bored softnet 71015 46351 0 0 3 0x14200 bored softnet 98681 358188 0 0 3 0x14200 bored softnet 91800 374238 0 0 3 0x14200 bored systqmp 20082 106430 0 0 3 0x14200 bored systq 88745 314205 0 0 2 0x40014200 softclock 49086 22892 0 0 3 0x40014200 idle0 1 421362 0 0 3 0x80082 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 10168 6404K 7402K 78643K 12259 0 pcb 13 10K 12K 78643K 379 0 rtable 226 8K 8K 78643K 937 0 ifaddr 75 21K 22K 78643K 287 0 sysctl 2 0K 0K 78643K 4 0 counters 28 17K 17K 78643K 158 0 ioctlops 0 0K 2K 78643K 170 0 iov 0 0K 12K 78643K 316 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1415 88K 89K 78643K 2311 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 6 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 611 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 13 45K 77K 78643K 1831 0 sigio 0 0K 0K 78643K 42 0 proc 58 59K 75K 78643K 797 0 subproc 104 6K 6K 78643K 221 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 107 0 in_multi 98 6K 6K 78643K 264 0 ether_multi 1 0K 0K 78643K 15 0 mrt 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 685 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 8 62K 64K 78643K 10 0 UVM amap 311 88K 100K 78643K 18725 0 UVM aobj 59 2K 2K 78643K 59 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 102 0 NDP 12 0K 1K 78643K 93 0 temp 128 5850K 5978K 78643K 13843 0 kqueue 12 18K 22K 78643K 150 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 178 0 175 2 1 1 2 0 8 0 rtentry 112 245 0 144 4 0 4 4 0 8 0 unpcb 144 3306 0 3293 15 9 6 10 0 8 5 syncache 296 19 0 19 4 3 1 1 0 8 1 tcpqe 32 259 0 259 3 3 0 1 0 8 0 tcpcb 776 625 0 619 22 14 8 8 0 8 7 arp 88 40 0 22 1 0 1 1 0 8 0 ipq 40 4 0 4 1 1 0 1 0 8 0 ipqe 40 8 0 8 1 1 0 1 0 8 0 inpcb 336 1891 0 1880 18 8 10 12 0 8 8 nd6 104 55 0 29 1 0 1 1 0 8 0 pkpcb 40 15 0 15 2 2 0 1 0 8 0 kcovpl 48 17 0 9 1 0 1 1 0 8 0 mppekey 1024 4 0 4 1 1 0 1 0 8 0 ppxss 1160 98 0 98 1 0 1 1 0 8 1 pppxif 1360 81 0 81 3 2 1 1 0 8 1 pfanchor 1288 380 0 0 32 0 32 32 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1038 0 600 31 3 28 29 0 8 0 art_table 32 1039 0 600 4 0 4 4 0 8 0 art_node 16 239 0 150 1 0 1 1 0 8 0 semapl 112 538 0 528 1 0 1 1 0 8 0 shmpl 112 56 0 0 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3645 0 2205 91 0 91 91 0 8 0 ffsino 240 3645 0 2205 86 0 86 86 0 8 0 nchpl 144 6535 0 4897 63 0 63 63 0 8 0 rtmask 32 1 0 1 1 1 0 1 0 8 0 uvmvnodes 80 4538 0 0 93 0 93 93 0 8 0 vnodes 216 4538 0 0 253 0 253 253 0 8 0 namei 1024 23553 0 23551 3 2 1 3 0 8 0 kstatmem 264 116 0 92 2 0 2 2 0 8 0 scxspl 216 19182 0 19182 10 8 2 8 0 8 2 plimitpl 152 231 0 216 1 0 1 1 0 8 0 sigapl 424 2135 0 2073 8 0 8 8 0 8 0 futexpl 64 20994 0 20994 1 0 1 1 0 8 1 knotepl 120 22389 0 22309 13 6 7 8 0 8 1 kqueuepl 184 438 0 429 4 3 1 4 0 8 0 pipepl 288 513 0 483 11 4 7 7 0 8 4 fdescpl 432 2098 0 2074 4 0 4 4 0 8 0 filepl 120 15294 0 15053 21 7 14 15 0 8 6 lockfpl 104 348 0 346 2 1 1 2 0 8 0 lockfspl 48 169 0 167 1 0 1 1 0 8 0 sessionpl 144 33 0 17 1 0 1 1 0 8 0 pgrppl 48 37 0 21 1 0 1 1 0 8 0 ucredpl 104 1060 0 1050 1 0 1 1 0 8 0 zombiepl 144 2075 0 2073 1 0 1 1 0 8 0 processpl 1008 2135 0 2073 11 2 9 9 0 8 0 procpl 696 4681 0 4604 11 2 9 9 0 8 0 sosppl 168 18 0 16 1 0 1 1 0 8 0 sockpl 456 5394 0 5367 108 95 13 35 0 8 8 mcl64k 65536 107 0 107 1 0 1 1 0 8 1 mcl16k 16384 30 0 30 2 1 1 1 0 8 1 mcl12k 12288 69 0 69 1 0 1 1 0 8 1 mcl9k 9216 16 0 16 4 4 0 1 0 8 0 mcl8k 8192 241 0 241 1 0 1 1 0 8 1 mcl4k 4096 172 0 172 1 0 1 1 0 8 1 mcl2k2 2112 9 0 9 3 3 0 1 0 8 0 mcl2k 2048 81096 0 81048 35 27 8 29 0 8 1 mtagpl 96 147 0 147 4 4 0 3 0 8 0 mbufpl 256 142821 0 142723 26 14 12 19 0 8 0 bufpl 288 6904 0 519 457 0 457 457 0 8 0 anonpl 24 401832 0 387913 129 20 109 123 0 188 1 amapchunkpl 152 62331 0 61526 56 15 41 48 0 158 3 amappl16 200 11361 0 10878 74 39 35 39 0 8 9 amappl15 192 15 0 14 2 1 1 1 0 8 0 amappl14 184 184 0 169 2 1 1 2 0 8 0 amappl13 176 7 0 7 1 1 0 1 0 8 0 amappl12 168 2881 0 2856 2 0 2 2 0 8 0 amappl11 160 56 0 45 1 0 1 1 0 8 0 amappl10 152 46 0 35 1 0 1 1 0 8 0 amappl9 144 168 0 167 2 1 1 2 0 8 0 amappl8 136 203 0 148 2 0 2 2 0 8 0 amappl7 128 67 0 51 1 0 1 1 0 8 0 amappl6 120 314 0 296 2 1 1 2 0 8 0 amappl5 112 205 0 199 1 0 1 1 0 8 0 amappl4 104 719 0 689 2 1 1 2 0 8 0 amappl3 96 12181 0 12117 3 0 3 3 0 8 0 amappl2 88 2482 0 2427 4 2 2 3 0 8 0 amappl1 80 16514 0 16017 22 10 12 22 0 8 0 amappl 88 18102 0 17898 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 58 0 0 2 0 2 2 0 8 0 uaddrrnd 24 2098 0 2074 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2098 0 2074 1 0 1 1 0 8 0 vmmpekpl 168 21460 0 21400 3 0 3 3 0 8 0 vmmpepl 168 152510 0 150409 165 35 130 144 0 357 26 vmsppl 360 2097 0 2074 3 0 3 3 0 8 0 rwobjpl 24 49048 0 42999 38 0 38 38 0 8 0 pdppl 4096 4202 0 4148 172 110 62 70 0 8 8 pvpl 32 883016 0 864075 332 57 275 332 0 265 87 pmappl 216 2097 0 2074 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 946 0 174 23 0 23 23 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000cf4f80,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cf4f80) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c67b0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd8075238e70) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd805bd022e8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805bd022e8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805bd022e8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8067e0a2d0,ffff800024b7b350) at soo_close+0x44 fdrop(fffffd8067e0a2d0,ffff800024b7b350) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8067e0a2d0,ffff800024b7b350) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff800024b7b350) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff800024b7b350,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff800024b7b350,ffff80002b857210,ffff80002b857260) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002b8572e0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79653965a6f0, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000cf4f80,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000cf4f80) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c67b0) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd8075238e70) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd805bd022e8) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805bd022e8,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805bd022e8,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8067e0a2d0,ffff800024b7b350) at soo_close+0x44 fdrop(fffffd8067e0a2d0,ffff800024b7b350) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8067e0a2d0,ffff800024b7b350) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff800024b7b350) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff800024b7b350,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff800024b7b350,ffff80002b857210,ffff80002b857260) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002b8572e0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79653965a6f0, count: -14