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 C96BE1A9F91 for ; Mon, 8 Dec 2025 00:48:48 +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=1765154928; cv=none; b=B2lyntMfw7o6Ij6t+gCzhXH2GczFUs+TF7Tef5HqWpMHV9/eU2V3xEOa8oe5azfltxIV3VKBJmSbuyBVAS3YqxuiZKjGY8NKIApD/SJbk4MedW7QQ1lKDZ8oEtqjjiZ+/RlU8+kktq7+v4orSMJ2UWIH8Y1myiVkOysathg5J7g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765154928; c=relaxed/simple; bh=kzyy1tJEMHCc7xwKpJLx0lH2/W8tw3P7duriVGnm4Pg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Lh2xK89Q2kZcs2H6D5341igZSIApWngytFvDdsWJBSRuOTHKr+P/lVp79Lp/182qEyxe4gqq0UYsTdXXRVEmhcUXnO9RZgpC8yG9FjhGbM5Qn5FDUwQIAcGVVabUCuEZvNfIvX5aEenL8fxV3qGP1C9qtT/4xJz7Hy+Rf8iewkw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UE+7Qe7U; 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="UE+7Qe7U" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 697ADC19421; Mon, 8 Dec 2025 00:48:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765154928; bh=kzyy1tJEMHCc7xwKpJLx0lH2/W8tw3P7duriVGnm4Pg=; h=From:To:Cc:Subject:Date:Reply-To:From; b=UE+7Qe7Um/+7Z5jHKsH4juHSghProYd7v8pjT1mhsTfeTi3lsoVoD2bYU4xYuRDCk iqGRWziuuoElxIxIFiOBFhiDlT3H5CShRgMPtJiTIf4XifBso1fxWRMELY+UTW4VP0 ybHt7CtLnzDbeKWphmmDbtaU+IyzkkCY5ezciWvg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-40298: gve: Implement settime64 with -EOPNOTSUPP Date: Mon, 8 Dec 2025 09:47:23 +0900 Message-ID: <2025120819-CVE-2025-40298-af76@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1895; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dniGhYtESSO+NSgJuw7UggEsJRKD7LQUtDPgkRZaZks=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlmCuLsncVLew6aK/m93Gyoa7n8V+Gpee6/dHn9t3BMq s8+EGXdEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABM5y8mwYJnW0prDL0UU3DIP 3k7hMcjlyXe3Y5gr3VCww9E5ejVjoeodib+LFEPjed0A X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: gve: Implement settime64 with -EOPNOTSUPP ptp_clock_settime() assumes every ptp_clock has implemented settime64(). Stub it with -EOPNOTSUPP to prevent a NULL dereference. The Linux kernel CVE team has assigned CVE-2025-40298 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17 with commit acd16380523b400400523fe54c7499320e558e80 and fixed in 6.17.8 with commit c9efb03ff4fae0bc7e5ef3323c3aab599cb4c88a Issue introduced in 6.17 with commit acd16380523b400400523fe54c7499320e558e80 and fixed in 6.18 with commit 329d050bbe63c2999f657cf2d3855be11a473745 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-40298 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/google/gve/gve_ptp.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/c9efb03ff4fae0bc7e5ef3323c3aab599cb4c88a https://git.kernel.org/stable/c/329d050bbe63c2999f657cf2d3855be11a473745