linux-stable/drivers/video
George Kennedy 39b3cffb8c fbcon: prevent user font height or width change from causing potential out-of-bounds access
Add a check to fbcon_resize() to ensure that a possible change to user font
height or user font width will not allow a font data out-of-bounds access.
NOTE: must use original charcount in calculation as font charcount can
change and cannot be used to determine the font data allocated size.

Signed-off-by: George Kennedy <george.kennedy@oracle.com>
Cc: stable <stable@vger.kernel.org>
Reported-by: syzbot+38a3699c7eaf165b97a6@syzkaller.appspotmail.com
Link: https://lore.kernel.org/r/1596213192-6635-1-git-send-email-george.kennedy@oracle.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-08-18 13:22:55 +02:00
..
backlight pwm: Changes for v5.9-rc1 2020-08-14 16:00:09 -07:00
console TTY/Serial patches for 5.9-rc1 2020-08-06 14:56:11 -07:00
fbdev fbcon: prevent user font height or width change from causing potential out-of-bounds access 2020-08-18 13:22:55 +02:00
logo .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
display_timing.c
hdmi.c drm-misc-next for v5.9: 2020-06-24 15:45:51 +10:00
Kconfig
Makefile
of_display_timing.c
of_videomode.c
vgastate.c
videomode.c