Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 5BE4030569A for ; Sun, 19 Jul 2026 14:06:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784469990; cv=none; b=CKtzkK5d17K9m/IqEmJ0NaguKCK2Isy3fVyzaIssbrHbhlD97gkGkzQhOkIChZt3bYX1onv5UXJOunIhm6Fep0qxYlSyZtAVGL6YQNCUutxjiG8IaIxhGy26v2zVMXCV+hw2ylAZnZdHmGjzXydD4FyAiiswa/YcImREXFqWfJk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784469990; c=relaxed/simple; bh=93dA2YhCV3Z/fkO/ZcZx7ydgDLhwCqq9snokwUhbfC0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=r3WlWidwZV8xVHkvZ+vOXLHyhJpEBx/mZrCxPXda91gGCREOeiNivoADq7wjKDZ2pzHqusMicWBdX7ns8NKYRQ0m9MSnM4RAfJfG4gLiSNNzVjr6mA8FTmoImslfIjsg4pryGos+H9AmYGA4FSIBF9xB3E02oSDM9ooj0pMw4k8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sKU6sGE1; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="sKU6sGE1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 62F6E1F000E9; Sun, 19 Jul 2026 14:06:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784469988; bh=c0fymDQhceyLGTQjImqT99tTdvGe1wC9mTbovDIetgU=; h=From:To:Cc:Subject:Date:Reply-To; b=sKU6sGE1yNGKISKmC7QLkAA53YnOlQMoruM8xewhV+zSyAYkhpakJo2n9Zncg4re6 xq2swVeH1R3eHTjPuUfv3IWc9XyPRkN8XbbyGh2dqp93VIRUBfdKI2Xue5lQG98kgw Yi5fBup7hu+/bDBv5G7C//kcjZN/FBt0D5UmK7hY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63837: net: ena: PHC: Check return code before setting timestamp output Date: Sun, 19 Jul 2026 16:03:27 +0200 Message-ID: <2026071926-CVE-2026-63837-55cd@gregkh> X-Mailer: git-send-email 2.55.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=2562; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=x2HblXwMRSu2Dlaqvb+qaWGkdtwFAv7YEnkEcyfJ4ZY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxN/Xl+kUbMn12Vr/Qcy9YU2Rzbeaph79lJK+GfLxrk n5Kb8uDjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI780MC2Z/1tqT+uzxhMmK 9SW2EgaXGGQFDjLMU/n5/AG3reGnzd/P/hKZVm8y5dnzjQA= 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: net: ena: PHC: Check return code before setting timestamp output ena_phc_gettimex64() is setting the output parameter regardless of whether ena_com_phc_get_timestamp() succeeded or failed. When ena_com_phc_get_timestamp() returns an error, the timestamp parameter may contain uninitialized stack memory (e.g., when PHC is disabled or in blocked state) or invalid hardware values. Passing these to userspace via the PTP ioctl is both a security issue (information leak) and a correctness bug. Fix by checking the return code after releasing the lock and only setting the output timestamp on success. The Linux kernel CVE team has assigned CVE-2026-63837 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17 with commit e0ea34158ee8c4f7536cd781010339ff28c0d24c and fixed in 6.18.33 with commit bddf59818ae5102e6d82a4dae5add6df8da38fb0 Issue introduced in 6.17 with commit e0ea34158ee8c4f7536cd781010339ff28c0d24c and fixed in 7.0.10 with commit edcb049d836e175e7b3d5e0d05657104545b5e65 Issue introduced in 6.17 with commit e0ea34158ee8c4f7536cd781010339ff28c0d24c and fixed in 7.1 with commit 24a08d7d6218d60c033015cf4870b6096446e734 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-63837 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/amazon/ena/ena_phc.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/bddf59818ae5102e6d82a4dae5add6df8da38fb0 https://git.kernel.org/stable/c/edcb049d836e175e7b3d5e0d05657104545b5e65 https://git.kernel.org/stable/c/24a08d7d6218d60c033015cf4870b6096446e734