BUG: unable to handle kernel paging request in cfb_imageblit

11 views
Skip to first unread message

syzbot

unread,
Oct 30, 2020, 2:53:23 AM10/30/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 2b791501 Linux 4.14.203
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=12c07c7c500000
kernel config: https://syzkaller.appspot.com/x/.config?x=e52bb6f2a595a463
dashboard link: https://syzkaller.appspot.com/bug?extid=09743b2475fb76b24936
compiler: gcc (GCC) 10.1.0-syz 20200507
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1379c224500000

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

wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
Bluetooth: hci0 command 0x0409 tx timeout
BUG: unable to handle kernel paging request at ffff888001000000
IP: __writel arch/x86/include/asm/io.h:71 [inline]
IP: slow_imageblit drivers/video/fbdev/core/cfbimgblt.c:178 [inline]
IP: cfb_imageblit+0xa30/0xe40 drivers/video/fbdev/core/cfbimgblt.c:302
PGD c9c5067 P4D c9c5067 PUD c9c6067 PMD 80000000010001e1
Oops: 0003 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 8386 Comm: syz-executor.0 Not tainted 4.14.203-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880ab2ba0c0 task.stack: ffff88809d9f0000
RIP: 0010:__writel arch/x86/include/asm/io.h:71 [inline]
RIP: 0010:slow_imageblit drivers/video/fbdev/core/cfbimgblt.c:178 [inline]
RIP: 0010:cfb_imageblit+0xa30/0xe40 drivers/video/fbdev/core/cfbimgblt.c:302
RSP: 0018:ffff88809d9f7660 EFLAGS: 00010297
RAX: ffff888001000004 RBX: 000000000000001c RCX: 000000000000001c
RDX: 0000000000000000 RSI: ffff888001000000 RDI: dffffc0000000000
RBP: 0000000000000000 R08: 00000000000007b0 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880b0aa6060
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 00007f990321b700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff888001000000 CR3: 00000000a546a000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
vga_imageblit_expand drivers/video/fbdev/vga16fb.c:1208 [inline]
vga16fb_imageblit+0x630/0x2140 drivers/video/fbdev/vga16fb.c:1261
bit_putcs_unaligned drivers/video/fbdev/core/bitblit.c:139 [inline]
bit_putcs+0x81e/0xc30 drivers/video/fbdev/core/bitblit.c:188
fbcon_putcs+0x2fe/0x480 drivers/video/fbdev/core/fbcon.c:1247
con_flush drivers/tty/vt/vt.c:2206 [inline]
do_con_write+0x908/0x19b0 drivers/tty/vt/vt.c:2410
con_write+0x21/0xa0 drivers/tty/vt/vt.c:2805
process_output_block drivers/tty/n_tty.c:595 [inline]
n_tty_write+0x352/0xda0 drivers/tty/n_tty.c:2333
do_tty_write drivers/tty/tty_io.c:959 [inline]
tty_write+0x410/0x740 drivers/tty/tty_io.c:1043
__vfs_write+0xe4/0x630 fs/read_write.c:480
vfs_write+0x17f/0x4d0 fs/read_write.c:544
SYSC_write fs/read_write.c:590 [inline]
SyS_write+0xf2/0x210 fs/read_write.c:582
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45deb9
RSP: 002b:00007f990321ac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 000000000003a680 RCX: 000000000045deb9
RDX: 0000000000001006 RSI: 0000000020001440 RDI: 0000000000000008
RBP: 000000000118c008 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bfd4
R13: 00007ffe87a27cff R14: 00007f990321b9c0 R15: 000000000118bfd4
Code: 45 7c 24 20 e8 d2 42 15 fe 89 d9 44 89 f8 d3 e0 41 09 c5 39 5c 24 08 0f 87 76 ff ff ff e8 b9 42 15 fe 48 8b 74 24 10 48 8d 46 04 <44> 89 2e 39 5c 24 08 0f 85 44 ff ff ff 45 31 ed 48 89 44 24 10
RIP: __writel arch/x86/include/asm/io.h:71 [inline] RSP: ffff88809d9f7660
RIP: slow_imageblit drivers/video/fbdev/core/cfbimgblt.c:178 [inline] RSP: ffff88809d9f7660
RIP: cfb_imageblit+0xa30/0xe40 drivers/video/fbdev/core/cfbimgblt.c:302 RSP: ffff88809d9f7660
CR2: ffff888001000000
---[ end trace 3816e247233acc0c ]---


---
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 syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches

syzbot

