[ 50.3074852] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/net/rtsock_shared.c:631:41, member access within misaligned address 0xfffff8a582c2f58c for type 'struct rt_msghdr' which requires 8 byte alignment [ 50.3251604] cpu0: Begin traceback... [ 50.3518855] vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336 [ 50.4185080] isAlreadyReported() at netbsd:isAlreadyReported [ 50.4851323] HandleTypeMismatch.part.1() at netbsd:HandleTypeMismatch.part.1+0xcc [ 50.5517574] HandleTypeMismatch() at netbsd:HandleTypeMismatch+0x7b sys/../common/lib/libc/misc/ubsan.c:408 [ 50.6294827] route_output() at netbsd:route_output+0x17df sys/net/rtsock_shared.c:631 [ 50.7072093] raw_send() at netbsd:raw_send+0x20b sys/net/raw_usrreq.c:182 [ 50.7738338] route_send_wrapper() at netbsd:route_send_wrapper+0x9f route_send sys/net/rtsock_shared.c:464 [inline] [ 50.7738338] route_send_wrapper() at netbsd:route_send_wrapper+0x9f sys/net/rtsock_shared.c:1661 [ 50.8515656] sosend() at netbsd:sosend+0x15ac sys/kern/uipc_socket.c:1059 [ 50.9070788] do_sys_sendmsg_so() at netbsd:do_sys_sendmsg_so+0x53d sys/kern/uipc_syscalls.c:629 [ 50.9736998] do_sys_sendmsg() at netbsd:do_sys_sendmsg+0xcd sys/kern/uipc_syscalls.c:679 [ 51.0403246] sys_sendto() at netbsd:sys_sendto+0xc9 sys/kern/uipc_syscalls.c:514 [ 51.1069476] sys___syscall() at netbsd:sys___syscall+0x1c8 sy_call sys/sys/syscallvar.h:65 [inline] [ 51.1069476] sys___syscall() at netbsd:sys___syscall+0x1c8 sys/kern/sys_syscall.c:77 [ 51.1735716] syscall() at netbsd:syscall+0x29a sy_call sys/sys/syscallvar.h:65 [inline] [ 51.1735716] syscall() at netbsd:syscall+0x29a sy_invoke sys/sys/syscallvar.h:94 [inline] [ 51.1735716] syscall() at netbsd:syscall+0x29a sys/arch/x86/x86/syscall.c:138 [ 51.1957815] --- syscall (number 198) --- [ 51.1957815] Skipping crash dump on recursive panic [ 51.2106730] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/arch/amd64/amd64/db_machdep.c:153:24, member access within misaligned address 0x6 for type 'struct x86_64_frame' which requires 8 byte alignment [ 51.2339938] Faulted in mid-traceback; aborting... [ 51.2339938] fatal breakpoint trap in supervisor mode [ 51.2428622] trap type 1 code 0 rip 0xffffffff8021e7cd cs 0x8 rflags 0x282 cr2 0x200024c0 ilevel 0x4 rsp 0xffff9c80b2c665f0 [ 51.2571121] curlwp 0xfffff8a5942e79a0 pid 562.3 lowest kstack 0xffff9c80b2c642c0 Stopped in pid 562.3 (syz-executor.1) at netbsd:breakpoint+0x5: leave ? breakpoint() at netbsd:breakpoint+0x5 db_panic() at netbsd:db_panic+0xd1 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+0x8b x86_curcpu sys/arch/amd64/compile/obj/GENERIC_SYZKALLER/./machine/cpu.h:56 [inline] db_panic() at netbsd:db_panic+0x8b 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+0x17df 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 do_sys_sendmsg_so() at netbsd:do_sys_sendmsg_so+0x53d sys/kern/uipc_syscalls.c:629 do_sys_sendmsg() at netbsd:do_sys_sendmsg+0xcd sys/kern/uipc_syscalls.c:679 sys_sendto() at netbsd:sys_sendto+0xc9 sys/kern/uipc_syscalls.c:514 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) --- [ 51.2652974] Skipping crash dump on recursive panic [ 51.2652974] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/arch/amd64/amd64/db_machdep.c:154:14, member access within misaligned address 0x6 for type 'struct x86_64_frame' which requires 8 byte alignment [ 51.2652974] Faulted in mid-traceback; aborting... [ 51.2652974] fatal breakpoint trap in supervisor mode [ 51.2652974] trap type 1 code 0 rip 0xffffffff8021e7cd cs 0x8 rflags 0x282 cr2 0x200024c0 ilevel 0x8 rsp 0xffff9c80b2c652f0 [ 51.2652974] curlwp 0xfffff8a5942e79a0 pid 562.3 lowest kstack 0xffff9c80b2c642c0 Stopped in pid 562.3 (syz-executor.1) at netbsd:breakpoint+0x5: leave