bisecting fixing commit since fb683b5e3f53a73e761952735736180939a313df building syzkaller on 1508f45368a309a3b1196a342b3d64ce7be4cc43 testing commit fb683b5e3f53a73e761952735736180939a313df with gcc (GCC) 8.1.0 kernel signature: c40541a8681ebe153012da056038ca3d93604af4a7433891762d205d90bdb72b all runs: crashed: KASAN: global-out-of-bounds Read in fb_pad_aligned_buffer testing current HEAD b499cf4b3a901e87e1f933df04abf69b54de4457 testing commit b499cf4b3a901e87e1f933df04abf69b54de4457 with gcc (GCC) 8.1.0 kernel signature: 3d6774d109dae14af4a60d3d4c4aff37f2af4d96fa14b045fbd67b2a5b6d9c71 all runs: crashed: KASAN: global-out-of-bounds Read in fb_pad_aligned_buffer revisions tested: 2, total time: 26m30.391637183s (build: 19m0.139624872s, test: 6m31.109469506s) the crash still happens on HEAD commit msg: Linux 4.19.102 crash: KASAN: global-out-of-bounds Read in fb_pad_aligned_buffer IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready 8021q: adding VLAN 0 to HW filter on device batadv0 IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready ================================================================== BUG: KASAN: global-out-of-bounds in __fb_pad_aligned_buffer include/linux/fb.h:674 [inline] BUG: KASAN: global-out-of-bounds in fb_pad_aligned_buffer+0xd3/0x130 drivers/video/fbdev/core/fbmem.c:122 Read of size 1 at addr ffffffff87692e76 by task syz-executor.2/7360 CPU: 1 PID: 7360 Comm: syz-executor.2 Not tainted 4.19.102-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+0x123/0x177 lib/dump_stack.c:118 print_address_description.cold.8+0x58/0x1ff mm/kasan/report.c:256 kasan_report_error mm/kasan/report.c:354 [inline] kasan_report.cold.9+0x242/0x309 mm/kasan/report.c:412 __asan_report_load1_noabort+0x14/0x20 mm/kasan/report.c:430 __fb_pad_aligned_buffer include/linux/fb.h:674 [inline] fb_pad_aligned_buffer+0xd3/0x130 drivers/video/fbdev/core/fbmem.c:122 bit_putcs_aligned drivers/video/fbdev/core/bitblit.c:99 [inline] bit_putcs+0x81e/0xf00 drivers/video/fbdev/core/bitblit.c:185 fbcon_putcs+0x2fb/0x5b0 drivers/video/fbdev/core/fbcon.c:1320 do_update_region+0x30c/0x640 drivers/tty/vt/vt.c:677 redraw_screen+0x515/0x820 drivers/tty/vt/vt.c:1013 fbcon_do_set_font+0x656/0xa20 drivers/video/fbdev/core/fbcon.c:2583 fbcon_copy_font+0x116/0x1a0 drivers/video/fbdev/core/fbcon.c:2598 con_font_copy drivers/tty/vt/vt.c:4548 [inline] con_font_op+0x228/0x11f0 drivers/tty/vt/vt.c:4563 vt_ioctl+0xa0f/0x2130 drivers/tty/vt/vt_ioctl.c:965 tty_ioctl+0x452/0x1290 drivers/tty/tty_io.c:2669 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0x196/0x10c0 fs/ioctl.c:688 ksys_ioctl+0x62/0x90 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6e/0xb0 fs/ioctl.c:710 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45a6f9 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f447da1ac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a6f9 RDX: 0000000020000000 RSI: 0000000000004b72 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f447da1b6d4 R13: 00000000004c382b R14: 00000000004d8d78 R15: 00000000ffffffff The buggy address belongs to the variable: oid_index+0x76/0xa60 Memory state around the buggy address: ffffffff87692d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff87692d80: 00 00 00 00 00 00 00 00 00 00 00 05 fa fa fa fa >ffffffff87692e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 fa ^ ffffffff87692e80: fa fa fa fa 00 02 fa fa fa fa fa fa 00 01 fa fa ffffffff87692f00: fa fa fa fa 00 00 02 fa fa fa fa fa 00 03 fa fa ================================================================== IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready