uvm_fault(0xffffef006d086ba0, 0x4008, 0, 1) -> e kernel: page fault trap, code=0 Stopped at ip6_freemoptions+0x65: movq 0x8(%r15),%r13 TID PID UID PRFLAGS PFLAGS CPU COMMAND ip6_freemoptions(ffff800000c43ef0) at ip6_freemoptions+0x65 sys/netinet6/ip6_output.c:2147 in_pcbdetach(ffffef006fcf6290) at in_pcbdetach+0x122 sys/netinet/in_pcb.c:608 tcp_close(ffff8000015b8000) at tcp_close+0x194 tcpstat_inc sys/netinet/tcp_var.h:-1 [inline] tcp_close(ffff8000015b8000) at tcp_close+0x194 sys/netinet/tcp_subr.c:530 tcp_detach(ffff800001586eb8) at tcp_detach+0x8f sys/netinet/tcp_usrreq.c:-1 soclose(ffff800001586eb8,0) at soclose+0xb0 pru_detach sys/sys/protosw.h:281 [inline] soclose(ffff800001586eb8,0) at soclose+0xb0 sys/kern/uipc_socket.c:403 soo_close(ffffef006db871f8,ffff800045fead18) at soo_close+0x56 sys/kern/sys_socket.c:-1 fdrop(ffffef006db871f8,ffff800045fead18) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(ffffef006db871f8,ffff800045fead18) at closef+0x192 sys/kern/kern_descrip.c:1265 fdfree(ffff800045fead18) at fdfree+0x116 sys/kern/kern_descrip.c:1196 exit1(ffff800045fead18,0,0,1) at exit1+0x595 sys/kern/kern_exit.c:215 sys_exit(ffff800045fead18,ffff80002a2cebb0,ffff80002a2ceb00) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a2cebb0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a2cebb0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7613f6ab2180, count: 2 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: uvm_fault(0xffffef006d086ba0, 0x4008, 0, 1) -> e ddb{1}> show kasan No such command ddb{1}> trace ip6_freemoptions(ffff800000c43ef0) at ip6_freemoptions+0x65 sys/netinet6/ip6_output.c:2147 in_pcbdetach(ffffef006fcf6290) at in_pcbdetach+0x122 sys/netinet/in_pcb.c:608 tcp_close(ffff8000015b8000) at tcp_close+0x194 tcpstat_inc sys/netinet/tcp_var.h:-1 [inline] tcp_close(ffff8000015b8000) at tcp_close+0x194 sys/netinet/tcp_subr.c:530 tcp_detach(ffff800001586eb8) at tcp_detach+0x8f sys/netinet/tcp_usrreq.c:-1 soclose(ffff800001586eb8,0) at soclose+0xb0 pru_detach sys/sys/protosw.h:281 [inline] soclose(ffff800001586eb8,0) at soclose+0xb0 sys/kern/uipc_socket.c:403 soo_close(ffffef006db871f8,ffff800045fead18) at soo_close+0x56 sys/kern/sys_socket.c:-1 fdrop(ffffef006db871f8,ffff800045fead18) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(ffffef006db871f8,ffff800045fead18) at closef+0x192 sys/kern/kern_descrip.c:1265 fdfree(ffff800045fead18) at fdfree+0x116 sys/kern/kern_descrip.c:1196 exit1(ffff800045fead18,0,0,1) at exit1+0x595 sys/kern/kern_exit.c:215 sys_exit(ffff800045fead18,ffff80002a2cebb0,ffff80002a2ceb00) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a2cebb0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a2cebb0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7613f6ab2180, count: -13 ddb{1}> show registers rdi 0xffff800000c43ef0 rsi 0x100 rbp 0xffff80002a2ce7a0 rbx 0x3 rdx 0 rcx 0xffff800045fead18 rax 0xffff80002999dff0 r8 0xffffffffffffffff r9 0x1 r10 0x800cf54da010de67 r11 0xde70139cfc1a318f r12 0 r13 0x100 r14 0xffff800000c43ef0 r15 0x4000 __ALIGN_SIZE+0x3000 rip 0xffffffff82859905 ip6_freemoptions+0x65 cs 0x8 rflags 0x10206 __ALIGN_SIZE+0xf206 rsp 0xffff80002a2ce760 ss 0x10 ip6_freemoptions+0x65: movq 0x8(%r15),%r13 ddb{1}> show proc PROC (syz-executor) tid=174487 pid=77683 tcnt=0 stat=onproc flags process=1018 proc=2000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff800045fead18 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003c406fb8,0xffff800045feafc0 process=0xffff80003bfcc4f0 user=0xffff80002a2c9000, vmspace=0xffffef006d086ba0 estcpu=36, cpticks=6, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 96625 459106 74825 32767 3 0x10 0x80 nanoslp syz-executor 96625 95214 74825 32767 3 0x10 0x4000080 fsleep syz-executor 96625 163007 74825 32767 3 0x10 0x4000080 fsleep syz-executor 25083 410619 3880 0 3 0x2 0x80 wait syz-executor 7941 350473 59878 32767 3 0x10 0x80 piperd syz-executor 59878 274913 3880 0 3 0x2 0x80 wait syz-executor 74825 339917 62490 32767 3 0x10 0x80 nanoslp syz-executor 62490 368672 3880 0 3 0x2 0x80 wait syz-executor 40741 301761 45683 32767 3 0x10 0x80 piperd syz-executor 45683 244030 3880 0 3 0x2 0x80 wait syz-executor 63728 52416 43052 32767 3 0x10 0x80 nanoslp syz-executor 43052 319720 3880 0 3 0x2 0x80 wait syz-executor 35621 458008 21599 32767 3 0x10 0x80 nanoslp syz-executor 21599 172938 3880 0 3 0x2 0x80 wait syz-executor 18445 348279 72482 32767 3 0x10 0x80 piperd syz-executor 72482 302769 3880 0 3 0x2 0x80 wait syz-executor 3880 330467 67746 0 3 0x2 0x80 nanoslp syz-executor 67746 112964 84325 0 3 0x100002 0x88 sigsusp ksh 84325 179865 53732 0 3 0x10 0x88 kqread sshd-session 53732 329729 34726 0 3 0x12 0x80 kqread sshd-session 27245 35159 1 0 3 0x100003 0x80 ttyin getty 34726 245286 1 0 3 0 0x88 kqread sshd 84934 404693 15897 73 3 0x1100010 0x80 kqread syslogd 15897 421171 1 0 3 0x100002 0x80 sbwait syslogd 31876 146585 1 0 3 0x100000 0x80 kqread resolvd 2708 507028 32850 77 3 0x100012 0x80 kqread dhcpleased 13903 200799 32850 77 3 0x100012 0x80 kqread dhcpleased 32850 262834 1 0 3 0 0x80 kqread dhcpleased 19291 418030 0 0 3 0x14000 0x200 bored smr 45575 470396 0 0 2 0x14000 0x200 zerothread 32410 297904 0 0 3 0x14000 0x200 aiodoned aiodoned 79077 61753 0 0 3 0x14000 0x200 syncer update 90255 174471 0 0 3 0x14000 0x200 cleaner cleaner 75929 205105 0 0 3 0x14000 0x200 reaper reaper 13128 172263 0 0 3 0x14000 0x200 pgdaemon pagedaemon 38617 470359 0 0 3 0x14000 0x200 bored viomb 63228 408406 0 0 3 0x14000 0x40000200 acpi0 acpi0 93451 488543 0 0 3 0x14000 0x40000200 idle1 38674 515073 0 0 3 0x14000 0x200 bored softnet1 41833 400369 0 0 3 0x14000 0x200 bored softnet0 17945 441109 0 0 3 0x14000 0x200 bored systqmp 12648 380524 0 0 3 0x14000 0x200 bored systq 78957 100740 0 0 3 0x14000 0x200 tmoslp softclockmp 41683 388794 0 0 3 0x14000 0x40000200 tmoslp softclock 83301 506489 0 0 3 0x14000 0x40000200 idle0 1 236052 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{1}> show all locks ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11043 12013K 12034K 166960K 12167 0 pcb 17 12K 12K 166960K 17 0 rtable 193 5K 7K 166960K 625 0 pf 27 16K 16K 166960K 49 0 ifaddr 34 6K 7K 166960K 82 0 ifgroup 42 1K 2K 166960K 86 0 sysctl 1 1K 9K 166960K 6 0 counters 66 36K 37K 166960K 88 0 ioctlops 0 0K 2K 166960K 41 0 iov 0 0K 1K 166960K 4 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1287 81K 81K 166960K 1724 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 7 0K 0K 166960K 8 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 18 65K 125K 166960K 497 0 sigio 0 0K 0K 166960K 1 0 proc 61 115K 180K 166960K 769 0 subproc 63 3K 4K 166960K 432 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 1 0K 0K 166960K 17 0 in_multi 77 5K 6K 166960K 205 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 7 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 55 254K 254K 166960K 55 0 exec 0 0K 1K 166960K 518 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 206 143K 195K 166960K 4965 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 39 78K 112K 166960K 1831 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 3 0 NDP 17 1K 2K 166960K 54 0 temp 31 9122K 9142K 166960K 5816 0 kqueue 13 20K 24K 166960K 37 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 28 0 0 1 0 1 1 0 8 0 rtpcb 120 57 0 54 1 0 1 1 0 8 0 rtentry 176 210 0 122 5 0 5 5 0 8 0 unpcb 144 89 0 73 1 0 1 1 0 8 0 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 35 0 31 1 0 1 1 0 8 0 arp 136 36 0 22 1 0 1 1 0 8 0 inpcb 328 160 0 150 2 0 2 2 0 8 1 ip6q 80 3 0 0 1 0 1 1 0 8 0 nd6 152 51 0 33 1 0 1 1 0 8 0 kcovpl 48 48 0 41 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 855 0 487 29 0 29 29 0 8 6 art_table 40 856 0 487 5 0 5 5 0 8 0 art_node 32 210 0 130 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 72 6 0 1 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 1743 0 218 96 0 96 96 0 8 0 ffsino 296 1743 0 218 118 0 118 118 0 8 0 nchpl 144 2063 0 314 65 0 65 65 0 8 0 vnodes 216 2184 0 0 122 0 122 122 0 8 0 namei 1024 8441 0 8441 4 1 3 3 0 8 3 percpumem 16 60 0 11 1 0 1 1 0 8 0 kstatmem 264 43 0 22 2 0 2 2 0 8 0 scxspl 216 7077 0 7077 4 3 1 3 1 8 1 plimitpl 152 135 0 111 1 0 1 1 0 8 0 sigapl 424 715 0 668 7 0 7 7 0 8 1 knotepl 120 301 0 0 10 0 10 10 0 8 0 kqueuepl 224 42 0 32 1 0 1 1 0 8 0 pipepl 344 251 0 224 4 0 4 4 0 8 1 fdescpl 528 699 0 669 4 0 4 4 0 8 1 filepl 160 2628 0 2427 10 0 10 10 0 8 0 lockfpl 104 107 0 105 1 0 1 1 0 8 0 lockfspl 48 17 0 15 1 0 1 1 0 8 0 sessionpl 144 64 0 49 1 0 1 1 0 8 0 pgrppl 48 113 0 91 1 0 1 1 0 8 0 ucredpl 104 287 0 270 1 0 1 1 0 8 0 zombiepl 144 671 0 668 1 0 1 1 0 8 0 processpl 1232 715 0 668 5 0 5 5 0 8 0 procpl 664 883 0 834 6 0 6 6 0 8 0 sockpl 752 307 0 278 4 0 4 4 0 8 1 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k128 9344 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 126 0 0 16 0 16 16 0 8 0 mcl2k 2048 22 0 0 3 0 3 3 0 8 0 mextrefs 64 22 0 0 1 0 1 1 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 181 0 0 12 0 12 12 0 8 0 bufpl 272 2469 0 102 158 0 158 158 0 8 0 anonpl 32 7128 0 0 58 0 58 58 0 247 0 amapchunkpl 152 13800 0 13255 27 0 27 27 0 158 5 amappl16 200 1274 0 1261 4 0 4 4 0 8 2 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 515 0 514 1 0 1 1 0 8 0 amappl13 176 133 0 123 1 0 1 1 0 8 0 amappl12 168 970 0 941 2 0 2 2 0 8 0 amappl11 160 4 0 4 1 1 0 1 0 8 0 amappl10 152 59 0 49 1 0 1 1 0 8 0 amappl9 144 273 0 273 1 1 0 1 0 8 0 amappl8 136 135 0 134 1 0 1 1 0 8 0 amappl7 128 154 0 143 1 0 1 1 0 8 0 amappl6 120 245 0 244 1 0 1 1 0 8 0 amappl5 112 94 0 86 1 0 1 1 0 8 0 amappl4 104 286 0 270 1 0 1 1 0 8 0 amappl3 96 2391 0 2310 4 1 3 3 0 8 0 amappl2 88 786 0 715 2 0 2 2 0 8 0 amappl1 80 12014 0 11465 14 0 14 14 0 8 1 amappl 88 4064 0 3920 5 0 5 5 0 92 0 uvmvnodes 80 100 0 0 3 0 3 3 0 8 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 699 0 669 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 699 0 669 1 0 1 1 0 8 0 vmmpekpl 168 8053 0 7996 4 0 4 4 0 8 0 vmmpepl 168 52641 0 50913 93 1 92 93 0 357 9 vmsppl 488 698 0 668 7 1 6 6 0 8 1 rwobjpl 80 17080 0 16191 22 0 22 22 0 8 0 pdppl 4096 1405 0 1336 123 42 81 97 0 8 12 pvpl 32 13426 0 0 110 1 109 109 0 265 0 pmappl 256 698 0 668 4 1 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 457 0 46 12 0 12 12 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff8393fff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc exit1(ffff800045feb248,43,0,1) at exit1+0x720 sys/kern/kern_exit.c:260 sys_exit(ffff800045feb248,ffff80002a308aa0,ffff80002a3089f0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a308aa0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a308aa0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x705b2d53a910, count: 7 ddb{0}> trace x86_ipi_db(ffffffff8393fff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc exit1(ffff800045feb248,43,0,1) at exit1+0x720 sys/kern/kern_exit.c:260 sys_exit(ffff800045feb248,ffff80002a308aa0,ffff80002a3089f0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a308aa0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a308aa0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x705b2d53a910, count: -8 ddb{0}> machine ddbcpu 1 Stopped at ip6_freemoptions+0x65: movq 0x8(%r15),%r13 ip6_freemoptions(ffff800000c43ef0) at ip6_freemoptions+0x65 sys/netinet6/ip6_output.c:2147 in_pcbdetach(ffffef006fcf6290) at in_pcbdetach+0x122 sys/netinet/in_pcb.c:608 tcp_close(ffff8000015b8000) at tcp_close+0x194 tcpstat_inc sys/netinet/tcp_var.h:-1 [inline] tcp_close(ffff8000015b8000) at tcp_close+0x194 sys/netinet/tcp_subr.c:530 tcp_detach(ffff800001586eb8) at tcp_detach+0x8f sys/netinet/tcp_usrreq.c:-1 soclose(ffff800001586eb8,0) at soclose+0xb0 pru_detach sys/sys/protosw.h:281 [inline] soclose(ffff800001586eb8,0) at soclose+0xb0 sys/kern/uipc_socket.c:403 soo_close(ffffef006db871f8,ffff800045fead18) at soo_close+0x56 sys/kern/sys_socket.c:-1 fdrop(ffffef006db871f8,ffff800045fead18) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(ffffef006db871f8,ffff800045fead18) at closef+0x192 sys/kern/kern_descrip.c:1265 fdfree(ffff800045fead18) at fdfree+0x116 sys/kern/kern_descrip.c:1196 exit1(ffff800045fead18,0,0,1) at exit1+0x595 sys/kern/kern_exit.c:215 sys_exit(ffff800045fead18,ffff80002a2cebb0,ffff80002a2ceb00) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a2cebb0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a2cebb0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7613f6ab2180, count: 2 ddb{1}> trace ip6_freemoptions(ffff800000c43ef0) at ip6_freemoptions+0x65 sys/netinet6/ip6_output.c:2147 in_pcbdetach(ffffef006fcf6290) at in_pcbdetach+0x122 sys/netinet/in_pcb.c:608 tcp_close(ffff8000015b8000) at tcp_close+0x194 tcpstat_inc sys/netinet/tcp_var.h:-1 [inline] tcp_close(ffff8000015b8000) at tcp_close+0x194 sys/netinet/tcp_subr.c:530 tcp_detach(ffff800001586eb8) at tcp_detach+0x8f sys/netinet/tcp_usrreq.c:-1 soclose(ffff800001586eb8,0) at soclose+0xb0 pru_detach sys/sys/protosw.h:281 [inline] soclose(ffff800001586eb8,0) at soclose+0xb0 sys/kern/uipc_socket.c:403 soo_close(ffffef006db871f8,ffff800045fead18) at soo_close+0x56 sys/kern/sys_socket.c:-1 fdrop(ffffef006db871f8,ffff800045fead18) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(ffffef006db871f8,ffff800045fead18) at closef+0x192 sys/kern/kern_descrip.c:1265 fdfree(ffff800045fead18) at fdfree+0x116 sys/kern/kern_descrip.c:1196 exit1(ffff800045fead18,0,0,1) at exit1+0x595 sys/kern/kern_exit.c:215 sys_exit(ffff800045fead18,ffff80002a2cebb0,ffff80002a2ceb00) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a2cebb0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a2cebb0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7613f6ab2180, count: -13