syzbot


panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/arch/amd64/amd64/process_machdep.c:LINE

Status: closed as invalid on 2020/05/25 05:40
Reported-by: syzbot+4f47e582596cece31444@syzkaller.appspotmail.com
First crash: 1622d, last: 1548d

Sample crash report:
[  45.5225007] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/arch/amd64/amd64/process_machdep.c:159:2, member access within misaligned address 0xffff9200a6d338c8 for type 'struct fpreg' which requires 16 byte alignment

[  45.5336177] cpu1: Begin traceback...
[  45.5558788] vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336
[  45.6003953] isAlreadyReported() at netbsd:isAlreadyReported
[  45.6449082] HandleTypeMismatch.part.1() at netbsd:HandleTypeMismatch.part.1+0xcc
[  45.7005532] HandleTypeMismatch() at netbsd:HandleTypeMismatch+0x7b sys/../common/lib/libc/misc/ubsan.c:408
[  45.7450696] process_read_fpregs() at netbsd:process_read_fpregs+0x3d sys/arch/amd64/amd64/process_machdep.c:159
[  45.7895866] proc_regio() at netbsd:proc_regio+0x164 sys/kern/sys_ptrace_common.c:1478
[  45.8341017] process_dofpregs() at netbsd:process_dofpregs+0xa7 sys/kern/sys_ptrace_common.c:1566
[  45.8674872] do_ptrace() at netbsd:do_ptrace+0x12d6 ptrace_regs sys/kern/sys_ptrace_common.c:897 [inline]
[  45.8674872] do_ptrace() at netbsd:do_ptrace+0x12d6 sys/kern/sys_ptrace_common.c:1429
[  45.9120041] sys_ptrace() at netbsd:sys_ptrace+0x4f sys/kern/sys_ptrace.c:218
[  45.9565224] sys_syscall() at netbsd:sys_syscall+0x1c8 sy_call sys/sys/syscallvar.h:65 [inline]
[  45.9565224] sys_syscall() at netbsd:sys_syscall+0x1c8 sys/kern/sys_syscall.c:77
[  46.0010358] syscall() at netbsd:syscall+0x29a sy_call sys/sys/syscallvar.h:65 [inline]
[  46.0010358] syscall() at netbsd:syscall+0x29a sy_invoke sys/sys/syscallvar.h:94 [inline]
[  46.0010358] syscall() at netbsd:syscall+0x29a sys/arch/x86/x86/syscall.c:138
[  46.0232961] --- syscall (number 0) ---
[  46.0232961] Skipping crash dump on recursive panic
[  46.0232961] 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

[  46.0566762] Faulted in mid-traceback; aborting...
[  46.0566762] fatal breakpoint trap in supervisor mode
[  46.0678052] trap type 1 code 0 rip 0xffffffff8021ddbd cs 0x8 rflags 0x286 cr2 0x7f7fffcb7888 ilevel 0 rsp 0xffff9200a6d324b0
[  46.0789340] curlwp 0xffff88db45756740 pid 606.1 lowest kstack 0xffff9200a6d302c0
Stopped in pid 606.1 (syz-executor0433) 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
process_read_fpregs() at netbsd:process_read_fpregs+0x3d sys/arch/amd64/amd64/process_machdep.c:159
proc_regio() at netbsd:proc_regio+0x164 sys/kern/sys_ptrace_common.c:1478
process_dofpregs() at netbsd:process_dofpregs+0xa7 sys/kern/sys_ptrace_common.c:1566
do_ptrace() at netbsd:do_ptrace+0x12d6 ptrace_regs sys/kern/sys_ptrace_common.c:897 [inline]
do_ptrace() at netbsd:do_ptrace+0x12d6 sys/kern/sys_ptrace_common.c:1429
sys_ptrace() at netbsd:sys_ptrace+0x4f sys/kern/sys_ptrace.c:218
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) ---
[  46.0789340] Skipping crash dump on recursive panic
[  46.0789340] 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

[  46.0789340] Faulted in mid-traceback; aborting...
[  46.0789340] fatal breakpoint trap in supervisor mode
[  46.0789340] trap type 1 code 0 rip 0xffffffff8021ddbd cs 0x8 rflags 0x286 cr2 0x7f7fffcb7888 ilevel 0x8 rsp 0xffff9200a6d311b0
[  46.0789340] curlwp 0xffff88db45756740 pid 606.1 lowest kstack 0xffff9200a6d302c0
Stopped in pid 606.1 (syz-executor0433) at      netbsd:breakpoint+0x5:  leave

