================================================================== BUG: KASAN: global-out-of-bounds in __fb_pad_aligned_buffer include/linux/fb.h:644 [inline] BUG: KASAN: global-out-of-bounds in bit_putcs_aligned drivers/video/fbdev/core/bitblit.c:96 [inline] BUG: KASAN: global-out-of-bounds in bit_putcs+0x147b/0x1db0 drivers/video/fbdev/core/bitblit.c:185 Read of size 1 at addr ffffffff8c624950 by task syz.6.4381/22373 CPU: 0 UID: 0 PID: 22373 Comm: syz.6.4381 Not tainted 6.14.0-rc2-syzkaller-00041-g4dc1d1bec898 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0x169/0x550 mm/kasan/report.c:489 kasan_report+0x143/0x180 mm/kasan/report.c:602 __fb_pad_aligned_buffer include/linux/fb.h:644 [inline] bit_putcs_aligned drivers/video/fbdev/core/bitblit.c:96 [inline] bit_putcs+0x147b/0x1db0 drivers/video/fbdev/core/bitblit.c:185 fbcon_putcs+0x2e0/0x450 drivers/video/fbdev/core/fbcon.c:1308 con_putc drivers/tty/vt/vt.c:302 [inline] complement_pos+0x780/0xa90 drivers/tty/vt/vt.c:773 highlight_pointer drivers/tty/vt/selection.c:63 [inline] vc_do_selection drivers/tty/vt/selection.c:291 [inline] vc_selection drivers/tty/vt/selection.c:374 [inline] set_selection_kernel+0x570/0x17c0 drivers/tty/vt/selection.c:383 set_selection_user+0x11c/0x180 drivers/tty/vt/selection.c:209 vt_ioctl+0x9db/0x2090 drivers/tty/vt/vt_ioctl.c:761 tty_ioctl+0x90f/0xdc0 drivers/tty/tty_io.c:2802 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xf5/0x170 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5923f8cde9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5924df2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f59241a5fa0 RCX: 00007f5923f8cde9 RDX: 0000400000001900 RSI: 000000000000541c RDI: 0000000000000005 RBP: 00007f592400e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f59241a5fa0 R15: 00007ffe2a7d91f8 The buggy address belongs to the variable: oid_data+0x370/0x3a0 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xc624 flags: 0xfff00000002000(reserved|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000002000 ffffea0000318908 ffffea0000318908 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner info is not present (never set?) Memory state around the buggy address: ffffffff8c624800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff8c624880: 00 00 00 00 00 00 00 07 f9 f9 f9 f9 f9 f9 f9 f9 >ffffffff8c624900: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 ^ ffffffff8c624980: 06 f9 f9 f9 05 f9 f9 f9 06 f9 f9 f9 00 00 00 00 ffffffff8c624a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================