[ 70.8252226] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/kern/kern_time.c:144:2, signed integer overflow: -9223372036854775808 - 16750 cannot be represented in type 'long int' [ 70.8252226] cpu0: Begin traceback... [ 70.8252226] vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336 [ 70.8252226] isAlreadyReported() at netbsd:isAlreadyReported [ 70.8252226] HandleOverflow() at netbsd:HandleOverflow+0x1fb sys/../common/lib/libc/misc/ubsan.c:360 [ 70.8252226] settime1.constprop.5() at netbsd:settime1.constprop.5+0x21d [ 70.8252226] sys___clock_settime50() at netbsd:sys___clock_settime50+0xd1 clock_settime1 sys/kern/kern_time.c:225 [inline] [ 70.8252226] sys___clock_settime50() at netbsd:sys___clock_settime50+0xd1 clock_settime1 sys/kern/kern_time.c:215 [inline] [ 70.8252226] sys___clock_settime50() at netbsd:sys___clock_settime50+0xd1 sys/kern/kern_time.c:210 [ 70.8252226] sys___syscall() at netbsd:sys___syscall+0x1c8 sy_call sys/sys/syscallvar.h:65 [inline] [ 70.8252226] sys___syscall() at netbsd:sys___syscall+0x1c8 sys/kern/sys_syscall.c:77 [ 70.8252226] syscall() at netbsd:syscall+0x29a sy_call sys/sys/syscallvar.h:65 [inline] [ 70.8252226] syscall() at netbsd:syscall+0x29a sy_invoke sys/sys/syscallvar.h:94 [inline] [ 70.8252226] syscall() at netbsd:syscall+0x29a sys/arch/x86/x86/syscall.c:138 [ 70.8252226] --- syscall (number 198) --- [ 70.8252226] Skipping crash dump on recursive panic [ 70.8252226] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/arch/amd64/amd64/db_machdep.c:153:24, member access within misaligned address 0x2 for type 'struct x86_64_frame' which requires 8 byte alignment [ 70.8252226] Faulted in mid-traceback; aborting... [ 70.8252226] fatal breakpoint trap in supervisor mode [ 70.8252226] trap type 1 code 0 rip 0xffffffff8021ddbd cs 0x8 rflags 0x282 cr2 0x20000080 ilevel 0x7 rsp 0xffff9200b0be1a20 [ 70.8252226] curlwp 0xffffed6490487b00 pid 1054.3 lowest kstack 0xffff9200b0bdf2c0 Stopped in pid 1054.3 (syz-executor.5) 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 HandleOverflow() at netbsd:HandleOverflow+0x1fb sys/../common/lib/libc/misc/ubsan.c:360 settime1.constprop.5() at netbsd:settime1.constprop.5+0x21d sys___clock_settime50() at netbsd:sys___clock_settime50+0xd1 clock_settime1 sys/kern/kern_time.c:225 [inline] sys___clock_settime50() at netbsd:sys___clock_settime50+0xd1 clock_settime1 sys/kern/kern_time.c:215 [inline] sys___clock_settime50() at netbsd:sys___clock_settime50+0xd1 sys/kern/kern_time.c:210 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) --- [ 70.8252226] Skipping crash dump on recursive panic [ 70.8252226] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/arch/amd64/amd64/db_machdep.c:154:14, member access within misaligned address 0x2 for type 'struct x86_64_frame' which requires 8 byte alignment [ 70.8252226] Faulted in mid-traceback; aborting... [ 70.8252226] fatal breakpoint trap in supervisor mode [ 70.8252226] trap type 1 code 0 rip 0xffffffff8021ddbd cs 0x8 rflags 0x282 cr2 0x20000080 ilevel 0x8 rsp 0xffff9200b0be0720 [ 70.8252226] curlwp 0xffffed6490487b00 pid 1054.3 lowest kstack 0xffff9200b0bdf2c0 Stopped in pid 1054.3 (syz-executor.5) at netbsd:breakpoint+0x5: leave