audit: type=1400 audit(1588043166.476:8): avc: denied { execmem } for pid=6335 comm="syz-executor193" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1
==================================================================
BUG: KASAN: global-out-of-bounds in memcpy include/linux/string.h:347 [inline]
BUG: KASAN: global-out-of-bounds in fbcon_get_font+0x262/0x530 drivers/video/fbdev/core/fbcon.c:2424
Read of size 31 at addr ffffffff86e6949c by task syz-executor193/6337
CPU: 1 PID: 6337 Comm: syz-executor193 Not tainted 4.14.177-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x13e/0x194 lib/dump_stack.c:58
print_address_description.cold+0x5/0x1e2 mm/kasan/report.c:252
kasan_report_error mm/kasan/report.c:351 [inline]
kasan_report mm/kasan/report.c:409 [inline]
kasan_report.cold+0xa9/0x2ae mm/kasan/report.c:393
memcpy+0x20/0x50 mm/kasan/kasan.c:302
memcpy include/linux/string.h:347 [inline]
fbcon_get_font+0x262/0x530 drivers/video/fbdev/core/fbcon.c:2424
con_font_get drivers/tty/vt/vt.c:4098 [inline]
con_font_op+0x1c6/0xf70 drivers/tty/vt/vt.c:4249
do_fontx_ioctl drivers/tty/vt/vt_ioctl.c:273 [inline]
vt_ioctl+0x16d2/0x1f20 drivers/tty/vt/vt_ioctl.c:945
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:0x441289
RSP: 002b:00007ffd9884c5f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441289
RDX: 0000000020000000 RSI: 0000000000004b6b RDI: 0000000000000003
RBP: 0000000000008bd7 R08: 000000000000000d R09: 00000000004002c8
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004020b0
R13: 0000000000402140 R14: 0000000000000000 R15: 0000000000000000
The buggy address belongs to the variable:
fontdata_8x16+0xffc/0x1120
Memory state around the buggy address:
ffffffff86e69380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffffffff86e69400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffffffff86e69480: 00 00 00 00 fa fa fa fa 06 fa fa fa fa fa fa fa
^
ffffffff86e69500: 05 fa fa fa fa fa fa fa 06 fa fa fa fa fa fa fa
ffffffff86e69580: 00 00 03 fa fa fa fa fa 00 00 00 00 00 00 00 00
==================================================================