Skip to contentSkip to conversation

CVE-2023-52985: arm64: dts: imx8mm-verdin: Do not power down eth-phy

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Mar 27, 2025

lore
Share & tools
lore
#0 lore raw

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

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

arm64: dts: imx8mm-verdin: Do not power down eth-phy

Currently if suspending using either freeze or memory state, the fec driver tries to power down the phy which leads to crash of the kernel and non-responsible kernel with the following call trace:

[   24.839889 ] Call trace:
[   24.839892 ]  phy_error+0x18/0x60
[   24.839898 ]  kszphy_handle_interrupt+0x6c/0x80
[   24.839903 ]  phy_interrupt+0x20/0x2c
[   24.839909 ]  irq_thread_fn+0x30/0xa0
[   24.839919 ]  irq_thread+0x178/0x2c0
[   24.839925 ]  kthread+0x154/0x160
[   24.839932 ]  ret_from_fork+0x10/0x20

Since there is currently no functionality in the phy subsystem to power down phys let's just disable the feature of powering-down the ethernet phy.

The Linux kernel CVE team has assigned CVE-2023-52985 to this issue.

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

	Issue introduced in 5.18 with commit 6a57f224f7346c8d23596f2ef1ce360669926f54 and fixed in 6.1.11 with commit 0bdd5a7b517f16fdffc444be6516c45788548d08
	Issue introduced in 5.18 with commit 6a57f224f7346c8d23596f2ef1ce360669926f54 and fixed in 6.2 with commit 39c95d0c357d7ef76aea958c1bece6b24f9b2e7e

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-2023-52985

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:
arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi

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/0bdd5a7b517f16fdffc444be6516c45788548d08
	https://git.kernel.org/stable/c/39c95d0c357d7ef76aea958c1bece6b24f9b2e7e