divide error in fbcon_init

10 views
Skip to first unread message

syzbot

unread,
Apr 20, 2020, 4:39:12 PM4/20/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: c10b57a5 Linux 4.14.176
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=17bed927e00000
kernel config: https://syzkaller.appspot.com/x/.config?x=457897b554d08537
dashboard link: https://syzkaller.appspot.com/bug?extid=949d8a55dc49138026b6
compiler: gcc (GCC) 9.0.0 20181231 (experimental)

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

divide error: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 24352 Comm: syz-executor.0 Not tainted 4.14.176-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88800b66a340 task.stack: ffff888215078000
RIP: 0010:fbcon_init+0x760/0x19a0 drivers/video/fbdev/core/fbcon.c:1116
RSP: 0018:ffff88821507fa00 EFLAGS: 00010246
RAX: 0000000000000280 RBX: 000000000000003e RCX: 1ffff11008ebc74e
RDX: 0000000000000000 RSI: ffff8880475e3a74 RDI: ffff8882192286b8
RBP: ffff8880475e36c0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88821927e040
R13: ffff888219228500 R14: ffff8880475e39f4 R15: 00000000000001e0
FS: 00007f5dd76bf700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004f2450 CR3: 00000000a8477000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
visual_init+0x332/0x5e0 drivers/tty/vt/vt.c:746
vc_allocate drivers/tty/vt/vt.c:793 [inline]
vc_allocate+0x2c3/0x590 drivers/tty/vt/vt.c:765
vt_ioctl+0xbfd/0x1f20 drivers/tty/vt/vt_ioctl.c:692
tty_ioctl+0x6c5/0x1220 drivers/tty/tty_io.c:2661
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:500 [inline]
do_vfs_ioctl+0x75a/0xfe0 fs/ioctl.c:684
SYSC_ioctl fs/ioctl.c:701 [inline]
SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x45c829
RSP: 002b:00007f5dd76bec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000004f2400 RCX: 000000000045c829
RDX: 000000000000003f RSI: 0000000000005606 RDI: 0000000000000003
RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 0000000000000665 R14: 00000000004c9385 R15: 00007f5dd76bf6d4
Code: 30 48 ba 00 00 00 00 00 fc ff df 8b 44 24 18 48 c1 e9 03 0f b6 14 11 84 d2 74 09 80 fa 03 0f 8e c3 0f 00 00 31 d2 48 8b 74 24 38 <f7> b5 b0 03 00 00 48 89 f2 48 c1 ea 03 89 44 24 18 48 b8 00 00
RIP: fbcon_init+0x760/0x19a0 drivers/video/fbdev/core/fbcon.c:1116 RSP: ffff88821507fa00
---[ end trace 0d78a6770132dd78 ]---


---
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.

syzbot

unread,
Apr 22, 2020, 12:19:13 AM4/22/20
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following crash on:

HEAD commit: c10b57a5 Linux 4.14.176
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=17a3136fe00000
kernel config: https://syzkaller.appspot.com/x/.config?x=457897b554d08537
dashboard link: https://syzkaller.appspot.com/bug?extid=949d8a55dc49138026b6
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=12a9f930100000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1063136fe00000

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

RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000401260
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 00007ffc19ae55b0
RBP: 0000000000000000 R08: 0000000000000000 R09: 000000000000000e
R10: 0000000000000064 R11: 0000000000000246 R12: 0000000000402500
R13: 0000000000402590 R14: 0000000000000000 R15: 0000000000000000
divide error: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 6367 Comm: syz-executor226 Not tainted 4.14.176-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88809838e340 task.stack: ffff8880976c8000
RIP: 0010:fbcon_init+0x760/0x19a0 drivers/video/fbdev/core/fbcon.c:1116
RSP: 0018:ffff8880976cf7a0 EFLAGS: 00010246
RAX: 0000000000000280 RBX: 0000000000000014 RCX: 1ffff11012ea0f36
RDX: 0000000000000000 RSI: ffff8880975079b4 RDI: ffff88821924f478
RBP: ffff888097507600 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8882192d4040
R13: ffff88821924f2c0 R14: ffff888097507934 R15: 00000000000001e0
FS: 00000000019d9940(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000004 CR3: 000000008d797000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
visual_init+0x332/0x5e0 drivers/tty/vt/vt.c:746
vc_allocate drivers/tty/vt/vt.c:793 [inline]
vc_allocate+0x2c3/0x590 drivers/tty/vt/vt.c:765
con_install+0x4d/0x490 drivers/tty/vt/vt.c:2892
tty_driver_install_tty drivers/tty/tty_io.c:1225 [inline]
tty_init_dev drivers/tty/tty_io.c:1338 [inline]
tty_init_dev+0xe1/0x3a0 drivers/tty/tty_io.c:1315
tty_open_by_driver drivers/tty/tty_io.c:1973 [inline]
tty_open+0x410/0x9c0 drivers/tty/tty_io.c:2021
chrdev_open+0x1fc/0x540 fs/char_dev.c:423
do_dentry_open+0x732/0xe90 fs/open.c:777
vfs_open+0x105/0x220 fs/open.c:888
do_last fs/namei.c:3428 [inline]
path_openat+0x8ca/0x3c50 fs/namei.c:3569
do_filp_open+0x18e/0x250 fs/namei.c:3603
do_sys_open+0x29d/0x3f0 fs/open.c:1081
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x401260
RSP: 002b:00007ffc19ae5598 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000401260
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 00007ffc19ae55b0
RBP: 0000000000008516 R08: 0000000000000000 R09: 000000000000000e
R10: 0000000000000064 R11: 0000000000000246 R12: 0000000000402500
R13: 0000000000402590 R14: 0000000000000000 R15: 0000000000000000
Code: 30 48 ba 00 00 00 00 00 fc ff df 8b 44 24 18 48 c1 e9 03 0f b6 14 11 84 d2 74 09 80 fa 03 0f 8e c3 0f 00 00 31 d2 48 8b 74 24 38 <f7> b5 b0 03 00 00 48 89 f2 48 c1 ea 03 89 44 24 18 48 b8 00 00
RIP: fbcon_init+0x760/0x19a0 drivers/video/fbdev/core/fbcon.c:1116 RSP: ffff8880976cf7a0
---[ end trace 4c5f4e8b91d32a41 ]---

Reply all
Reply to author
Forward
0 new messages