================================================================== BUG: KASAN: slab-out-of-bounds in fbcon_get_font+0x1de/0x910 drivers/video/fbdev/core/fbcon.c:2474 Read of size 8 at addr ffff888089953710 by task syz-executor.0/19240 CPU: 0 PID: 19240 Comm: syz-executor.0 Not tainted 5.7.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1e9/0x30e lib/dump_stack.c:118 print_address_description+0x74/0x5c0 mm/kasan/report.c:382 __kasan_report+0x103/0x1a0 mm/kasan/report.c:511 kasan_report+0x4d/0x80 mm/kasan/common.c:625 Allocated by task 16568: save_stack mm/kasan/common.c:49 [inline] set_track mm/kasan/common.c:57 [inline] __kasan_kmalloc+0x114/0x160 mm/kasan/common.c:495 __do_kmalloc mm/slab.c:3656 [inline] __kmalloc+0x24b/0x330 mm/slab.c:3665 kmalloc include/linux/slab.h:560 [inline] fbcon_set_font+0x2c4/0x970 drivers/video/fbdev/core/fbcon.c:2672 con_font_set drivers/tty/vt/vt.c:4571 [inline] con_font_op+0xebc/0x1630 drivers/tty/vt/vt.c:4636 vt_ioctl+0x179d/0x3eb0 drivers/tty/vt/vt_ioctl.c:265 tty_ioctl+0xee4/0x15c0 drivers/tty/tty_io.c:2656 vfs_ioctl fs/ioctl.c:47 [inline] ksys_ioctl fs/ioctl.c:771 [inline] __do_sys_ioctl fs/ioctl.c:780 [inline] __se_sys_ioctl+0xf9/0x160 fs/ioctl.c:778 do_syscall_64+0xf3/0x1b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 Freed by task 0: (stack is not available) The buggy address belongs to the object at ffff888089953000 which belongs to the cache kmalloc-2k of size 2048 The buggy address is located 1808 bytes inside of 2048-byte region [ffff888089953000, ffff888089953800) The buggy address belongs to the page: page:ffffea00022654c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 flags: 0xfffe0000000200(slab) raw: 00fffe0000000200 ffffea000260b7c8 ffffea0002a43dc8 ffff8880aa400e00 raw: 0000000000000000 ffff888089953000 0000000100000001 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888089953600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888089953680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888089953700: 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff888089953780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888089953800: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================