Skip to contentSkip to conversation

CVE-2026-90056: net: fec: only stop PTP if it was initialized

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

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

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

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

net: fec: only stop PTP if it was initialized

fec_ptp_init() is only called when fep->bufdesc_ex is available. However, fec_probe() unconditionally calls fec_ptp_stop() on the failed_init path, and fec_drv_remove() unconditionally calls fec_ptp_stop() during device removal.

Check fep->bufdesc_ex before calling fec_ptp_stop() in both paths to avoid stopping PTP when it was not initialized.

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

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

	Issue introduced in 4.2 with commit 32cba57ba74be58589aeb4cb6496183e46a5e3e5 and fixed in 5.10.270 with commit 0dc8b3a395c3a749ab62c078f2fd54a402ae7e2b
	Issue introduced in 4.2 with commit 32cba57ba74be58589aeb4cb6496183e46a5e3e5 and fixed in 5.15.221 with commit 1973f108c481fab9bdc7daa6c77442af4a7388ab
	Issue introduced in 4.2 with commit 32cba57ba74be58589aeb4cb6496183e46a5e3e5 and fixed in 6.1.188 with commit 0602a4c238d2b6ed6e2bf5fa8ef7fa0203883dac
	Issue introduced in 4.2 with commit 32cba57ba74be58589aeb4cb6496183e46a5e3e5 and fixed in 6.6.157 with commit 7566789664813c1778f0d4b7e0539fd863ea450c
	Issue introduced in 4.2 with commit 32cba57ba74be58589aeb4cb6496183e46a5e3e5 and fixed in 6.12.110 with commit 383f699a86fd04458dc47d10578c17e94f63d92f
	Issue introduced in 4.2 with commit 32cba57ba74be58589aeb4cb6496183e46a5e3e5 and fixed in 6.18.52 with commit 1f9639caeece703012bdb23975ebedf70f426269
	Issue introduced in 4.2 with commit 32cba57ba74be58589aeb4cb6496183e46a5e3e5 and fixed in 7.2.6 with commit 5975009651c4e5ec1492612962d0dd3dc86f6bda
	Issue introduced in 4.2 with commit 32cba57ba74be58589aeb4cb6496183e46a5e3e5 and fixed in 7.3-rc1 with commit dd890ae29299636fb037276fc1b5238698d08b03
	Issue introduced in 3.18.99 with commit 9561b28349a22c808c3ce25eaed4d132104bafb7

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-90056

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/0dc8b3a395c3a749ab62c078f2fd54a402ae7e2b
	https://git.kernel.org/stable/c/1973f108c481fab9bdc7daa6c77442af4a7388ab
	https://git.kernel.org/stable/c/0602a4c238d2b6ed6e2bf5fa8ef7fa0203883dac
	https://git.kernel.org/stable/c/7566789664813c1778f0d4b7e0539fd863ea450c
	https://git.kernel.org/stable/c/383f699a86fd04458dc47d10578c17e94f63d92f
	https://git.kernel.org/stable/c/1f9639caeece703012bdb23975ebedf70f426269
	https://git.kernel.org/stable/c/5975009651c4e5ec1492612962d0dd3dc86f6bda
	https://git.kernel.org/stable/c/dd890ae29299636fb037276fc1b5238698d08b03