NetBSD-Syzbot archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

assert failed: c->c_cpu == cc



Hello,

syzbot found the following issue on:

HEAD commit:    7ff08c78df49 lint: remove redundant include
git tree:       netbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=15053d54080000
kernel config:  https://syzkaller.appspot.com/x/.config?x=1420f906d33d9f1f
dashboard link: https://syzkaller.appspot.com/bug?extid=257fcc7cf0c1eb569ad2
compiler:       g++ (Debian 10.2.1-6) 10.2.1 20210110

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

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+257fcc7cf0c1eb569ad2%syzkaller.appspotmail.com@localhost

[ 146.7017243] panic: kernel diagnostic assertion "c->c_cpu == cc" failed: file "/syzkaller/managers/ci2-netbsd-kubsan/kernel/sys/kern/kern_timeout.c", line 756 
[ 146.7117107] cpu1: Begin traceback...
[ 146.7317124] vpanic() at netbsd:vpanic+0x2f2 sys/kern/subr_prf.c:293
[ 146.8017124] kern_assert() at netbsd:kern_assert+0x65 sys/arch/amd64/amd64/db_disasm.c:1074
[ 146.8617113] callout_softclock() at netbsd:callout_softclock+0xdbb sys/kern/kern_timeout.c:756
[ 146.9117141] softint_dispatch() at netbsd:softint_dispatch+0x3b5 x86_curcpu sys/arch/amd64/compile/obj/GENERIC_SYZKALLER/./machine/cpu.h:56 [inline]
[ 146.9117141] softint_dispatch() at netbsd:softint_dispatch+0x3b5 softint_execute sys/kern/kern_softint.c:573 [inline]
[ 146.9117141] softint_dispatch() at netbsd:softint_dispatch+0x3b5 sys/kern/kern_softint.c:818
[ 146.9317132] Skipping crash dump on recursive panic
[ 146.9317132] panic: UBSan: Undefined Behavior in /syzkaller/managers/ci2-netbsd-kubsan/kernel/sys/arch/amd64/amd64/db_machdep.c:123:24, member access within misaligned address 0x523 for type 'struct x86_64_frame' which requires 8 byte alignment

[ 146.9517118] Faulted in mid-traceback; aborting...
[ 146.9617122] fatal breakpoint trap in supervisor mode
[ 146.9617122] trap type 1 code 0 rip 0xffffffff80221ab5 cs 0x8 rflags 0x246 cr2 0x6fa6de455000 ilevel 0x8 rsp 0xffff8700af731070
[ 146.9817147] curlwp 0xfffffe725e18ea80 pid 0.25 lowest kstack 0xffff8700af72d2c0
Stopped in pid 0.25 (system) at netbsd:breakpoint+0x5:  leave
?
breakpoint() at netbsd:breakpoint+0x5
db_panic() at netbsd:db_panic+0xec sys/ddb/db_panic.c:69
vpanic() at netbsd:vpanic+0x2f2 sys/kern/subr_prf.c:293
Report() at netbsd:Report+0x3b sys/../common/lib/libc/misc/ubsan.c:1352
HandleTypeMismatch() at netbsd:HandleTypeMismatch+0xfc sys/../common/lib/libc/misc/ubsan.c:432
db_nextframe() at netbsd:db_nextframe+0x837 sys/arch/amd64/amd64/db_machdep.c:123
db_stack_trace_print() at netbsd:db_stack_trace_print+0x281 sys/arch/x86/x86/db_trace.c:277
db_panic() at netbsd:db_panic+0x9d x86_curcpu sys/arch/amd64/compile/obj/GENERIC_SYZKALLER/./machine/cpu.h:56 [inline]
db_panic() at netbsd:db_panic+0x9d sys/ddb/db_panic.c:59
vpanic() at netbsd:vpanic+0x2f2 sys/kern/subr_prf.c:293
kern_assert() at netbsd:kern_assert+0x65 sys/arch/amd64/amd64/db_disasm.c:1074
callout_softclock() at netbsd:callout_softclock+0xdbb sys/kern/kern_timeout.c:756
softint_dispatch() at netbsd:softint_dispatch+0x3b5 x86_curcpu sys/arch/amd64/compile/obj/GENERIC_SYZKALLER/./machine/cpu.h:56 [inline]
softint_dispatch() at netbsd:softint_dispatch+0x3b5 softint_execute sys/kern/kern_softint.c:573 [inline]
softint_dispatch() at netbsd:softint_dispatch+0x3b5 sys/kern/kern_softint.c:818
[ 146.9817147] Skipping crash dump on recursive panic
[ 146.9817147] panic: UBSan: Undefined Behavior in /syzkaller/managers/ci2-netbsd-kubsan/kernel/sys/arch/amd64/amd64/db_machdep.c:124:14, member access within misaligned address 0x523 for type 'struct x86_64_frame' which requires 8 byte alignment

[ 146.9817147] Faulted in mid-traceback; aborting...
[ 146.9817147] fatal breakpoint trap in supervisor mode
[ 146.9817147] trap type 1 code 0 rip 0xffffffff80221ab5 cs 0x8 rflags 0x246 cr2 0x6fa6de455000 ilevel 0x8 rsp 0xffff8700af72fd70
[ 146.9817147] curlwp 0xfffffe725e18ea80 pid 0.25 lowest kstack 0xffff8700af72d2c0
Stopped in pid 0.25 (system) at netbsd:breakpoint+0x5:  leave


---
This report 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 syzkaller%googlegroups.com@localhost.

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

-- 
You received this message because you are subscribed to the Google Groups "syzkaller-netbsd-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller-netbsd-bugs+unsubscribe%googlegroups.com@localhost.
To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-netbsd-bugs/000000000000f6944c05e1ecb35b%40google.com.


Home | Main Index | Thread Index | Old Index