Crashes (162):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/11/30 05:24 netbsd 67f70f1d08aa 3a75be00 .config console log report syz C ci2-netbsd-kubsan
2019/11/28 11:26 netbsd 67964b7d49b3 97264cb1 .config console log report syz C ci2-netbsd-kubsan
2019/11/26 01:20 netbsd c8ea5c08277e 598ca6c8 .config console log report syz C ci2-netbsd-kubsan
2019/11/19 15:55 netbsd 6bce80fe2a9c 432c7650 .config console log report syz C ci2-netbsd-kubsan
2019/11/18 20:39 netbsd ff77761dbe57 d5696d51 .config console log report syz C ci2-netbsd-kubsan
2019/11/17 12:27 netbsd ff77761dbe57 d5696d51 .config console log report syz C ci2-netbsd-kubsan
2020/01/30 02:47 netbsd fd34b2d2587c 5ed23f9a .config console log report ci2-netbsd-kubsan
2019/12/13 00:13 netbsd 4acf0772e7eb 08003f64 .config console log report ci2-netbsd-kubsan
2019/12/11 01:44 netbsd c716313ad47d 101194eb .config console log report ci2-netbsd-kubsan
2019/12/08 08:50 netbsd 79bebca36a59 1508f453 .config console log report ci2-netbsd-kubsan
2019/12/04 23:04 netbsd f5499760069e b2088328 .config console log report ci2-netbsd-kubsan
2019/12/04 20:53 netbsd f5499760069e b2088328 .config console log report ci2-netbsd-kubsan
2019/12/03 15:12 netbsd 2ae3e939786f ab342da3 .config console log report ci2-netbsd-kubsan
2019/12/03 11:43 netbsd 2ae3e939786f ab342da3 .config console log report ci2-netbsd-kubsan
2019/12/03 06:27 netbsd 2ae3e939786f ab342da3 .config console log report ci2-netbsd-kubsan
2019/12/03 05:10 netbsd 2ae3e939786f ab342da3 .config console log report ci2-netbsd-kubsan
2019/12/02 21:57 netbsd 2ae3e939786f ab342da3 .config console log report ci2-netbsd-kubsan
2019/12/02 14:47 netbsd 2ae3e939786f f879db37 .config console log report ci2-netbsd-kubsan
2019/12/02 13:40 netbsd 2ae3e939786f f879db37 .config console log report ci2-netbsd-kubsan
2019/12/02 12:27 netbsd 2ae3e939786f f879db37 .config console log report ci2-netbsd-kubsan
2019/12/02 07:46 netbsd 2ae3e939786f f879db37 .config console log report ci2-netbsd-kubsan
2019/12/02 05:39 netbsd 2ae3e939786f f879db37 .config console log report ci2-netbsd-kubsan
2019/12/01 11:08 netbsd 725671df253c a76bf83f .config console log report ci2-netbsd-kubsan
2019/12/01 04:05 netbsd 725671df253c a76bf83f .config console log report ci2-netbsd-kubsan
2019/12/01 03:40 netbsd 725671df253c a76bf83f .config console log report ci2-netbsd-kubsan
2019/11/30 22:51 netbsd 725671df253c a76bf83f .config console log report ci2-netbsd-kubsan
2019/11/30 15:56 netbsd 67f70f1d08aa 3a75be00 .config console log report ci2-netbsd-kubsan
2019/11/29 22:29 netbsd 67f70f1d08aa 4f7e1d0f .config console log report ci2-netbsd-kubsan
2019/11/29 20:54 netbsd 67f70f1d08aa 4f7e1d0f .config console log report ci2-netbsd-kubsan
2019/11/29 15:46 netbsd 67f70f1d08aa 4f7e1d0f .config console log report ci2-netbsd-kubsan
2019/11/29 08:51 netbsd de2b4f1aaf98 76357d6f .config console log report ci2-netbsd-kubsan
2019/11/29 01:59 netbsd de2b4f1aaf98 76357d6f .config console log report ci2-netbsd-kubsan
2019/11/29 00:02 netbsd de2b4f1aaf98 76357d6f .config console log report ci2-netbsd-kubsan
2019/11/28 21:50 netbsd 67964b7d49b3 97264cb1 .config console log report ci2-netbsd-kubsan
2019/11/28 19:06 netbsd 67964b7d49b3 97264cb1 .config console log report ci2-netbsd-kubsan
2019/11/28 16:17 netbsd 67964b7d49b3 97264cb1 .config console log report ci2-netbsd-kubsan
2019/11/28 10:24 netbsd 67964b7d49b3 97264cb1 .config console log report ci2-netbsd-kubsan
2019/11/28 03:51 netbsd 1abe295820c2 0d63f89c .config console log report ci2-netbsd-kubsan
2019/11/28 03:12 netbsd 1abe295820c2 0d63f89c .config console log report ci2-netbsd-kubsan
2019/11/28 01:44 netbsd 1abe295820c2 0d63f89c .config console log report ci2-netbsd-kubsan
2019/11/27 23:39 netbsd 1abe295820c2 0d63f89c .config console log report ci2-netbsd-kubsan
2019/11/27 22:36 netbsd 1abe295820c2 0d63f89c .config console log report ci2-netbsd-kubsan
2019/11/27 21:18 netbsd 1abe295820c2 0d63f89c .config console log report ci2-netbsd-kubsan
2019/11/27 19:36 netbsd 1abe295820c2 0d63f89c .config console log report ci2-netbsd-kubsan
2019/11/27 17:57 netbsd 1abe295820c2 0d63f89c .config console log report ci2-netbsd-kubsan
2019/11/27 10:56 netbsd a0c1cac572db 1048481f .config console log report ci2-netbsd-kubsan
2019/11/27 09:10 netbsd a0c1cac572db 1048481f .config console log report ci2-netbsd-kubsan
2019/11/27 07:58 netbsd a0c1cac572db 1048481f .config console log report ci2-netbsd-kubsan
2019/11/17 10:17 netbsd ff77761dbe57 d5696d51 .config console log report ci2-netbsd-kubsan
* Struck through repros no longer work on HEAD.