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 3A85A190666 for ; Tue, 30 Jul 2024 07:50:07 +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=1722325808; cv=none; b=Ev+U6v/QJYr/uc0c6gwXgv0bxDt8gb5wS1X+vd1SE8uty3rDTGraRmO6mEDHMpqSwB94IO8TtlEmNO/Sgi27innKsg2VSd8nSRuUtajp9XyyBEPQ7xag2xqABkc64DbbQwTyT4Rx59w0ybea38uCq0IohzDa83RibFgOO8b2jk4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722325808; c=relaxed/simple; bh=q1NdSBUn7w5idwlJoOEQY5DIK9a0c2G53ztyK/lqA2Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XkytB2+MAVafLsqjg8O6rkbGprsoIWUuPzRijKMvj4EiilSRy8DlMvaH8W53m0OTIU7PyJF/gZ1RgcqKyCS/sGNGzhNvcpgeO8WeAOqhHgRgTigkpM0f6BCDL7OmXwhcK9jEX4bb+UuIFZvfLC3Z7Cnp1qBCrQk+s9r9wDdDjFg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ows7GPxj; 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="ows7GPxj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 380F5C4AF09; Tue, 30 Jul 2024 07:50:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722325807; bh=q1NdSBUn7w5idwlJoOEQY5DIK9a0c2G53ztyK/lqA2Q=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ows7GPxj/fLHDaX1uRK0lLbebk4ELUzI9x4zHWTE9UnTXDv7/cLyht95z79rU9HZk hGTtsrHiE/cj9OyIQb9li905cSY78iFneUSXwLHFpZS1RVOPqoCUmjgKvjLascaHIe BmVNpiQAMAxUzU860WB+hXvmEsh/Ovr5q4UHwTpQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-42139: ice: Fix improper extts handling Date: Tue, 30 Jul 2024 09:47:57 +0200 Message-ID: <2024073030-CVE-2024-42139-f8ef@gregkh> X-Mailer: git-send-email 2.45.2 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=2206; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=q1NdSBUn7w5idwlJoOEQY5DIK9a0c2G53ztyK/lqA2Q=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkrZk3aPldxxrEwhoCbyfsPiwnMvMeyyOVTrbhahNcyk +fH/f0lOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiDGIMCzoN53GoxQn0B3Vc +rgu9Z2Wi+CMTIZ5umk1BbMvTyi3+Fn3ebps4N5p/XMkAQ== 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: ice: Fix improper extts handling Extts events are disabled and enabled by the application ts2phc. However, in case where the driver is removed when the application is running, a specific extts event remains enabled and can cause a kernel crash. As a side effect, when the driver is reloaded and application is started again, remaining extts event for the channel from a previous run will keep firing and the message "extts on unexpected channel" might be printed to the user. To avoid that, extts events shall be disabled when PTP is released. The Linux kernel CVE team has assigned CVE-2024-42139 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit 172db5f91d5f and fixed in 6.9.9 with commit 9f69b31ae9e2 Issue introduced in 5.14 with commit 172db5f91d5f and fixed in 6.10 with commit 00d3b4f54582 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-2024-42139 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/intel/ice/ice_ptp.c drivers/net/ethernet/intel/ice/ice_ptp.h 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/9f69b31ae9e25dec27ad31fbc64dd99af16ee3d3 https://git.kernel.org/stable/c/00d3b4f54582d4e4a02cda5886bb336eeab268cc