Skip to contentSkip to conversation

CVE-2026-45874: phy: freescale: imx8qm-hsio: fix NULL pointer dereference

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 27

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

phy: freescale: imx8qm-hsio: fix NULL pointer dereference

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.

The Linux kernel CVE team has assigned CVE-2026-45874 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.11 with commit 82c56b6dd24fcdf811f2b47b72e5585c8a79b685 and fixed in 6.12.75 with commit a771b386cb6c6e582e7b50f8eeff3347ff887f71
	Issue introduced in 6.11 with commit 82c56b6dd24fcdf811f2b47b72e5585c8a79b685 and fixed in 6.18.14 with commit dd8b9ba3d9701832cfb5dcefd8b43250df28dbc2
	Issue introduced in 6.11 with commit 82c56b6dd24fcdf811f2b47b72e5585c8a79b685 and fixed in 6.19.4 with commit 8d29e81e9cdec84d4b9acb1736550d35e86c88af
	Issue introduced in 6.11 with commit 82c56b6dd24fcdf811f2b47b72e5585c8a79b685 and fixed in 7.0 with commit 4dd5d4c0361af0a3fd24f45c815996abf4429770

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-45874

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/phy/freescale/phy-fsl-imx8qm-hsio.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/a771b386cb6c6e582e7b50f8eeff3347ff887f71
	https://git.kernel.org/stable/c/dd8b9ba3d9701832cfb5dcefd8b43250df28dbc2
	https://git.kernel.org/stable/c/8d29e81e9cdec84d4b9acb1736550d35e86c88af
	https://git.kernel.org/stable/c/4dd5d4c0361af0a3fd24f45c815996abf4429770