[PATCH 0/1] fbdev: atyfb: Fix buffer overflow

From: Denis Arefev
Date: Thu Mar 27 2025 - 06:02:08 EST


The fixes I suggested are not the only ones.
There are more options for solving this problem.

1.Find datasheet for the chip, find out the register offset, calculate
the address using the formula (4*Dword offset), add this value to
the array lt_lcd_regs[] at index LCD_MISC_CNTL.

2. Delete this code completely, as the chip is very obsolete and
not applicable.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Denis Arefev (1):
fbdev: atyfb: Fix buffer overflow

drivers/video/fbdev/aty/atyfb_base.c | 4 ++++
1 file changed, 4 insertions(+)

base-commit: 1a9239bb4253f9076b5b4b2a1a4e8d7defd77a95
--
2.43.0