[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025092300-CVE-2025-39876-3d4a@gregkh>
Date: Tue, 23 Sep 2025 08:01:07 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-39876: net: fec: Fix possible NPD in fec_enet_phy_reset_after_clk_enable()
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: fec: Fix possible NPD in fec_enet_phy_reset_after_clk_enable()
The function of_phy_find_device may return NULL, so we need to take
care before dereferencing phy_dev.
The Linux kernel CVE team has assigned CVE-2025-39876 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.10 with commit 64a632da538a6827fad0ea461925cedb9899ebe2 and fixed in 6.1.153 with commit 5f1bb554a131e59b28482abad21f691390651752
Issue introduced in 5.10 with commit 64a632da538a6827fad0ea461925cedb9899ebe2 and fixed in 6.6.107 with commit fe78891f296ac05bf4e5295c9829ef822f3c32e7
Issue introduced in 5.10 with commit 64a632da538a6827fad0ea461925cedb9899ebe2 and fixed in 6.12.48 with commit 4fe53aaa4271a72fe5fe3e88a45ce01646b68dc5
Issue introduced in 5.10 with commit 64a632da538a6827fad0ea461925cedb9899ebe2 and fixed in 6.16.8 with commit eb148d85e126c47d65be34f2a465d69432ca5541
Issue introduced in 5.10 with commit 64a632da538a6827fad0ea461925cedb9899ebe2 and fixed in 6.17-rc6 with commit 03e79de4608bdd48ad6eec272e196124cefaf798
Issue introduced in 4.19.153 with commit c068e505f229ca5f778f825f1401817ce818e917
Issue introduced in 5.4.73 with commit 9e70485b40c8306298adea8bdc867ca27f88955a
Issue introduced in 5.8.17 with commit 8a6ab151443cd71e2aa5e8b7014e3453dbd51935
Issue introduced in 5.9.2 with commit ce88b5f42868ef4964c497d4dfcd25e88fd60c5b
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-2025-39876
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/net/ethernet/freescale/fec_main.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/5f1bb554a131e59b28482abad21f691390651752
https://git.kernel.org/stable/c/fe78891f296ac05bf4e5295c9829ef822f3c32e7
https://git.kernel.org/stable/c/4fe53aaa4271a72fe5fe3e88a45ce01646b68dc5
https://git.kernel.org/stable/c/eb148d85e126c47d65be34f2a465d69432ca5541
https://git.kernel.org/stable/c/03e79de4608bdd48ad6eec272e196124cefaf798
Powered by blists - more mailing lists