linux-kernelorg-stable/drivers/video
Helge Deller 7df8ee51d3 Revert "vgacon: Add check for vc_origin address range in vgacon_scroll()"
commit e4fc307d8e upstream.

This reverts commit 864f9963ec.

The patch is wrong as it checks vc_origin against vc_screenbuf,
while in text mode it should compare against vga_vram_base.

As such it broke VGA text scrolling, which can be reproduced like this:
(1) boot a kernel that is configured to use text mode VGA-console
(2) type commands:  ls -l /usr/bin | less -S
(3) scroll up/down with cursor-down/up keys

Reported-by: Jari Ruusu <jariruusu@protonmail.com>
Cc: stable@vger.kernel.org
Cc: Yi Yang <yiyang13@huawei.com>
Cc: GONG Ruiqi <gongruiqi1@huawei.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-08-28 16:26:05 +02:00
..
backlight backlight: pm8941: Add NULL check in wled_configure() 2025-06-27 11:07:14 +01:00
console Revert "vgacon: Add check for vc_origin address range in vgacon_scroll()" 2025-08-28 16:26:05 +02:00
fbdev fbdev: Fix vmalloc out-of-bounds write in fast_imageblit 2025-08-28 16:26:04 +02:00
logo
Kconfig
Makefile
aperture.c
display_timing.c
hdmi.c
of_display_timing.c
of_videomode.c
vgastate.c
videomode.c