WSL2-Linux-Kernel/drivers/pinctrl/mediatek
Guodong Liu fb563baa3e pinctrl: mediatek: fix global-out-of-bounds issue
commit 2d5446da5a upstream.

When eint virtual eint number is greater than gpio number,
it maybe produce 'desc[eint_n]' size globle-out-of-bounds issue.

Signed-off-by: Guodong Liu <guodong.liu@mediatek.corp-partner.google.com>
Signed-off-by: Zhiyong Tao <zhiyong.tao@mediatek.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20211110071900.4490-2-zhiyong.tao@mediatek.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-12-29 12:29:01 +01:00
..
Kconfig pinctrl: mtk: Fix mt8365 Kconfig dependency 2021-06-07 08:56:20 +02:00
Makefile pinctrl: mediatek: add support for mt8365 SoC 2021-05-27 16:50:15 +02:00
mtk-eint.c pinctrl: Bulk conversion to generic_handle_domain_irq() 2021-08-12 11:39:39 +01:00
mtk-eint.h
pinctrl-moore.c pinctrl: mediatek: use spin lock in mtk_rmw 2021-04-22 01:53:29 +02:00
pinctrl-moore.h
pinctrl-mt2701.c pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mt2712.c pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mt6397.c pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mt6765.c
pinctrl-mt6779.c
pinctrl-mt6797.c
pinctrl-mt7622.c
pinctrl-mt7623.c
pinctrl-mt7629.c
pinctrl-mt8127.c pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mt8135.c pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mt8167.c pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mt8173.c pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mt8183.c
pinctrl-mt8192.c
pinctrl-mt8195.c pinctrl: add drive for I2C related pins on MT8195 2021-04-22 01:53:02 +02:00
pinctrl-mt8365.c pinctrl: mediatek: fix platform_no_drv_owner.cocci warnings 2021-07-23 18:11:30 +02:00
pinctrl-mt8516.c pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mtk-common-v2.c pinctrl: mediatek: fix global-out-of-bounds issue 2021-12-29 12:29:01 +01:00
pinctrl-mtk-common-v2.h pinctrl: mediatek: use spin lock in mtk_rmw 2021-04-22 01:53:29 +02:00
pinctrl-mtk-common.c pinctrl: mediatek: fix mode encoding 2021-06-09 15:30:45 +02:00
pinctrl-mtk-common.h pinctrl: mediatek: don't hardcode mode encoding in common code 2021-05-27 16:50:15 +02:00
pinctrl-mtk-mt2701.h
pinctrl-mtk-mt2712.h
pinctrl-mtk-mt6397.h
pinctrl-mtk-mt6765.h
pinctrl-mtk-mt6779.h
pinctrl-mtk-mt6797.h
pinctrl-mtk-mt8127.h
pinctrl-mtk-mt8135.h
pinctrl-mtk-mt8167.h
pinctrl-mtk-mt8173.h
pinctrl-mtk-mt8183.h
pinctrl-mtk-mt8192.h
pinctrl-mtk-mt8195.h pinctrl: add pinctrl driver on mt8195 2021-04-22 01:53:02 +02:00
pinctrl-mtk-mt8365.h pinctrl: mediatek: add support for mt8365 SoC 2021-05-27 16:50:15 +02:00
pinctrl-mtk-mt8516.h
pinctrl-paris.c pinctrl: mediatek: use spin lock in mtk_rmw 2021-04-22 01:53:29 +02:00
pinctrl-paris.h