uvm_fault(0xfffffd8069d75b90, 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(ffff800000d5b6c0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000d5b6c0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000e3a850) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd805a85feb0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd805a875a10) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805a875a10,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805a875a10,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd806f89b8e8,ffff8000fffec850) at soo_close+0x44 fdrop(fffffd806f89b8e8,ffff8000fffec850) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd806f89b8e8,ffff8000fffec850) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000fffec850) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000fffec850,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000fffec850,ffff800023152440,ffff800023152490) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800023152510) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79b492097120, 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(0xfffffd8069d75b90, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000d5b6c0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000d5b6c0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000e3a850) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd805a85feb0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd805a875a10) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805a875a10,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805a875a10,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd806f89b8e8,ffff8000fffec850) at soo_close+0x44 fdrop(fffffd806f89b8e8,ffff8000fffec850) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd806f89b8e8,ffff8000fffec850) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000fffec850) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000fffec850,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000fffec850,ffff800023152440,ffff800023152490) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800023152510) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79b492097120, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff8000231520d0 rbx 0x5 rdx 0 rcx 0x1 rax 0 r8 0xffffffffffffffff r9 0x5 r10 0x6b8e560bc1a8840d r11 0x1025c0c3274bb704 r12 0 r13 0x3 r14 0xffff800000d5b6c0 r15 0xffff8000006b7000 rip 0xffffffff8257793f igmp_leavegroup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000231520a0 ss 0x10 igmp_leavegroup+0xaf: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.7) pid=336886 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=84, nice=20 forw=0xffffffffffffffff, list=0xffff80002e889390,0xffff8000fffec2f0 process=0xffff80002e8867e0 user=0xffff80002314d000, vmspace=0xfffffd8069d75b90 estcpu=34, cpticks=1, pctcpu=0.19 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 99294 86335 87521 0 2 0 syz-executor.0 99294 455185 87521 0 3 0x4000080 fsleep syz-executor.0 53167 223076 18459 0 3 0x80 nanoslp syz-executor.3 53167 216088 18459 0 3 0x4000080 kqpoll syz-executor.3 53167 61565 18459 0 3 0x4000080 fsleep syz-executor.3 74878 468581 30998 0 3 0x82 nanoslp syz-executor.4 49694 379999 30998 0 2 0x482 syz-executor.1 58393 296530 30998 0 2 0x482 syz-executor.5 53452 357607 30998 0 3 0x82 nanoslp syz-executor.7 30689 160899 0 0 3 0x14280 nfsidl nfsio 53283 194780 0 0 3 0x14280 nfsidl nfsio 19892 451305 0 0 3 0x14280 nfsidl nfsio 71843 224464 0 0 3 0x14280 nfsidl nfsio 96659 118764 0 0 3 0x14280 nfsidl nfsio 50376 262412 0 0 3 0x14280 nfsidl nfsio 73360 238287 0 0 3 0x14280 nfsidl nfsio 17000 399218 0 0 3 0x14280 nfsidl nfsio 51724 503378 0 0 3 0x14280 nfsidl nfsio 6843 451989 0 0 3 0x14280 nfsidl nfsio 73782 409650 0 0 3 0x14280 nfsidl nfsio 88233 148536 0 0 3 0x14280 nfsidl nfsio 80572 255682 0 0 3 0x14280 nfsidl nfsio 83639 391969 0 0 3 0x14280 nfsidl nfsio 25283 247444 0 0 3 0x14280 nfsidl nfsio 88936 354447 0 0 3 0x14280 nfsidl nfsio 761 286322 0 0 3 0x14280 nfsidl nfsio 20795 201168 0 0 3 0x14280 nfsidl nfsio 88726 114987 0 0 3 0x14280 nfsidl nfsio 12042 520128 0 0 3 0x14280 nfsidl nfsio 54527 309066 30998 0 3 0x82 nanoslp syz-executor.2 19227 394239 30998 0 2 0x482 syz-executor.6 87521 439749 30998 0 2 0x482 syz-executor.0 35850 462430 1 0 3 0x100083 ttyin getty 49477 163688 0 0 3 0x14200 acct acct 18459 182385 30998 0 3 0x82 nanoslp syz-executor.3 53009 65380 0 0 3 0x14200 bored sosplice 30998 180761 58153 0 3 0x82 wait syz-fuzzer 30998 160627 58153 0 3 0x4000082 thrsleep syz-fuzzer 30998 132580 58153 0 3 0x4000082 thrsleep syz-fuzzer 30998 512295 58153 0 3 0x4000082 thrsleep syz-fuzzer 30998 311914 58153 0 3 0x4000082 thrsleep syz-fuzzer 30998 334558 58153 0 3 0x4000082 wait syz-fuzzer 30998 55077 58153 0 3 0x4000082 wait syz-fuzzer 30998 201318 58153 0 3 0x4000082 kqread syz-fuzzer 30998 266070 58153 0 3 0x4000082 wait syz-fuzzer 30998 368746 58153 0 3 0x4000082 wait syz-fuzzer 30998 382902 58153 0 3 0x4000082 thrsleep syz-fuzzer 30998 8537 58153 0 3 0x4000082 wait syz-fuzzer 30998 65511 58153 0 3 0x4000082 wait syz-fuzzer 30998 49414 58153 0 3 0x4000082 wait syz-fuzzer 58153 344360 83280 0 3 0x10008a sigsusp ksh 83280 365109 6399 0 3 0x9a kqread sshd 6399 431313 1 0 3 0x88 kqread sshd 55325 139689 6793 73 3 0x1100090 kqread syslogd 6793 367555 1 0 3 0x100082 netio syslogd 77177 262471 1 0 3 0x100080 kqread resolvd 32505 465253 0 0 3 0x14200 bored smr 22130 407926 0 0 2 0x14200 zerothread 53004 384709 0 0 3 0x14200 aiodoned aiodoned 42142 276641 0 0 3 0x14200 syncer update 69239 228021 0 0 3 0x14200 cleaner cleaner 2818 84817 0 0 3 0x14200 reaper reaper 4261 209678 0 0 3 0x14200 pgdaemon pagedaemon 25314 209630 0 0 3 0x14200 bored viomb 11312 144920 0 0 3 0x40014200 acpi0 acpi0 23718 484472 0 0 3 0x14200 bored softnet3 51337 337421 0 0 3 0x14200 bored softnet2 69547 332250 0 0 3 0x14200 bored softnet1 30275 510175 0 0 3 0x14200 bored softnet0 50369 286759 0 0 3 0x14200 bored systqmp 99712 21466 0 0 3 0x14200 bored systq 75887 166013 0 0 2 0x40014200 softclock 35465 37808 0 0 3 0x40014200 idle0 1 153435 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 10205 6436K 6935K 78643K 15687 0 pcb 13 22K 27K 78643K 1678 0 rtable 183 15K 18K 78643K 1554 0 ifaddr 89 25K 28K 78643K 685 0 sysctl 2 0K 2K 78643K 5 0 counters 28 17K 18K 78643K 253 0 ioctlops 0 0K 2K 78643K 747 0 iov 0 0K 24K 78643K 649 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1550 97K 97K 78643K 5115 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 59 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 146 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 13 45K 73K 78643K 6064 0 sigio 0 0K 0K 78643K 54 0 proc 57 51K 75K 78643K 1189 0 subproc 104 6K 7K 78643K 357 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 4 0K 0K 78643K 427 0 in_multi 65 4K 6K 78643K 508 0 ether_multi 1 0K 0K 78643K 65 0 mrt 1 0K 0K 78643K 16 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 1K 78643K 1935 0 pfkey data 0 0K 0K 78643K 5 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 341 93K 96K 78643K 57654 0 UVM aobj 108 3K 3K 78643K 122 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 224 0 NDP 17 0K 2K 78643K 212 0 temp 142 5858K 14046K 78643K 108011 0 kqueue 6 10K 26K 78643K 636 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 611 0 608 9 8 1 3 0 8 0 rtentry 112 403 0 329 4 1 3 4 0 8 0 unpcb 144 6433 0 6421 50 47 3 10 0 8 2 syncache 296 46 0 46 10 9 1 1 0 8 1 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 548 0 548 10 9 1 1 0 8 1 tcpcb 776 2407 0 2403 79 71 8 14 0 8 7 arp 88 59 0 45 1 0 1 1 0 8 0 ipq 40 7 0 7 3 3 0 1 0 8 0 ipqe 40 55 0 55 3 3 0 1 0 8 0 inpcb 336 24675 0 24667 238 228 10 26 0 8 8 nd6 104 83 0 67 1 0 1 1 0 8 0 pkpcb 40 115 0 115 4 4 0 1 0 8 0 kcovpl 48 27 0 19 1 0 1 1 0 8 0 mppekey 1024 9 0 9 4 4 0 1 0 8 0 ppxss 1160 125 0 125 13 12 1 1 0 8 1 pppxif 1360 78 0 78 9 8 1 1 0 8 1 pfstscr 40 203 0 193 1 0 1 1 0 8 0 pfosfp 40 3 0 2 1 0 1 1 0 8 0 pfosfpen 112 3 0 2 1 0 1 1 0 8 0 pfanchor 1288 701 39 189 46 3 43 43 0 8 0 pfstitem 24 42 0 22 1 0 1 1 0 8 0 pfstkey 128 395 0 383 1 0 1 1 0 8 0 pfstate 352 202 0 189 2 0 2 2 0 8 0 rttmr 136 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1811 0 1508 41 16 25 30 0 8 2 art_table 32 1812 0 1508 4 0 4 4 0 8 0 art_node 16 386 0 322 1 0 1 1 0 8 0 sysvmsgpl 40 53 0 13 1 0 1 1 0 8 0 semupl 112 5 0 5 2 2 0 1 0 8 0 semapl 112 11 0 1 1 0 1 1 0 8 0 shmpl 112 119 0 14 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 9739 0 8275 92 0 92 92 0 8 0 ffsino 240 9739 0 8275 87 0 87 87 0 8 0 nchpl 144 18056 0 16418 63 1 62 63 0 8 0 rtmask 32 7 0 7 3 3 0 1 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 63913 0 63913 4 3 1 3 0 8 1 kstatmem 264 310 0 280 4 1 3 3 0 8 0 scsiplug 72 4 0 4 1 1 0 1 0 8 0 scxspl 216 55120 0 55120 25 24 1 8 0 8 1 plimitpl 152 902 0 887 1 0 1 1 0 8 0 sigapl 424 6344 0 6280 8 0 8 8 0 8 0 futexpl 64 68734 0 68732 4 3 1 1 0 8 0 knotepl 120 133526 0 133462 85 79 6 19 0 8 1 kqueuepl 184 1554 0 1548 23 22 1 4 0 8 0 pipepl 288 1661 0 1633 36 33 3 7 0 8 0 fdescpl 432 6306 0 6285 4 0 4 4 0 8 0 filepl 120 63263 0 63032 89 75 14 23 0 8 6 lockfpl 104 1738 0 1737 4 3 1 2 0 8 0 lockfspl 48 453 0 452 1 0 1 1 0 8 0 sessionpl 144 43 0 28 1 0 1 1 0 8 0 pgrppl 48 68 0 53 1 0 1 1 0 8 0 ucredpl 104 6449 0 6442 1 0 1 1 0 8 0 zombiepl 144 6286 0 6280 2 1 1 1 0 8 0 processpl 1008 6344 0 6280 10 1 9 9 0 8 0 procpl 696 15328 0 15248 20 11 9 9 0 8 1 sosppl 168 1057 0 1055 8 7 1 1 0 8 0 sockpl 456 31834 0 31810 622 611 11 58 0 8 7 mcl64k 65536 271 0 271 12 11 1 1 0 8 1 mcl16k 16384 114 0 114 11 10 1 1 0 8 1 mcl12k 12288 213 0 213 10 9 1 1 0 8 1 mcl9k 9216 84 0 84 14 13 1 1 0 8 1 mcl8k 8192 343 0 343 10 9 1 1 0 8 1 mcl4k 4096 787 0 787 9 8 1 1 0 8 1 mcl2k2 2112 48 0 48 12 11 1 1 0 8 1 mcl2k 2048 81016 0 80970 67 59 8 31 0 8 1 mtagpl 96 450 0 387 11 8 3 5 0 8 0 mbufpl 256 198847 0 198676 832 815 17 287 0 8 2 bufpl 288 14623 0 8238 457 0 457 457 0 8 0 anonpl 24 720821 0 707749 157 46 111 125 0 188 0 amapchunkpl 152 184053 0 183261 87 49 38 48 0 158 0 amappl16 200 15043 0 14539 95 66 29 43 0 8 0 amappl15 192 22 0 21 1 0 1 1 0 8 0 amappl14 184 201 0 192 2 1 1 2 0 8 0 amappl13 176 6 0 5 1 0 1 1 0 8 0 amappl12 168 7206 0 7184 2 0 2 2 0 8 0 amappl11 160 48 0 44 1 0 1 1 0 8 0 amappl10 152 58 0 48 2 1 1 1 0 8 0 amappl9 144 216 0 214 2 1 1 2 0 8 0 amappl8 136 386 0 289 4 0 4 4 0 8 0 amappl7 128 68 0 50 1 0 1 1 0 8 0 amappl6 120 402 0 381 2 1 1 2 0 8 0 amappl5 112 311 0 308 1 0 1 1 0 8 0 amappl4 104 930 0 899 2 0 2 2 0 8 0 amappl3 96 36203 0 36142 3 0 3 3 0 8 0 amappl2 88 6658 0 6616 4 2 2 3 0 8 0 amappl1 80 32304 0 31900 22 10 12 22 0 8 0 amappl 88 56845 0 56643 7 1 6 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 121 0 14 2 0 2 2 0 8 0 uaddrrnd 24 6306 0 6285 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6306 0 6285 1 0 1 1 0 8 0 vmmpekpl 168 50319 0 50263 4 1 3 3 0 8 0 vmmpepl 168 391065 0 389101 253 139 114 131 0 357 9 vmsppl 368 6305 0 6285 3 0 3 3 0 8 0 rwobjpl 24 100235 0 92825 50 2 48 48 0 8 0 pdppl 4096 12618 0 12570 404 346 58 68 0 8 10 pvpl 32 1928115 0 1910251 456 260 196 321 0 265 18 pmappl 216 6305 0 6285 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 2323 0 1552 38 12 26 31 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000d5b6c0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000d5b6c0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000e3a850) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd805a85feb0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd805a875a10) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805a875a10,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805a875a10,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd806f89b8e8,ffff8000fffec850) at soo_close+0x44 fdrop(fffffd806f89b8e8,ffff8000fffec850) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd806f89b8e8,ffff8000fffec850) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000fffec850) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000fffec850,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000fffec850,ffff800023152440,ffff800023152490) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800023152510) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79b492097120, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000d5b6c0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000d5b6c0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000e3a850) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd805a85feb0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd805a875a10) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd805a875a10,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd805a875a10,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd806f89b8e8,ffff8000fffec850) at soo_close+0x44 fdrop(fffffd806f89b8e8,ffff8000fffec850) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd806f89b8e8,ffff8000fffec850) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000fffec850) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000fffec850,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000fffec850,ffff800023152440,ffff800023152490) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff800023152510) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79b492097120, count: -14