[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025040130-CVE-2025-21894-60f0@gregkh>
Date: Tue, 1 Apr 2025 16:25:30 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2025-21894: net: enetc: VFs do not support HWTSTAMP_TX_ONESTEP_SYNC
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: enetc: VFs do not support HWTSTAMP_TX_ONESTEP_SYNC
Actually ENETC VFs do not support HWTSTAMP_TX_ONESTEP_SYNC because only
ENETC PF can access PMa_SINGLE_STEP registers. And there will be a crash
if VFs are used to test one-step timestamp, the crash log as follows.
[ 129.110909] Unable to handle kernel paging request at virtual address 00000000000080c0
[ 129.287769] Call trace:
[ 129.290219] enetc_port_mac_wr+0x30/0xec (P)
[ 129.294504] enetc_start_xmit+0xda4/0xe74
[ 129.298525] enetc_xmit+0x70/0xec
[ 129.301848] dev_hard_start_xmit+0x98/0x118
The Linux kernel CVE team has assigned CVE-2025-21894 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.3 with commit 41514737ecaa603a5127cdccdc5f17ef11b9b3dc and fixed in 6.6.83 with commit 1748531839298ab7be682155f6cd98ae04773e6a
Issue introduced in 5.3 with commit 41514737ecaa603a5127cdccdc5f17ef11b9b3dc and fixed in 6.12.18 with commit 3d9634211121700568d0e3635ebdd5df06d20440
Issue introduced in 5.3 with commit 41514737ecaa603a5127cdccdc5f17ef11b9b3dc and fixed in 6.13.6 with commit 8c393efd7420cc994864d059fcc6219bfd7cb840
Issue introduced in 5.3 with commit 41514737ecaa603a5127cdccdc5f17ef11b9b3dc and fixed in 6.14 with commit a562d0c4a893eae3ea51d512c4d90ab858a6b7ec
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-21894
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/enetc/enetc.c
drivers/net/ethernet/freescale/enetc/enetc_ethtool.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/1748531839298ab7be682155f6cd98ae04773e6a
https://git.kernel.org/stable/c/3d9634211121700568d0e3635ebdd5df06d20440
https://git.kernel.org/stable/c/8c393efd7420cc994864d059fcc6219bfd7cb840
https://git.kernel.org/stable/c/a562d0c4a893eae3ea51d512c4d90ab858a6b7ec
Powered by blists - more mailing lists