audit: type=1400 audit(1575362787.135:36): avc: denied { map } for pid=7150 comm="syz-executor323" path="/root/syz-executor323099477" 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:1141 [inline] BUG: KASAN: global-out-of-bounds in vga_imageblit_expand drivers/video/fbdev/vga16fb.c:1204 [inline] BUG: KASAN: global-out-of-bounds in vga16fb_imageblit+0x1bdb/0x2160 drivers/video/fbdev/vga16fb.c:1261 Read of size 2 at addr ffffffff87087bd8 by task syz-executor323/7150 CPU: 0 PID: 7150 Comm: syz-executor323 Not tainted 4.14.157-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x142/0x197 lib/dump_stack.c:58 print_address_description.cold+0x5/0x1dc mm/kasan/report.c:252 kasan_report_error mm/kasan/report.c:351 [inline] kasan_report mm/kasan/report.c:409 [inline] kasan_report.cold+0xa9/0x2af mm/kasan/report.c:393 __asan_report_load2_noabort+0x14/0x20 mm/kasan/report.c:428 vga_8planes_imageblit drivers/video/fbdev/vga16fb.c:1141 [inline] vga_imageblit_expand drivers/video/fbdev/vga16fb.c:1204 [inline] vga16fb_imageblit+0x1bdb/0x2160 drivers/video/fbdev/vga16fb.c:1261 soft_cursor+0x4ff/0xa50 drivers/video/fbdev/core/softcursor.c:74 bit_cursor+0x11be/0x1830 drivers/video/fbdev/core/bitblit.c:386 fbcon_cursor+0x4e3/0x6f0 drivers/video/fbdev/core/fbcon.c:1347 hide_cursor+0x9d/0x2e0 drivers/tty/vt/vt.c:589 redraw_screen+0x2a5/0x7c0 drivers/tty/vt/vt.c:679 vc_do_resize+0xc8a/0xec0 drivers/tty/vt/vt.c:954 vc_resize+0x4d/0x60 drivers/tty/vt/vt.c:974 fbcon_modechanged+0x36b/0x880 drivers/video/fbdev/core/fbcon.c:2935 fbcon_event_notify+0x11f/0x17af drivers/video/fbdev/core/fbcon.c:3299 notifier_call_chain+0x111/0x1b0 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+0x80/0xa0 kernel/notifier.c:325 fb_notifier_call_chain+0x25/0x30 drivers/video/fbdev/core/fb_notify.c:45 fb_set_var+0xb09/0xcf0 drivers/video/fbdev/core/fbmem.c:1054 do_fb_ioctl+0x3cc/0x940 drivers/video/fbdev/core/fbmem.c:1127 fb_ioctl+0xe6/0x130 drivers/video/fbdev/core/fbmem.c:1242 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x7ae/0x1060 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x440309 RSP: 002b:00007ffc9fe89238 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+0x38/0x40 Memory state around the buggy address: ffffffff87087a80: 00 03 fa fa fa fa fa fa 00 00 00 00 fa fa fa fa ffffffff87087b00: 00 00 00 00 00 fa fa fa fa fa fa fa 04 fa fa fa >ffffffff87087b80: fa fa fa fa 00 00 00 00 fa fa fa fa 00 00 00 00 ^ ffffffff87087c00: fa fa fa fa 00 01 fa fa fa fa fa fa 00 00 00 04 ffffffff87087c80: fa fa fa fa 00 00 04 fa fa fa fa fa 00 00 00 00 ==================================================================