[PATCH] phy: freescale: imx8qm-hsio: fix NULL pointer dereference

Vinod Koul vkoul at kernel.org
Wed Jan 21 00:52:17 PST 2026


On Wed, 14 Jan 2026 17:50:23 +0100, Thomas Richard wrote:
> During the probe the refclk_pad pointer is set to NULL if the
> 'fsl,refclk-pad-mode' property is not defined in the devicetree node. But
> in imx_hsio_configure_clk_pad() this pointer is unconditionally used which
> could result in a NULL pointer dereference. So check the pointer before to
> use it.
> 
> 
> [...]

Applied, thanks!

[1/1] phy: freescale: imx8qm-hsio: fix NULL pointer dereference
      commit: 4dd5d4c0361af0a3fd24f45c815996abf4429770

Best regards,
-- 
~Vinod





More information about the linux-arm-kernel mailing list