mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-12 06:01:58 +00:00
The existing code does not verify if the "tentative" index exceeds
the size of the array, causing out of bound read.
Issue identified with kasan.
Check the index before using it.
Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com>
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| pinctrl-stm32.c | ||
| pinctrl-stm32.h | ||
| pinctrl-stm32f429.c | ||
| pinctrl-stm32f469.c | ||
| pinctrl-stm32f746.c | ||
| pinctrl-stm32f769.c | ||
| pinctrl-stm32h743.c | ||
| pinctrl-stm32mp135.c | ||
| pinctrl-stm32mp157.c | ||
| pinctrl-stm32mp257.c | ||