audit: type=1804 audit(1616872161.128:122): pid=711 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir958141415/syzkaller.Cwhb7D/1082/cgroup.controllers" dev="sda1" ino=15314 res=1 ================================================================== BUG: KASAN: global-out-of-bounds in memcpy include/linux/string.h:377 [inline] BUG: KASAN: global-out-of-bounds in soft_cursor+0x44b/0xa30 drivers/video/fbdev/core/softcursor.c:70 Read of size 32 at addr ffffffff88b66690 by task systemd/1 CPU: 1 PID: 1 Comm: systemd Not tainted 4.19.183-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+0x1fc/0x2ef lib/dump_stack.c:118 print_address_description.cold+0x5/0x219 mm/kasan/report.c:256 kasan_report_error.cold+0x8a/0x1b9 mm/kasan/report.c:354 kasan_report+0x8f/0xa0 mm/kasan/report.c:412 memcpy+0x20/0x50 mm/kasan/kasan.c:302 memcpy include/linux/string.h:377 [inline] soft_cursor+0x44b/0xa30 drivers/video/fbdev/core/softcursor.c:70 bit_cursor+0x1126/0x1740 drivers/video/fbdev/core/bitblit.c:377 fbcon_cursor+0x523/0x700 drivers/video/fbdev/core/fbcon.c:1309 hide_cursor+0x85/0x2c0 drivers/tty/vt/vt.c:902 flush_scrollback drivers/tty/vt/vt.c:957 [inline] csi_J+0x939/0xb70 drivers/tty/vt/vt.c:1557 do_con_trol+0x39ec/0x5970 drivers/tty/vt/vt.c:2385 do_con_write+0xbea/0x1d90 drivers/tty/vt/vt.c:2810 con_write+0x22/0xb0 drivers/tty/vt/vt.c:3145 process_output_block drivers/tty/n_tty.c:593 [inline] n_tty_write+0x3c0/0xff0 drivers/tty/n_tty.c:2331 do_tty_write drivers/tty/tty_io.c:960 [inline] tty_write+0x496/0x810 drivers/tty/tty_io.c:1044 __vfs_write+0xf7/0x770 fs/read_write.c:485 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f52ccc4a1cd Code: c2 20 00 00 75 10 b8 01 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 ae fc ff ff 48 89 04 24 b8 01 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 f7 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007fff5db123e0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007f52ccc4a1cd RDX: 000000000000000a RSI: 00007f52ce0b5cbe RDI: 0000000000000013 RBP: 00007f52ce0b5cbe R08: 00007fff5db123a0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000013 R13: 0000000000000000 R14: ffffffffffffffff R15: 0000560b4b71b1e0 The buggy address belongs to the variable: str__msr__trace_system_name+0x130/0xbc0 Memory state around the buggy address: ffffffff88b66580: fa fa fa fa 00 03 fa fa fa fa fa fa 05 fa fa fa ffffffff88b66600: fa fa fa fa 00 06 fa fa fa fa fa fa 00 00 00 03 >ffffffff88b66680: fa fa fa fa 00 02 fa fa fa fa fa fa 00 00 07 fa ^ ffffffff88b66700: fa fa fa fa 00 00 07 fa fa fa fa fa 00 00 01 fa ffffffff88b66780: fa fa fa fa 00 00 00 00 00 fa fa fa fa fa fa fa ==================================================================