[ 71.4149773] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/arch/amd64/amd64/process_machdep.c:159:2, member access within misaligned address 0xffff9a00b3adc8c8 for type 'struct fpreg' which requires 16 byte alignment [ 71.4349644] cpu1: Begin traceback... [ 71.4649749] vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336 [ 71.5249933] isAlreadyReported() at netbsd:isAlreadyReported [ 71.5950133] HandleTypeMismatch.part.1() at netbsd:HandleTypeMismatch.part.1+0xcc [ 71.6550247] HandleTypeMismatch() at netbsd:HandleTypeMismatch+0x7b sys/../common/lib/libc/misc/ubsan.c:408 [ 71.7050405] process_read_fpregs() at netbsd:process_read_fpregs+0x3d sys/arch/amd64/amd64/process_machdep.c:159 [ 71.7650565] ufs_dircompact: reached 4.2-only block, not supposed to happen [ 71.7768892] proc_regio() at netbsd:proc_regio+0x164 sys/kern/sys_ptrace_common.c:1478 [ 71.8450815] process_dofpregs() at netbsd:process_dofpregs+0xa7 sys/kern/sys_ptrace_common.c:1566 [ 71.9050993] do_ptrace() at netbsd:do_ptrace+0x12d6 ptrace_regs sys/kern/sys_ptrace_common.c:897 [inline] [ 71.9050993] do_ptrace() at netbsd:do_ptrace+0x12d6 sys/kern/sys_ptrace_common.c:1429 [ 71.9551084] sys_ptrace() at netbsd:sys_ptrace+0x4f sys/kern/sys_ptrace.c:218 [ 72.0151309] sys___syscall() at netbsd:sys___syscall+0x1c8 sy_call sys/sys/syscallvar.h:65 [inline] [ 72.0151309] sys___syscall() at netbsd:sys___syscall+0x1c8 sys/kern/sys_syscall.c:77 [ 72.0751451] syscall() at netbsd:syscall+0x29a sy_call sys/sys/syscallvar.h:65 [inline] [ 72.0751451] syscall() at netbsd:syscall+0x29a sy_invoke sys/sys/syscallvar.h:94 [inline] [ 72.0751451] syscall() at netbsd:syscall+0x29a sys/arch/x86/x86/syscall.c:138 [ 72.0951490] --- syscall (number 198) --- [ 72.1051488] Skipping crash dump on recursive panic [ 72.1051488] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/arch/amd64/amd64/db_machdep.c:153:24, member access within misaligned address 0x4 for type 'struct x86_64_frame' which requires 8 byte alignment [ 72.1251554] Faulted in mid-traceback; aborting... [ 72.1351600] fatal breakpoint trap in supervisor mode [ 72.1351600] trap type 1 code 0 rip 0xffffffff8021ddbd cs 0x8 rflags 0x286 cr2 0x1b2d038000 ilevel 0x8 rsp 0xffff9a00b3adb4b0 [ 72.1451606] curlwp 0xffffc9a2fb354260 pid 526.3 lowest kstack 0xffff9a00b3ad92c0 Stopped in pid 526.3 (syz-executor.1) at netbsd:breakpoint+0x5: leave ? breakpoint() at netbsd:breakpoint+0x5 db_panic() at netbsd:db_panic+0x109 sys/ddb/db_panic.c:67 vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336 isAlreadyReported() at netbsd:isAlreadyReported HandleTypeMismatch.part.1() at netbsd:HandleTypeMismatch.part.1+0xcc HandleTypeMismatch() at netbsd:HandleTypeMismatch+0x7b sys/../common/lib/libc/misc/ubsan.c:408 db_nextframe() at netbsd:db_nextframe+0x6f6 sys/arch/amd64/amd64/db_machdep.c:153 db_stack_trace_print() at netbsd:db_stack_trace_print+0x2c4 sys/arch/x86/x86/db_trace.c:277 db_panic() at netbsd:db_panic+0xa3 x86_curcpu sys/arch/amd64/compile/obj/GENERIC_SYZKALLER/./machine/cpu.h:67 [inline] db_panic() at netbsd:db_panic+0xa3 sys/ddb/db_panic.c:57 vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336 isAlreadyReported() at netbsd:isAlreadyReported HandleTypeMismatch.part.1() at netbsd:HandleTypeMismatch.part.1+0xcc HandleTypeMismatch() at netbsd:HandleTypeMismatch+0x7b sys/../common/lib/libc/misc/ubsan.c:408 process_read_fpregs() at netbsd:process_read_fpregs+0x3d sys/arch/amd64/amd64/process_machdep.c:159 proc_regio() at netbsd:proc_regio+0x164 sys/kern/sys_ptrace_common.c:1478 process_dofpregs() at netbsd:process_dofpregs+0xa7 sys/kern/sys_ptrace_common.c:1566 do_ptrace() at netbsd:do_ptrace+0x12d6 ptrace_regs sys/kern/sys_ptrace_common.c:897 [inline] do_ptrace() at netbsd:do_ptrace+0x12d6 sys/kern/sys_ptrace_common.c:1429 sys_ptrace() at netbsd:sys_ptrace+0x4f sys/kern/sys_ptrace.c:218 sys___syscall() at netbsd:sys___syscall+0x1c8 sy_call sys/sys/syscallvar.h:65 [inline] sys___syscall() at netbsd:sys___syscall+0x1c8 sys/kern/sys_syscall.c:77 syscall() at netbsd:syscall+0x29a sy_call sys/sys/syscallvar.h:65 [inline] syscall() at netbsd:syscall+0x29a sy_invoke sys/sys/syscallvar.h:94 [inline] syscall() at netbsd:syscall+0x29a sys/arch/x86/x86/syscall.c:138 --- syscall (number 198) --- [ 72.1551646] Skipping crash dump on recursive panic [ 72.1551646] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/arch/amd64/amd64/db_machdep.c:154:14, member access within misaligned address 0x4 for type 'struct x86_64_frame' which requires 8 byte alignment [ 72.1551646] Faulted in mid-traceback; aborting... [ 72.1551646] fatal breakpoint trap in supervisor mode [ 72.1551646] trap type 1 code 0 rip 0xffffffff8021ddbd cs 0x8 rflags 0x286 cr2 0x1b2d038000 ilevel 0x8 rsp 0xffff9a00b3ada1b0 [ 72.1551646] curlwp 0xffffc9a2fb354260 pid 526.3 lowest kstack 0xffff9a00b3ad92c0 Stopped in pid 526.3 (syz-executor.1) at netbsd:breakpoint+0x5: leave