[ 43.4500864] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/net/rtsock_shared.c:631:41, member access within misaligned address 0xffff92c18cb6830c for type 'struct rt_msghdr50' which requires 8 byte alignment [ 43.4807002] cpu0: Begin traceback... [ 43.5001570] vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336 [ 43.5502380] isAlreadyReported() at netbsd:isAlreadyReported [ 43.6103325] HandleTypeMismatch.part.1() at netbsd:HandleTypeMismatch.part.1+0xcc [ 43.6604117] HandleTypeMismatch() at netbsd:HandleTypeMismatch+0x7b sys/../common/lib/libc/misc/ubsan.c:408 [ 43.7104900] compat_50_route_output() at netbsd:compat_50_route_output+0x1a4a sys/net/rtsock_shared.c:631 [ 43.7705851] raw_send() at netbsd:raw_send+0x20b sys/net/raw_usrreq.c:182 [ 43.8206642] compat_50_route_send_wrapper() at netbsd:compat_50_route_send_wrapper+0x9f compat_50_route_send sys/net/rtsock_shared.c:464 [inline] [ 43.8206642] compat_50_route_send_wrapper() at netbsd:compat_50_route_send_wrapper+0x9f sys/net/rtsock_shared.c:1663 [ 43.8707553] sosend() at netbsd:sosend+0x15ac sys/kern/uipc_socket.c:1059 [ 43.9208233] soo_write() at netbsd:soo_write+0x88 sys/kern/sys_socket.c:122 [ 43.9809191] do_filewritev.part.1() at netbsd:do_filewritev.part.1+0x415 [ 44.0310006] sys_writev() at netbsd:sys_writev+0x54 do_filewritev sys/kern/sys_generic.c:381 [inline] [ 44.0310006] sys_writev() at netbsd:sys_writev+0x54 sys/kern/sys_generic.c:381 [ 44.0810770] sys___syscall() at netbsd:sys___syscall+0x1c8 sy_call sys/sys/syscallvar.h:65 [inline] [ 44.0810770] sys___syscall() at netbsd:sys___syscall+0x1c8 sys/kern/sys_syscall.c:77 [ 44.1311568] syscall() at netbsd:syscall+0x29a sy_call sys/sys/syscallvar.h:65 [inline] [ 44.1311568] syscall() at netbsd:syscall+0x29a sy_invoke sys/sys/syscallvar.h:94 [inline] [ 44.1311568] syscall() at netbsd:syscall+0x29a sys/arch/x86/x86/syscall.c:138 [ 44.1511915] --- syscall (number 198) --- [ 44.1511915] Skipping crash dump on recursive panic [ 44.1633744] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/arch/amd64/amd64/db_machdep.c:153:24, member access within misaligned address 0x3 for type 'struct x86_64_frame' which requires 8 byte alignment [ 44.1843685] Faulted in mid-traceback; aborting... [ 44.1843685] fatal breakpoint trap in supervisor mode [ 44.1923494] trap type 1 code 0 rip 0xffffffff8021e7cd cs 0x8 rflags 0x286 cr2 0x20001500 ilevel 0x4 rsp 0xffffc480a5c6e6a0 [ 44.2055376] curlwp 0xffff92c18cfa2b60 pid 137.3 lowest kstack 0xffffc480a5c6c2c0 Stopped in pid 137.3 (syz-executor.3) 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 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+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 198) --- [ 44.2129151] Skipping crash dump on recursive panic [ 44.2129151] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/arch/amd64/amd64/db_machdep.c:154:14, member access within misaligned address 0x3 for type 'struct x86_64_frame' which requires 8 byte alignment [ 44.2129151] Faulted in mid-traceback; aborting... [ 44.2129151] fatal breakpoint trap in supervisor mode [ 44.2129151] trap type 1 code 0 rip 0xffffffff8021e7cd cs 0x8 rflags 0x286 cr2 0x20001500 ilevel 0x8 rsp 0xffffc480a5c6d3a0 [ 44.2129151] curlwp 0xffff92c18cfa2b60 pid 137.3 lowest kstack 0xffffc480a5c6c2c0 Stopped in pid 137.3 (syz-executor.3) at netbsd:breakpoint+0x5: leave