panic: t[ 54.ADDR] cp_output: no template

0 views
Skip to first unread message

syzbot

unread,
Nov 27, 2019, 2:03:09 AM11/27/19
to syzkaller-...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: a0c1cac5 autofs: Use NULLVP for NULL vnode
git tree: netbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=13ae178ce00000
kernel config: https://syzkaller.appspot.com/x/.config?x=824b23e1f4b6c76b
dashboard link: https://syzkaller.appspot.com/bug?extid=980e26b0861bb2dce67d

Unfortunately, I don't have any reproducer for this crash yet.

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+980e26...@syzkaller.appspotmail.com

[ 54.5813660] panic: t[ 54.5813660] cp_output: no template
[ 54.5813660] cpu0: Begin traceback...
[ 54.5813660] vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336
[ 54.5813660] snprintf() at netbsd:snprintf
[ 54.5813660] tcp_output() at netbsd:tcp_output+0x927a
sys/netinet/tcp_output.c:1350
[ 54.5813660] tcp_sendoob_wrapper() at netbsd:tcp_sendoob_wrapper+0x27b
tcp_sendoob sys/netinet/tcp_usrreq.c:1178 [inline]
[ 54.5813660] tcp_sendoob_wrapper() at netbsd:tcp_sendoob_wrapper+0x27b
sys/netinet/tcp_usrreq.c:2450
[ 54.5813660] sosend() at netbsd:sosend+0xc71 sys/kern/uipc_socket.c:1056
[ 54.5813660] do_sys_sendmsg_so() at netbsd:do_sys_sendmsg_so+0x53d
sys/kern/uipc_syscalls.c:629
[ 54.5813660] do_sys_sendmsg() at netbsd:do_sys_sendmsg+0xcd
sys/kern/uipc_syscalls.c:679
[ 54.5813660] sys_sendmsg() at netbsd:sys_sendmsg+0x9b
sys/kern/uipc_syscalls.c:533
[ 54.5813660] sys___syscall() at netbsd:sys___syscall+0x1c8 sy_call
sys/sys/syscallvar.h:65 [inline]
[ 54.5813660] sys___syscall() at netbsd:sys___syscall+0x1c8
sys/kern/sys_syscall.c:77
[ 54.5813660] syscall() at netbsd:syscall+0x29a sy_call
sys/sys/syscallvar.h:65 [inline]
[ 54.5813660] syscall() at netbsd:syscall+0x29a sy_invoke
sys/sys/syscallvar.h:94 [inline]
[ 54.5813660] syscall() at netbsd:syscall+0x29a
sys/arch/x86/x86/syscall.c:138
[ 54.5813660] --- syscall (number 198) ---
[ 54.5813660] Skipping crash dump on recursive panic
[ 54.5813660] 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

[ 54.5813660] Faulted in mid-traceback; aborting...
[ 54.5813660] fatal breakpoint trap in supervisor mode
[ 54.5813660] trap type 1 code 0 rip 0xffffffff8021ddbd cs 0x8 rflags
0x286 cr2 0x74b680134000 ilevel 0x8 rsp 0xffffd800b3813b70
[ 54.5813660] curlwp 0xffffc473cd2fe1a0 pid 752.3 lowest kstack
0xffffd800b38112c0
Stopped in pid 752.3 (syz-executor.4) 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
snprintf() at netbsd:snprintf
tcp_output() at netbsd:tcp_output+0x927a sys/netinet/tcp_output.c:1350
tcp_sendoob_wrapper() at netbsd:tcp_sendoob_wrapper+0x27b tcp_sendoob
sys/netinet/tcp_usrreq.c:1178 [inline]
tcp_sendoob_wrapper() at netbsd:tcp_sendoob_wrapper+0x27b
sys/netinet/tcp_usrreq.c:2450
sosend() at netbsd:sosend+0xc71 sys/kern/uipc_socket.c:1056
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_sendmsg() at netbsd:sys_sendmsg+0x9b sys/kern/uipc_syscalls.c:533
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) ---
[ 54.5813660] Skipping crash dump on recursive panic
[ 54.5813660] 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

[ 54.5813660] Faulted in mid-traceback; aborting...
[ 54.5813660] fatal breakpoint trap in supervisor mode
[ 54.5813660] trap type 1 code 0 rip 0xffffffff8021ddbd cs 0x8 rflags
0x286 cr2 0x74b680134000 ilevel 0x8 rsp 0xffffd800b3812870
[ 54.5813660] curlwp 0xffffc473cd2fe1a0 pid 752.3 lowest kstack
0xffffd800b38112c0
Stopped in pid 752.3 (syz-executor.4) at netbsd:breakpoint+0x5:
leave


---
This bug is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

Maxime Villard

unread,
Nov 27, 2019, 2:24:28 PM11/27/19
to syzbot, syzkaller-...@googlegroups.com
dup but garbage, close

#syz invalid
Reply all
Reply to author
Forward
0 new messages