libceph: resolve 'i' (ret=-3): failed libceph: parse_ips bad ip '[i' ================================================================== 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+0x1d01/0x2260 drivers/video/fbdev/vga16fb.c:1260 Read of size 2 at addr ffffffff87cfe37e by task syz-executor.2/22172 CPU: 1 PID: 22172 Comm: syz-executor.2 Not tainted 4.19.143-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/0x2fe lib/dump_stack.c:118 print_address_description.cold+0x5/0x219 mm/kasan/report.c:256 kasan_report_error.cold+0x8a/0x1c7 mm/kasan/report.c:354 kasan_report mm/kasan/report.c:412 [inline] __asan_report_load2_noabort+0x88/0x90 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+0x1d01/0x2260 drivers/video/fbdev/vga16fb.c:1260 bit_putcs_unaligned drivers/video/fbdev/core/bitblit.c:139 [inline] bit_putcs+0x6e2/0xd10 drivers/video/fbdev/core/bitblit.c:188 fbcon_putcs+0x336/0x4f0 drivers/video/fbdev/core/fbcon.c:1323 do_update_region+0x399/0x630 drivers/tty/vt/vt.c:683 redraw_screen+0x5e1/0x870 drivers/tty/vt/vt.c:1031 vc_do_resize+0x111f/0x1410 drivers/tty/vt/vt.c:1324 fbcon_modechanged+0x4df/0x9f0 drivers/video/fbdev/core/fbcon.c:2982 fbcon_event_notify+0x197/0x1d80 drivers/video/fbdev/core/fbcon.c:3368 notifier_call_chain+0xc0/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+0x85/0xa0 kernel/notifier.c:325 fb_set_var+0xc51/0xe20 drivers/video/fbdev/core/fbmem.c:1042 do_fb_ioctl+0x3cf/0xb50 drivers/video/fbdev/core/fbmem.c:1115 fb_ioctl+0xdd/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+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45d5b9 Code: 5d b4 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 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f36a1e77c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000000e200 RCX: 000000000045d5b9 RDX: 00000000200000c0 RSI: 0000000000004601 RDI: 0000000000000003 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffd8ea9dc3f R14: 00007f36a1e789c0 R15: 000000000118cf4c The buggy address belongs to the variable: transl_h+0x3e/0x40 Memory state around the buggy address: ffffffff87cfe200: fa fa fa fa 00 00 00 00 fa fa fa fa 00 00 00 00 ffffffff87cfe280: fa fa fa fa 00 00 00 00 00 fa fa fa fa fa fa fa >ffffffff87cfe300: 04 fa fa fa fa fa fa fa 00 00 00 00 fa fa fa fa ^ ffffffff87cfe380: 00 00 00 00 fa fa fa fa 00 01 fa fa fa fa fa fa ffffffff87cfe400: 00 00 00 04 fa fa fa fa 00 00 04 fa fa fa fa fa ==================================================================