================================================================== BUG: KASAN: slab-out-of-bounds in soft_cursor+0x3fe/0xdb0 drivers/video/fbdev/core/softcursor.c:70 Read of size 4 at addr ffff88809ce68008 by task kworker/0:5/8162 CPU: 0 PID: 8162 Comm: kworker/0:5 Not tainted 5.9.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_power_efficient fb_flashcursor Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d6/0x29e lib/dump_stack.c:118 print_address_description+0x66/0x620 mm/kasan/report.c:383 __kasan_report mm/kasan/report.c:513 [inline] kasan_report+0x132/0x1d0 mm/kasan/report.c:530 check_memory_region_inline mm/kasan/generic.c:183 [inline] check_memory_region+0x2b5/0x2f0 mm/kasan/generic.c:192 memcpy+0x25/0x60 mm/kasan/common.c:105 soft_cursor+0x3fe/0xdb0 drivers/video/fbdev/core/softcursor.c:70 bit_cursor+0x1753/0x2110 drivers/video/fbdev/core/bitblit.c:377 fb_flashcursor+0x71c/0xa00 drivers/video/fbdev/core/fbcon.c:397 process_one_work+0x789/0xfc0 kernel/workqueue.c:2269 worker_thread+0xaa4/0x1460 kernel/workqueue.c:2415 kthread+0x37e/0x3a0 drivers/block/aoe/aoecmd.c:1234 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Allocated by task 6863: kasan_save_stack mm/kasan/common.c:48 [inline] kasan_set_track mm/kasan/common.c:56 [inline] __kasan_kmalloc+0x100/0x130 mm/kasan/common.c:461 slab_post_alloc_hook+0x3e/0x290 mm/slab.h:518 slab_alloc mm/slab.c:3316 [inline] kmem_cache_alloc+0x1c1/0x2d0 mm/slab.c:3486 vm_area_dup kernel/fork.c:355 [inline] dup_mmap+0x53c/0xd60 kernel/fork.c:531 dup_mm+0x98/0x320 kernel/fork.c:1355 copy_mm kernel/fork.c:1411 [inline] copy_process+0x1fdc/0x5200 kernel/fork.c:2070 _do_fork+0x1ab/0x6d0 kernel/fork.c:2429 __do_sys_clone kernel/fork.c:2546 [inline] __se_sys_clone kernel/fork.c:2530 [inline] __x64_sys_clone+0x1e9/0x230 kernel/fork.c:2530 do_syscall_64+0x31/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 The buggy address belongs to the object at ffff88809ce68040 which belongs to the cache vm_area_struct of size 200 The buggy address is located 56 bytes to the left of 200-byte region [ffff88809ce68040, ffff88809ce68108) The buggy address belongs to the page: page:00000000433448f8 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x9ce68 flags: 0xfffe0000000200(slab) raw: 00fffe0000000200 ffffea0002816408 ffffea00027d7e48 ffff8880aa46f600 raw: 0000000000000000 ffff88809ce68040 000000010000000f 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88809ce67f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88809ce67f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88809ce68000: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00 ^ ffff88809ce68080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88809ce68100: 00 fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 ==================================================================