unread,
Dec 23, 2020, 6:01:20 PM12/23/20
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 3f2ecb86 Linux 4.14.212
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=12a2ed83500000
kernel config: https://syzkaller.appspot.com/x/.config?x=80549830ca6ffbb2
dashboard link: https://syzkaller.appspot.com/bug?extid=09743b2475fb76b24936
compiler: gcc (GCC) 10.1.0-syz 20200507
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1346efb7500000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1151f5ff500000

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

BUG: unable to handle kernel paging request at ffff888001000180
IP: __writel arch/x86/include/asm/io.h:71 [inline]
IP: slow_imageblit drivers/video/fbdev/core/cfbimgblt.c:178 [inline]
IP: cfb_imageblit+0xa30/0xe40 drivers/video/fbdev/core/cfbimgblt.c:302
PGD c9c5067 P4D c9c5067 PUD c9c6067 PMD 80000000010001e1
Oops: 0003 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 9657 Comm: agetty Not tainted 4.14.212-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880a0f80400 task.stack: ffff88808fdd8000
RIP: 0010:__writel arch/x86/include/asm/io.h:71 [inline]
RIP: 0010:slow_imageblit drivers/video/fbdev/core/cfbimgblt.c:178 [inline]
RIP: 0010:cfb_imageblit+0xa30/0xe40 drivers/video/fbdev/core/cfbimgblt.c:302
RSP: 0018:ffff88808fddf6e0 EFLAGS: 00010297
RAX: ffff888001000184 RBX: 000000000000001c RCX: 000000000000001c
RDX: 0000000000000000 RSI: ffff888001000180 RDI: dffffc0000000000
RBP: 0000000000000000 R08: ffff888238869faf R09: 0000000000000000
R10: ffff8880a0f80d00 R11: 0000000000000000 R12: ffff888238869fa4
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 00007fdccfe7e500(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff888001000180 CR3: 00000000a0852000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
vga_imageblit_expand drivers/video/fbdev/vga16fb.c:1208 [inline]
vga16fb_imageblit+0x630/0x2140 drivers/video/fbdev/vga16fb.c:1261
soft_cursor+0x50a/0xa50 drivers/video/fbdev/core/softcursor.c:74
bit_cursor+0xf7a/0x1580 drivers/video/fbdev/core/bitblit.c:377
fbcon_cursor+0x480/0x640 drivers/video/fbdev/core/fbcon.c:1287
set_cursor drivers/tty/vt/vt.c:603 [inline]
set_cursor+0x189/0x1e0 drivers/tty/vt/vt.c:594
con_flush_chars drivers/tty/vt/vt.c:2885 [inline]
con_flush_chars drivers/tty/vt/vt.c:2874 [inline]
con_write+0x81/0xa0 drivers/tty/vt/vt.c:2806
do_output_char+0x4f5/0x750 drivers/tty/n_tty.c:447
__process_echoes+0x313/0x8c0 drivers/tty/n_tty.c:739
flush_echoes drivers/tty/n_tty.c:829 [inline]
__receive_buf drivers/tty/n_tty.c:1648 [inline]
n_tty_receive_buf_common+0x9a3/0x25a0 drivers/tty/n_tty.c:1742
tiocsti drivers/tty/tty_io.c:2186 [inline]
tty_ioctl+0xe5a/0x13c0 drivers/tty/tty_io.c:2572
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:500 [inline]
do_vfs_ioctl+0x75a/0xff0 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+0x46/0xbb
RIP: 0033:0x7fdccf9a2017
RSP: 002b:00007ffc54d47918 EFLAGS: 00000202 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ffc54d47b5d RCX: 00007fdccf9a2017
RDX: 00007ffc54d47b5c RSI: 0000000000005412 RDI: 0000000000000000
RBP: 00007ffc54d47ba0 R08: ffffffffffffff98 R09: 00007ffc54d47990
R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffc54d47934
R13: 00007ffc54d47a90 R14: 00007ffc54d47990 R15: 0000000000000000
Code: 45 7c 24 20 e8 02 26 15 fe 89 d9 44 89 f8 d3 e0 41 09 c5 39 5c 24 08 0f 87 76 ff ff ff e8 e9 25 15 fe 48 8b 74 24 10 48 8d 46 04 <44> 89 2e 39 5c 24 08 0f 85 44 ff ff ff 45 31 ed 48 89 44 24 10
RIP: __writel arch/x86/include/asm/io.h:71 [inline] RSP: ffff88808fddf6e0
RIP: slow_imageblit drivers/video/fbdev/core/cfbimgblt.c:178 [inline] RSP: ffff88808fddf6e0
RIP: cfb_imageblit+0xa30/0xe40 drivers/video/fbdev/core/cfbimgblt.c:302 RSP: ffff88808fddf6e0
CR2: ffff888001000180
---[ end trace 7fb458dd46aa49d2 ]---

Reply all
Reply to author
Forward
0 new messages