Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 900C7207A2C for ; Tue, 1 Apr 2025 15:27:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743521227; cv=none; b=sq/9e0idfoOta5wHw9xClvvteXUhcIFCSuUUeyj2B2dtDkxn518pwY6ZDpLzRRZjer8e+9Kb+vQMUumfkNufQyEhooP841Rdq6nWBNWA9woO97R890j0ubIXM2HvyZs6AWB2S/smOjBgUxxCQgCmuzJBPq+CQRAAPePo/44Z3oc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743521227; c=relaxed/simple; bh=Zdyrl8jQapu17XvtL1G+LReYiF/uG+1cYdO0J9uouIE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XdvPwKgiaD0lZz2+u9UjaBG0ZLHA3cgDgeC0u4HrNg1ktrZ+Kr4rhkKwryH9vIYebtDMZepPAn/WDhpGSt/n3V0VQk5rlX/Y90MJE4JmWcceAB9Ll8FFpSJTUZWU6IhvdDPnw5PMzR9LiRKIcg5wzzLeDUSAS1yCb7t1KPg/GHY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rdhgE6el; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="rdhgE6el" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ADEEFC4CEE4; Tue, 1 Apr 2025 15:27:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1743521226; bh=Zdyrl8jQapu17XvtL1G+LReYiF/uG+1cYdO0J9uouIE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=rdhgE6el07zfhWfIsDtCHajWj5sf+uHXph4THDylXj+I6SrT+OjEhpyyrSCDornko 52sd4aKd4CWgHVSbhu+Cfkeousb2lrWemmkSLlToWcOybOeNnE5e7VT02zbhRA1NPd O7nlJqQ+5O9aEfK1zfY/lGjzHvJRt66jC4ai4+J8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-21894: net: enetc: VFs do not support HWTSTAMP_TX_ONESTEP_SYNC Date: Tue, 1 Apr 2025 16:25:30 +0100 Message-ID: <2025040130-CVE-2025-21894-60f0@gregkh> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2809; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Zdyrl8jQapu17XvtL1G+LReYiF/uG+1cYdO0J9uouIE=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlvWLMkPEv3Xri2p6SgVvOavMWpJF3f1OYs5Tv27zm/6 Bim/t/fEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABO5m8wwz8is8tr559eurDnE u45N+MqlFjXtZoYFp2+9VXO6smA2A+/jZfM23ud0mPE+GQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit 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