[ 39.4909371] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/net/rtsock_shared.c:631:41, member access within misaligned address 0xffffe4837388a68c for type 'struct rt_msghdr' which requires 8 byte alignment [ 39.5009519] cpu1: Begin traceback... [ 39.5109779] vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336 [ 39.5510719] isAlreadyReported() at netbsd:isAlreadyReported [ 39.5911652] HandleTypeMismatch.part.1() at netbsd:HandleTypeMismatch.part.1+0xcc [ 39.6212354] HandleTypeMismatch() at netbsd:HandleTypeMismatch+0x7b sys/../common/lib/libc/misc/ubsan.c:408 [ 39.6713581] route_output() at netbsd:route_output+0x17d4 sys/net/rtsock_shared.c:631 [ 39.7014253] raw_send() at netbsd:raw_send+0x20b sys/net/raw_usrreq.c:182 [ 39.7515468] route_send_wrapper() at netbsd:route_send_wrapper+0x9f route_send sys/net/rtsock_shared.c:464 [inline] [ 39.7515468] route_send_wrapper() at netbsd:route_send_wrapper+0x9f sys/net/rtsock_shared.c:1661 [ 39.7916390] sosend() at netbsd:sosend+0x15ac sys/kern/uipc_socket.c:1059 [ 39.8217097] soo_write() at netbsd:soo_write+0x88 sys/kern/sys_socket.c:122 [ 39.8618064] do_filewritev.part.1() at netbsd:do_filewritev.part.1+0x415 [ 39.9019015] sys_writev() at netbsd:sys_writev+0x54 do_filewritev sys/kern/sys_generic.c:381 [inline] [ 39.9019015] sys_writev() at netbsd:sys_writev+0x54 sys/kern/sys_generic.c:381 [ 39.9419963] sys_syscall() at netbsd:sys_syscall+0x1c8 sy_call sys/sys/syscallvar.h:65 [inline] [ 39.9419963] sys_syscall() at netbsd:sys_syscall+0x1c8 sys/kern/sys_syscall.c:77 [ 39.9720684] syscall() at netbsd:syscall+0x29a sy_call sys/sys/syscallvar.h:65 [inline] [ 39.9720684] syscall() at netbsd:syscall+0x29a sy_invoke sys/sys/syscallvar.h:94 [inline] [ 39.9720684] syscall() at netbsd:syscall+0x29a sys/arch/x86/x86/syscall.c:138 [ 39.9921164] --- syscall (number 0) --- [ 39.9921164] Skipping crash dump on recursive panic [ 39.9921164] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/arch/amd64/amd64/db_machdep.c:153:24, member access within misaligned address 0xffffffff for type 'struct x86_64_frame' which requires 8 byte alignment [ 40.0221875] Faulted in mid-traceback; aborting... [ 40.0221875] fatal breakpoint trap in supervisor mode [ 40.0322119] trap type 1 code 0 rip 0xffffffff8021ddbd cs 0x8 rflags 0x286 cr2 0x20000480 ilevel 0x4 rsp 0xffffc380a6a3a6a0 [ 40.0422317] curlwp 0xffffe48373e762c0 pid 605.1 lowest kstack 0xffffc380a6a382c0 Stopped in pid 605.1 (syz-executor9978) 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 route_output() at netbsd:route_output+0x17d4 sys/net/rtsock_shared.c:631 raw_send() at netbsd:raw_send+0x20b sys/net/raw_usrreq.c:182 route_send_wrapper() at netbsd:route_send_wrapper+0x9f route_send sys/net/rtsock_shared.c:464 [inline] route_send_wrapper() at netbsd:route_send_wrapper+0x9f sys/net/rtsock_shared.c:1661 sosend() at netbsd:sosend+0x15ac sys/kern/uipc_socket.c:1059 soo_write() at netbsd:soo_write+0x88 sys/kern/sys_socket.c:122 do_filewritev.part.1() at netbsd:do_filewritev.part.1+0x415 sys_writev() at netbsd:sys_writev+0x54 do_filewritev sys/kern/sys_generic.c:381 [inline] sys_writev() at netbsd:sys_writev+0x54 sys/kern/sys_generic.c:381 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 0) --- [ 40.0422317] Skipping crash dump on recursive panic [ 40.0422317] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/arch/amd64/amd64/db_machdep.c:154:14, member access within misaligned address 0xffffffff for type 'struct x86_64_frame' which requires 8 byte alignment [ 40.0422317] Faulted in mid-traceback; aborting... [ 40.0422317] fatal breakpoint trap in supervisor mode [ 40.0422317] trap type 1 code 0 rip 0xffffffff8021ddbd cs 0x8 rflags 0x286 cr2 0x20000480 ilevel 0x8 rsp 0xffffc380a6a393a0 [ 40.0422317] curlwp 0xffffe48373e762c0 pid 605.1 lowest kstack 0xffffc380a6a382c0 Stopped in pid 605.1 (syz-executor9978) at netbsd:breakpoint+0x5: leave