audit: type=1804 audit(1603797905.746:133): pid=30009 uid=0 auid=0 ses=4 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir232740104/syzkaller.MLbBpM/164/file0" dev="sda1" ino=16533 res=1 wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 ================================================================== BUG: KASAN: slab-out-of-bounds in memcpy include/linux/string.h:373 [inline] BUG: KASAN: slab-out-of-bounds in soft_cursor+0x44b/0xa30 drivers/video/fbdev/core/softcursor.c:70 Read of size 9 at addr ffff888097c47970 by task kworker/1:2/24483 CPU: 1 PID: 24483 Comm: kworker/1:2 Not tainted 4.19.152-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+0x1fc/0x2fe lib/dump_stack.c:118 print_address_description.cold+0x54/0x219 mm/kasan/report.c:256 kasan_report_error.cold+0x8a/0x1c7 mm/kasan/report.c:354 kasan_report+0x8f/0x96 mm/kasan/report.c:412 memcpy+0x20/0x50 mm/kasan/kasan.c:302 memcpy include/linux/string.h:373 [inline] soft_cursor+0x44b/0xa30 drivers/video/fbdev/core/softcursor.c:70 bit_cursor+0x1126/0x1740 drivers/video/fbdev/core/bitblit.c:377 fb_flashcursor+0x38c/0x430 drivers/video/fbdev/core/fbcon.c:379 process_one_work+0x864/0x1570 kernel/workqueue.c:2155 worker_thread+0x64c/0x1130 kernel/workqueue.c:2298 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Allocated by task 22143: __do_kmalloc mm/slab.c:3727 [inline] __kmalloc+0x15a/0x3c0 mm/slab.c:3736 kmalloc include/linux/slab.h:520 [inline] fbcon_set_font+0x34f/0x8a0 drivers/video/fbdev/core/fbcon.c:2479 con_font_set drivers/tty/vt/vt.c:4537 [inline] con_font_op+0xd02/0x10e0 drivers/tty/vt/vt.c:4602 vt_ioctl+0x116d/0x2580 drivers/tty/vt/vt_ioctl.c:938 tty_ioctl+0x5b0/0x15c0 drivers/tty/tty_io.c:2669 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 23: __cache_free mm/slab.c:3503 [inline] kfree+0xcc/0x210 mm/slab.c:3822 skb_free_head net/core/skbuff.c:554 [inline] skb_release_data+0x6de/0x920 net/core/skbuff.c:574 skb_release_all net/core/skbuff.c:631 [inline] __kfree_skb net/core/skbuff.c:645 [inline] kfree_skb+0x11a/0x3d0 net/core/skbuff.c:663 ieee80211_iface_work+0x289/0x8a0 net/mac80211/iface.c:1357 process_one_work+0x864/0x1570 kernel/workqueue.c:2155 worker_thread+0x64c/0x1130 kernel/workqueue.c:2298 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 The buggy address belongs to the object at ffff888097c47840 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 304 bytes inside of 512-byte region [ffff888097c47840, ffff888097c47a40) The buggy address belongs to the page: page:ffffea00025f11c0 count:1 mapcount:0 mapping:ffff88813bff0940 index:0xffff888097c47340 flags: 0xfff00000000100(slab) raw: 00fff00000000100 ffffea000274cc08 ffffea000292e9c8 ffff88813bff0940 raw: ffff888097c47340 ffff888097c470c0 0000000100000002 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888097c47800: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00 ffff888097c47880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888097c47900: 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc ^ ffff888097c47980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888097c47a00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================