assertion failed: buf

9 views
Skip to first unread message

syzbot

unread,
Oct 19, 2018, 9:57:04 AM10/19/18
to aka...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 73001cbb86fe alarm: Clean up condition variable usage
git tree: https://github.com/akaros/akaros.git master
console output: https://syzkaller.appspot.com/x/log.txt?x=14614109400000
kernel config: https://syzkaller.appspot.com/x/.config?x=bc709c3b83482973
dashboard link: https://syzkaller.appspot.com/bug?extid=df41f1069e00b19ec530
compiler:

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

kernel panic at kern/src/printfmt.c:282, from core 2: assertion failed: buf
Stack Backtrace on Core 2:
#01 [<0xffffffffc200a3ac>] in backtrace at src/kdebug.c:229
#02 [<0xffffffffc2009b3d>] in _panic at src/init.c:268
#03 [<0xffffffffc2048e31>] in vsnprintf at src/printfmt.c:282
#04 [<0xffffffffc2048e74>] in snprintf at src/printfmt.c:313
#05 [<0xffffffffc20830f7>] in procread at drivers/dev/proc.c:1029
#06 [<0xffffffffc203f883>] in rread at src/ns/sysfile.c:765
#07 [<0xffffffffc203fa2b>] in sysread at src/ns/sysfile.c:823
#08 [<0xffffffffc20569c1>] in sys_read at src/syscall.c:1698
#09 [<0xffffffffc2059f59>] in syscall at src/syscall.c:2465
#10 [<0xffffffffc205a124>] in run_local_syscall at src/syscall.c:2500
#11 [<0xffffffffc205a659>] in prep_syscalls at src/syscall.c:2520
#12 [<0xffffffffc20ac10a>] in sysenter_callwrapper at arch/x86/trap.c:854


---
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#bug-status-tracking for how to communicate with
syzbot.

syzbot

unread,
Nov 19, 2018, 5:10:04 PM11/19/18
to aka...@googlegroups.com
syzbot has found a reproducer for the following crash on:

HEAD commit: f89b6d306593 alarm: Do not allow callbacks to block
console output: https://syzkaller.appspot.com/x/log.txt?x=13ba6ed5400000
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=156f2c5d400000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=11b26f7b400000

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

kernel panic at kern/src/printfmt.c:282, from core 0: assertion failed: buf
Stack Backtrace on Core 0:
#01 [<0xffffffffc200a33c>] in backtrace at src/kdebug.c:229
#02 [<0xffffffffc2009acd>] in _panic at src/init.c:267
#03 [<0xffffffffc2048dc1>] in vsnprintf at src/printfmt.c:282
#04 [<0xffffffffc2048e04>] in snprintf at src/printfmt.c:313
#05 [<0xffffffffc20830a7>] in procread at drivers/dev/proc.c:1029
#06 [<0xffffffffc203f813>] in rread at src/ns/sysfile.c:765
#07 [<0xffffffffc203f9bb>] in sysread at src/ns/sysfile.c:823
#08 [<0xffffffffc2056971>] in sys_read at src/syscall.c:1698
#09 [<0xffffffffc2059f09>] in syscall at src/syscall.c:2465
#10 [<0xffffffffc205a0d4>] in run_local_syscall at src/syscall.c:2500
#11 [<0xffffffffc205a609>] in prep_syscalls at src/syscall.c:2520
#12 [<0xffffffffc20abc0a>] in sysenter_callwrapper at arch/x86/trap.c:854

Barret Rhoden

unread,
Mar 6, 2019, 11:31:22 AM3/6/19
to syzbot, aka...@googlegroups.com
#syz fix: Check safety of user pointer syscall arguments

On 2018-11-19 at 14:10 syzbot

Dmitry Vyukov

unread,
Mar 6, 2019, 12:12:37 PM3/6/19
to Barret Rhoden, syzbot, 'Dmitry Vyukov' via Akaros
Woohoo! 3 more down!
> --
> You received this message because you are subscribed to the Google Groups "Akaros" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to akaros+un...@googlegroups.com.
> To post to this group, send email to aka...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/akaros/20190306113117.0e1bf69b%40gnomeregan.cam.corp.google.com.
> For more options, visit https://groups.google.com/d/optout.

Barret Rhoden

unread,
Mar 6, 2019, 12:25:22 PM3/6/19
to Dmitry Vyukov, 'Dmitry Vyukov' via Akaros
On 2019-03-06 at 18:12 Dmitry Vyukov <dvy...@google.com> wrote:
> Woohoo! 3 more down!

I was slacking a bit in the last couple of months.

=)

Reply all
Reply to author
Forward
0 new messages