syzbot


panic: -UBSank: Unudefined Bbehavior sin /syazkalnler/m-anag2ers/n etbsd-kubsan/kedrnel/hsys/netc/rtpsocck_sharedd.c:[63

Status: closed as invalid on 2019/11/26 15:33
Reported-by: syzbot+17e5690cbd8a16637073@syzkaller.appspotmail.com
First crash: 1823d, last: 1823d

Sample crash report:
Nov 25 15:41:40 ci2-net[  5b0.041s3086]d panic: -UBSank: Unudefined Bbehavior sin /syazkalnler/m-anag2ers/n etbsd-kubsan/kedrnel/hsys/netc/rtpsocck_sharedd.c:[631:241,4 memb8er ]acc:ess wit hin midsalhigcned padcdrdess _0xffffb5c42266h75a8c fnor type 'sdtruct rtl_msghedr'l whiich requirens 8 bytke al:ign ment

[I  5n0.0v522736] cpu1: aBeginl tracebiacdk...
 argument
[  50.0713370] vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336
[  50.1213970] isAlreadyReported() at netbsd:isAlreadyReported
[  50.1614460] HandleTypeMismatch.part.1() at netbsd:HandleTypeMismatch.part.1+0xcc
[  50.2115097] HandleTypeMismatch() at netbsd:HandleTypeMismatch+0x7b sys/../common/lib/libc/misc/ubsan.c:408
[  50.2615757] route_output() at netbsd:route_output+0x17d4 sys/net/rtsock_shared.c:631
[  50.3116384] raw_send() at netbsd:raw_send+0x20b sys/net/raw_usrreq.c:182
[  50.3717110] route_send_wrapper() at netbsd:route_send_wrapper+0x9f route_send sys/net/rtsock_shared.c:464 [inline]
[  50.3717110] route_send_wrapper() at netbsd:route_send_wrapper+0x9f sys/net/rtsock_shared.c:1661
[  50.4217716] sosend() at netbsd:sosend+0x15ac sys/kern/uipc_socket.c:1059
[  50.4718344] soo_write() at netbsd:soo_write+0x88 sys/kern/sys_socket.c:122
[  50.5118861] do_filewritev.part.1() at netbsd:do_filewritev.part.1+0x415
[  50.5619467] sys_writev() at netbsd:sys_writev+0x54 do_filewritev sys/kern/sys_generic.c:381 [inline]
[  50.5619467] sys_writev() at netbsd:sys_writev+0x54 sys/kern/sys_generic.c:381
[  50.6120118] sys___syscall() at netbsd:sys___syscall+0x1c8 sy_call sys/sys/syscallvar.h:65 [inline]
[  50.6120118] sys___syscall() at netbsd:sys___syscall+0x1c8 sys/kern/sys_syscall.c:77
[  50.6620731] syscall() at netbsd:syscall+0x29a sy_call sys/sys/syscallvar.h:65 [inline]
[  50.6620731] syscall() at netbsd:syscall+0x29a sy_invoke sys/sys/syscallvar.h:94 [inline]
[  50.6620731] syscall() at netbsd:syscall+0x29a sys/arch/x86/x86/syscall.c:138
[  50.6720896] --- syscall (number 198) ---
[  50.6821003] Skipping crash dump on recursive panic
[  50.6821003] 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

[  50.7021184] Faulted in mid-traceback; aborting...
[  50.7121319] fatal breakpoint trap in supervisor mode
[  50.7121319] trap type 1 code 0 rip 0xffffffff8021ddbd cs 0x8 rflags 0x286 cr2 0x772e6a24b000 ilevel 0x4 rsp 0xffff9180b07ea6a0
[  50.7221429] curlwp 0xffffb5c4307dd060 pid 628.3 lowest kstack 0xffff9180b07e82c0
Stopped in pid 628.3 (syz-executor.3) 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 198) ---
[  50.7321563] Skipping crash dump on recursive panic
[  50.7321563] 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

[  50.7321563] Faulted in mid-traceback; aborting...
[  50.7321563] fatal breakpoint trap in supervisor mode
[  50.7321563] trap type 1 code 0 rip 0xffffffff8021ddbd cs 0x8 rflags 0x286 cr2 0x772e6a24b000 ilevel 0x8 rsp 0xffff9180b07e93a0
[  50.7321563] curlwp 0xffffb5c4307dd060 pid 628.3 lowest kstack 0xffff9180b07e82c0
Stopped in pid 628.3 (syz-executor.3) at        netbsd:breakpoint+0x5:  leave

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/11/25 15:41 netbsd c8ea5c08277e 598ca6c8 .config console log report ci2-netbsd-kubsan
* Struck through repros no longer work on HEAD.