audit: type=1400 audit(1575317365.009:36): avc: denied { map } for pid=7564 comm="syz-executor743" path="/root/syz-executor743339208" dev="sda1" ino=16484 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 ================================================================== BUG: KASAN: global-out-of-bounds in vga_8planes_imageblit drivers/video/fbdev/vga16fb.c:1140 [inline] BUG: KASAN: global-out-of-bounds in vga_imageblit_expand drivers/video/fbdev/vga16fb.c:1203 [inline] BUG: KASAN: global-out-of-bounds in vga16fb_imageblit+0x1c8b/0x2200 drivers/video/fbdev/vga16fb.c:1260 Read of size 2 at addr ffffffff87ef13de by task syz-executor743/7564 CPU: 1 PID: 7564 Comm: syz-executor743 Not tainted 4.19.87-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+0x197/0x210 lib/dump_stack.c:118 print_address_description.cold+0x5/0x20d mm/kasan/report.c:256 kasan_report_error mm/kasan/report.c:354 [inline] kasan_report mm/kasan/report.c:412 [inline] kasan_report.cold+0x8c/0x2ba mm/kasan/report.c:396 __asan_report_load2_noabort+0x14/0x20 mm/kasan/report.c:431 vga_8planes_imageblit drivers/video/fbdev/vga16fb.c:1140 [inline] vga_imageblit_expand drivers/video/fbdev/vga16fb.c:1203 [inline] vga16fb_imageblit+0x1c8b/0x2200 drivers/video/fbdev/vga16fb.c:1260 soft_cursor+0x4fb/0xa30 drivers/video/fbdev/core/softcursor.c:74 bit_cursor+0x12fc/0x1a60 drivers/video/fbdev/core/bitblit.c:386 fbcon_cursor+0x58a/0x7b0 drivers/video/fbdev/core/fbcon.c:1369 set_cursor drivers/tty/vt/vt.c:908 [inline] set_cursor+0x1fb/0x280 drivers/tty/vt/vt.c:899 redraw_screen+0x60f/0x8e0 drivers/tty/vt/vt.c:1015 fbcon_modechanged+0x5f3/0x900 drivers/video/fbdev/core/fbcon.c:2969 fbcon_event_notify+0x1bd/0x1dba drivers/video/fbdev/core/fbcon.c:3344 notifier_call_chain+0xc2/0x230 kernel/notifier.c:93 __blocking_notifier_call_chain kernel/notifier.c:317 [inline] __blocking_notifier_call_chain kernel/notifier.c:304 [inline] blocking_notifier_call_chain kernel/notifier.c:328 [inline] blocking_notifier_call_chain+0x94/0xb0 kernel/notifier.c:325 fb_notifier_call_chain+0x25/0x30 drivers/video/fbdev/core/fb_notify.c:45 fb_set_var+0xc8f/0xe80 drivers/video/fbdev/core/fbmem.c:1042 do_fb_ioctl+0x450/0xab0 drivers/video/fbdev/core/fbmem.c:1115 fb_ioctl+0xe6/0x130 drivers/video/fbdev/core/fbmem.c:1230 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xd5f/0x1380 fs/ioctl.c:688 ksys_ioctl+0xab/0xd0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:710 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x440309 Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 0f 83 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffcefe08b58 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440309 RDX: 0000000020000340 RSI: 0000000000004601 RDI: 0000000000000003 RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401b90 R13: 0000000000401c20 R14: 0000000000000000 R15: 0000000000000000 The buggy address belongs to the variable: transl_h+0x3e/0x40 Memory state around the buggy address: ffffffff87ef1280: 00 00 00 00 fa fa fa fa 00 00 00 00 fa fa fa fa ffffffff87ef1300: 00 00 00 00 00 fa fa fa fa fa fa fa 04 fa fa fa >ffffffff87ef1380: fa fa fa fa 00 00 00 00 fa fa fa fa 00 00 00 00 ^ ffffffff87ef1400: fa fa fa fa 00 01 fa fa fa fa fa fa 00 00 00 04 ffffffff87ef1480: fa fa fa fa 00 00 04 fa fa fa fa fa 00 00 00 00 ==================================================================