Re: [PATCH] phy: freescale: imx8qm-hsio: fix NULL pointer dereference
From: Vinod Koul <vkoul@kernel.org>
Date: 2026-01-21 08:52:25
Also in:
imx, linux-phy, lkml
From: Vinod Koul <vkoul@kernel.org>
Date: 2026-01-21 08:52:25
Also in:
imx, linux-phy, lkml
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