================================================================== BUG: KASAN: slab-out-of-bounds in __fb_pad_aligned_buffer include/linux/fb.h:674 [inline] BUG: KASAN: slab-out-of-bounds in bit_putcs_aligned drivers/video/fbdev/core/bitblit.c:96 [inline] BUG: KASAN: slab-out-of-bounds in bit_putcs+0xbaf/0xd10 drivers/video/fbdev/core/bitblit.c:185 Read of size 1 at addr ffff8880906cb96e by task syz-executor.0/17599 CPU: 1 PID: 17599 Comm: syz-executor.0 Not tainted 4.19.142-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+0x54/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_load1_noabort+0x88/0x90 mm/kasan/report.c:430 __fb_pad_aligned_buffer include/linux/fb.h:674 [inline] bit_putcs_aligned drivers/video/fbdev/core/bitblit.c:96 [inline] bit_putcs+0xbaf/0xd10 drivers/video/fbdev/core/bitblit.c:185 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+0x1137/0x1440 drivers/tty/vt/vt.c:1323 vt_ioctl+0x1f74/0x24d0 drivers/tty/vt/vt_ioctl.c:901 tty_ioctl+0x5b0/0x15c0 drivers/tty/tty_io.c:2669 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:00007fdce74f1c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000001d100 RCX: 000000000045d5b9 RDX: 0000000020000040 RSI: 000000000000560a RDI: 0000000000000004 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffc2e5b848f R14: 00007fdce74f29c0 R15: 000000000118cf4c Allocated by task 11369: __do_kmalloc mm/slab.c:3727 [inline] __kmalloc+0x15a/0x3c0 mm/slab.c:3736 kmalloc include/linux/slab.h:520 [inline] fbcon_set_font+0x34f/0x8a0 drivers/video/fbdev/core/fbcon.c:2644 con_font_set drivers/tty/vt/vt.c:4536 [inline] con_font_op+0xd02/0x10e0 drivers/tty/vt/vt.c:4601 vt_ioctl+0x116d/0x24d0 drivers/tty/vt/vt_ioctl.c:928 tty_ioctl+0x5b0/0x15c0 drivers/tty/tty_io.c:2669 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 Freed by task 0: __cache_free mm/slab.c:3503 [inline] kfree+0xcc/0x210 mm/slab.c:3822 skb_free_head net/core/skbuff.c:554 [inline] skb_release_data+0x6de/0x920 net/core/skbuff.c:574 skb_release_all net/core/skbuff.c:631 [inline] __kfree_skb net/core/skbuff.c:645 [inline] kfree_skb+0x11a/0x3d0 net/core/skbuff.c:663 macsec_start_xmit+0x523/0x2110 drivers/net/macsec.c:2734 __netdev_start_xmit include/linux/netdevice.h:4333 [inline] netdev_start_xmit include/linux/netdevice.h:4347 [inline] xmit_one net/core/dev.c:3256 [inline] dev_hard_start_xmit+0x1a8/0x920 net/core/dev.c:3272 __dev_queue_xmit+0x269d/0x2e00 net/core/dev.c:3838 neigh_hh_output include/net/neighbour.h:491 [inline] neigh_output include/net/neighbour.h:499 [inline] ip6_finish_output2+0xde7/0x2290 net/ipv6/ip6_output.c:120 ip6_finish_output+0x7eb/0xc10 net/ipv6/ip6_output.c:154 NF_HOOK_COND include/linux/netfilter.h:278 [inline] ip6_output+0x205/0x770 net/ipv6/ip6_output.c:171 dst_output include/net/dst.h:455 [inline] NF_HOOK include/linux/netfilter.h:289 [inline] ndisc_send_skb+0xa24/0x1720 net/ipv6/ndisc.c:491 ndisc_send_rs+0x131/0x690 net/ipv6/ndisc.c:685 addrconf_rs_timer+0x2d9/0x640 net/ipv6/addrconf.c:3834 call_timer_fn+0x177/0x700 kernel/time/timer.c:1338 expire_timers+0x243/0x4e0 kernel/time/timer.c:1375 __run_timers kernel/time/timer.c:1703 [inline] run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1716 __do_softirq+0x26c/0x9a0 kernel/softirq.c:292 The buggy address belongs to the object at ffff8880906cb800 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 366 bytes inside of 512-byte region [ffff8880906cb800, ffff8880906cba00) The buggy address belongs to the page: page:ffffea000241b2c0 count:1 mapcount:0 mapping:ffff88812c39c940 index:0x0 flags: 0xfffe0000000100(slab) raw: 00fffe0000000100 ffffea00012fb988 ffffea00021637c8 ffff88812c39c940 raw: 0000000000000000 ffff8880906cb080 0000000100000006 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880906cb800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880906cb880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8880906cb900: 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff8880906cb980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880906cba00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================