panic: kernel diagnostic Masusteerx teironro r"l: wmpcuntetx >_v= ec0t" ofra_ienletedr:, 7f3i1le: a"/sssyezrtkiaolnle r

1 view
Skip to first unread message

syzbot

unread,
Dec 3, 2019, 2:08:08 PM12/3/19
to syzkaller-...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 9720c64e Make sure the assignment to "idepth" is done insi..
git tree: netbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=13c8781ee00000
kernel config: https://syzkaller.appspot.com/x/.config?x=824b23e1f4b6c76b
dashboard link: https://syzkaller.appspot.com/bug?extid=0dff4f0deecd748cbbe9

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+0dff4f...@syzkaller.appspotmail.com

[ 128.5127894] panic: kernel diagnostic Masusteerx teironro r"l: wmpcuntetx
>_v= ec0t" ofra_ienletedr:, 7f3i1le: a"/sssyezrtkiaolnle rf/amilanead:ge
MrsUT/EnXe_tObWsdNE-Rk(ubmtsxa-n>/kmtexrn_oewl/nseyrs) /=k=er
cnu/rketrhnr_eauid
d
[
128[ .5112287.859124]7 89in4f] o.lco"c,k laidndre e2s2s5 :
[[ 112828..55112728798944]] 0cpxuff1:f fBbecg3ifdn 2t8r89a3ce4b0a
ctyk.p.e. [
128.5127894] : sleep/adaptive
[ 128.5127894] initialized : 0xffffffff82284124
[ 128.5127894] shared holds : 0
exclusive: 0
[ 128.5127894] shares wanted: 0
exclusive: 0
[ 128.5127894] current cpu : 0 last
held: 0
[ 128.5127894] currvepnatn ilcwp( ) :a t 0xffffbc3fd15fa5a0 last held:
000000000000000000
[ 128.5127894] last locked : 0xffffffff82625805 unlocked*:
0xffffffff82626cdd
[ [1 2128.8.5512127789849]4 ] neotbwsnde:r vpfiaenlidc + 0x:2 a0a00
[
128.5127894] 000000000000000 wait/spin: 0/0

[ 128.5127894] Turnstile chain at 0xffffffff85eb3ce8 with mutex
0xffffbc40c9a32540.
[ 128.5127894] => No active turnstile for this lock.
[ 128.6136347] kern_assert() at netbsd:kern_assert+0x63
[ 128.6136347] chglwpcnt() at netbsd:chglwpcnt+0x82
sys/kern/kern_uidinfo.c:225
[ 128.6136347] do_setresuid() at netbsd:do_setresuid+0x408
sys/kern/kern_prot.c:358
[ 128.6136347] sys___syscall() at netbsd:sys___syscall+0x1c8 sy_call
sys/sys/syscallvar.h:65 [inline]
[ 128.6136347] sys___syscall() at netbsd:sys___syscall+0x1c8
sys/kern/sys_syscall.c:77
[ 128.6136347] syscall() at netbsd:syscall+0x29a sy_call
sys/sys/syscallvar.h:65 [inline]
[ 128.6136347] syscall() at netbsd:syscall+0x29a sy_invoke
sys/sys/syscallvar.h:94 [inline]
[ 128.6136347] syscall() at netbsd:syscall+0x29a
sys/arch/x86/x86/syscall.c:138
[ 128.6136347] --- syscall (number 198) ---
[ 128.6136347] Skipping crash dump on recursive panic
[ 128.6136347] 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

[ 128.6136347] Faulted in mid-traceback; aborting...
[ 128.6136347] fatal breakpoint trap in supervisor mode
[ 128.6136347] trap type 1 code 0 rip 0xffffffff8021ddbd cs 0x8 rflags
0x286 cr2 0x795526401ff0 ilevel 0 rsp 0xffffd700b3b83fe0
[ 128.6136347] curlwp 0xffffbc3fd15fa9e0 pid 1752.4 lowest kstack
0xffffd700b3b812c0
Stopped in pid 1752.4 (syz-executor.2) at netbsd:breakpoint+0x5:
leave
?
breakpoint() at netbsd:breakpoint+0x5
db_panic() at netbsd:db_panic+0xd1 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+0x8b x86_curcpu
sys/arch/amd64/compile/obj/GENERIC_SYZKALLER/./machine/cpu.h:67 [inline]
db_panic() at netbsd:db_panic+0x8b sys/ddb/db_panic.c:57
vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336
kern_assert() at netbsd:kern_assert+0x63
chglwpcnt() at netbsd:chglwpcnt+0x82 sys/kern/kern_uidinfo.c:225
do_setresuid() at netbsd:do_setresuid+0x408 sys/kern/kern_prot.c:358
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) ---
[ 128.6136347] Skipping crash dump on recursive panic
[ 128.6136347] 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

[ 128.6136347] Faulted in mid-traceback; aborting...
[ 128.6136347] fatal breakpoint trap in supervisor mode
[ 128.6136347] trap type 1 code 0 rip 0xffffffff8021ddbd cs 0x8 rflags
0x286 cr2 0x795526401ff0 ilevel 0x8 rsp 0xffffd700b3b82ce0
[ 128.6136347] curlwp 0xffffbc3fd15fa9e0 pid 1752.4 lowest kstack
0xffffd700b3b812c0
Stopped in pid 1752.4 (syz-executor.2) 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,
Dec 4, 2019, 2:05:53 AM12/4/19
to syzbot, syzkaller-...@googlegroups.com
dup but garbage, close

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