linux/drivers/phy
Johan Hovold 9ebb4f4eab phy: qcom-qmp-combo: fix out-of-bounds clock access
commit d8a5b59c5f upstream.

The SM8250 only uses three clocks but the DP configuration erroneously
described four clocks.

In case the DP part of the PHY is initialised before the USB part, this
would lead to uninitialised memory beyond the bulk-clocks array to be
treated as a clock pointer as the clocks are requested based on the USB
configuration.

Fixes: aff188feb5 ("phy: qcom-qmp: add support for sm8250-usb3-dp phy")
Cc: stable@vger.kernel.org	# 5.13
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20221114081346.5116-2-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-07 11:11:38 +01:00
..
allwinner phy: sun4i-usb: Add support for the H616 USB PHY 2023-01-04 11:28:56 +01:00
amlogic
broadcom phy: usb: Fix clock imbalance for suspend/resume 2022-12-31 13:32:48 +01:00
cadence
freescale
hisilicon
ingenic
intel
lantiq
marvell phy: marvell: phy-mvebu-a3700-comphy: Reset COMPHY registers before USB 3.0 power on 2022-12-31 13:32:46 +01:00
mediatek
microchip phy-for-6.1 2022-10-07 16:03:01 -07:00
motorola
mscc
qualcomm phy: qcom-qmp-combo: fix out-of-bounds clock access 2023-01-07 11:11:38 +01:00
ralink phy: ralink: mt7621-pci: add sentinel to quirks table 2022-11-05 13:01:25 +05:30
renesas
rockchip
samsung
socionext
st phy: stm32: fix an error code in probe 2022-10-17 10:55:26 +05:30
sunplus phy: sunplus: Fix an IS_ERR() vs NULL bug in sp_usb_phy_probe 2022-11-05 00:29:57 +05:30
tegra phy: tegra: xusb: Fix crash during pad power on/down 2022-10-17 11:07:37 +05:30
ti
xilinx
Kconfig
Makefile
phy-can-transceiver.c
phy-core-mipi-dphy.c
phy-core.c
phy-lgm-usb.c
phy-lpc18xx-usb-otg.c
phy-pistachio-usb.c
phy-xgene.c