[ 51.1272887] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/net/rtsock_shared.c:631:41, member access within misaligned address 0xffff8fd8ca17530c for type 'struct rt_msghdr50' which requires 8 byte alignment [ 51.1373029] cpu1: Begin traceback... [ 51.1573404] vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336 [ 51.2074445] isAlreadyReported() at netbsd:isAlreadyReported [ 51.2575457] HandleTypeMismatch.part.1() at netbsd:HandleTypeMismatch.part.1+0xcc [ 51.2876078] HandleTypeMismatch() at netbsd:HandleTypeMismatch+0x7b sys/../common/lib/libc/misc/ubsan.c:408 [ 51.3377082] compat_50_route_output() at netbsd:compat_50_route_output+0x1a4a sys/net/rtsock_shared.c:631 [ 51.3778978] raw_send() at netbsd:raw_send+0x20b sys/net/raw_usrreq.c:182 [ 51.4178833] compat_50_route_send_wrapper() at netbsd:compat_50_route_send_wrapper+0x9f compat_50_route_send sys/net/rtsock_shared.c:464 [inline] [ 51.4178833] compat_50_route_send_wrapper() at netbsd:compat_50_route_send_wrapper+0x9f sys/net/rtsock_shared.c:1663 [ 51.4579678] sosend() at netbsd:sosend+0x15ab sys/kern/uipc_socket.c:1059 [ 51.5080684] do_sys_sendmsg_so() at netbsd:do_sys_sendmsg_so+0x53d sys/kern/uipc_syscalls.c:629 [ 51.5481459] do_sys_sendmsg() at netbsd:do_sys_sendmsg+0xcd sys/kern/uipc_syscalls.c:679 [ 51.5882348] sys_sendto() at netbsd:sys_sendto+0xc9 sys/kern/uipc_syscalls.c:514 [ 51.6383344] sys_syscall() at netbsd:sys_syscall+0x1c8 sy_call sys/sys/syscallvar.h:65 [inline] [ 51.6383344] sys_syscall() at netbsd:sys_syscall+0x1c8 sys/kern/sys_syscall.c:77 [ 51.6784216] syscall() at netbsd:syscall+0x29a sy_call sys/sys/syscallvar.h:65 [inline] [ 51.6784216] syscall() at netbsd:syscall+0x29a sy_invoke sys/sys/syscallvar.h:94 [inline] [ 51.6784216] syscall() at netbsd:syscall+0x29a sys/arch/x86/x86/syscall.c:138 [ 51.6884425] --- syscall (number 0) --- [ 51.6984631] Skipping crash dump on recursive panic [ 51.6984631] 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 [ 51.7285258] Faulted in mid-traceback; aborting... [ 51.7285258] fatal breakpoint trap in supervisor mode [ 51.7385372] trap type 1 code 0 rip 0xffffffff8021ddfd cs 0x8 rflags 0x282 cr2 0x20000000 ilevel 0x4 rsp 0xffff9180a6d665f0 [ 51.7485663] curlwp 0xffff8fd89d634040 pid 498.1 lowest kstack 0xffff9180a6d642c0 Stopped in pid 498.1 (syz-executor9293) 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 compat_50_route_output() at netbsd:compat_50_route_output+0x1a4a sys/net/rtsock_shared.c:631 raw_send() at netbsd:raw_send+0x20b sys/net/raw_usrreq.c:182 compat_50_route_send_wrapper() at netbsd:compat_50_route_send_wrapper+0x9f compat_50_route_send sys/net/rtsock_shared.c:464 [inline] compat_50_route_send_wrapper() at netbsd:compat_50_route_send_wrapper+0x9f sys/net/rtsock_shared.c:1663 sosend() at netbsd:sosend+0x15ab 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 0) --- [ 51.7485663] Skipping crash dump on recursive panic [ 51.7485663] 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 [ 51.7485663] Faulted in mid-traceback; aborting... [ 51.7485663] fatal breakpoint trap in supervisor mode [ 51.7485663] trap type 1 code 0 rip 0xffffffff8021ddfd cs 0x8 rflags 0x282 cr2 0x20000000 ilevel 0x8 rsp 0xffff9180a6d652f0 [ 51.7485663] curlwp 0xffff8fd89d634040 pid 498.1 lowest kstack 0xffff9180a6d642c0 Stopped in pid 498.1 (syz-executor9293) at netbsd:breakpoint+0x5: leave