From mboxrd@z Thu Jan 1 00:00:00 1970 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 E54A3312837 for ; Wed, 24 Jun 2026 16:34:51 +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=1782318892; cv=none; b=H3jWGLDyoG6RX1sCDzcmkdxKFUrI/5OOL4kjgIOohXpGwR2BPoCq6ycEHGmTj3wKk/xJ513Jr3ZdVA1hoelyWX5DDp8yUdXd/uOiuunv2baPL/RZI3lQsvOqtl8FxjUzvbLqJDg28KFiHkSwANvd3DGIZ1GkakBl5PjWU4OP1fw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782318892; c=relaxed/simple; bh=b87hZyoxzdufep9n3EI4I+207tO/wQe8qZnHyA0+AjY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bVc8q/3TSUCJPAfwbaoI5onzj6ZQOx18eu03G5O/4zp4S49pU+rxYiCrvPSsAWyPgv7KCmEvfXXT5yPi9IK9XrhBxdH8UKHSmU+q50B2nMbyaAjpFIdJaBe1fOrURoOJqDRKTNFIzPfvrt1fobLQTzWh36Csh9aAzJ0mL7gohuY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wVLJMWYp; 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="wVLJMWYp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 382381F000E9; Wed, 24 Jun 2026 16:34:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782318891; bh=EGQtNqb9BHdd4b3hO326RQ+5xS1pJYavyV+UHaReYqk=; h=From:To:Cc:Subject:Date:Reply-To; b=wVLJMWYpBVBVUDW7caD7qBXnfBSzAyU3z5e0WpENfOkMN7UWoaUZW50Yt7+YmFac6 ubrUKr5AH3c6FtgjObkfdnt2O9cBnGT6FNitG0bEiRuxmARd15vLw6RsIJ1QGnUigX kpvd76/iOZGcTd5UhluGpbOxUEd5GJyLq3diRrZs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53008: ice: fix race condition in TX timestamp ring cleanup Date: Wed, 24 Jun 2026 17:30:32 +0100 Message-ID: <2026062449-CVE-2026-53008-7188@gregkh> X-Mailer: git-send-email 2.54.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=3362; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=78l5zekRpQItjM3qdYaKgEVqQBq6GEUkL2YwzGrU6t0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2rH9/8Nyab7J4++PJqy79Y9XbqW4YkXDmpt9vjrW7X udtrNNi74hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJVDxlWDD3U7dLfETpskn7 Jz8JKJuy8MGbkCiGBXNif9yf7GWhxJIsOMnzcWf464Mt1wE= 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: ice: fix race condition in TX timestamp ring cleanup Fix a race condition between ice_free_tx_tstamp_ring() and ice_tx_map() that can cause a NULL pointer dereference. ice_free_tx_tstamp_ring currently clears the ICE_TX_FLAGS_TXTIME flag after NULLing the tstamp_ring. This could allow a concurrent ice_tx_map call on another CPU to dereference the tstamp_ring, which could lead to a NULL pointer dereference. CPU A:ice_free_tx_tstamp_ring() | CPU B:ice_tx_map() --------------------------------|--------------------------------- tx_ring->tstamp_ring = NULL | | ice_is_txtime_cfg() -> true | tstamp_ring = tx_ring->tstamp_ring | tstamp_ring->count // NULL deref! flags &= ~ICE_TX_FLAGS_TXTIME | Fix by: 1. Reordering ice_free_tx_tstamp_ring() to clear the flag before NULLing the pointer, with smp_wmb() to ensure proper ordering. 2. Adding smp_rmb() in ice_tx_map() after the flag check to order the flag read before the pointer read, using READ_ONCE() for the pointer, and adding a NULL check as a safety net. 3. Converting tx_ring->flags from u8 to DECLARE_BITMAP() and using atomic bitops (set_bit(), clear_bit(), test_bit()) for all flag operations throughout the driver: - ICE_TX_RING_FLAGS_XDP - ICE_TX_RING_FLAGS_VLAN_L2TAG1 - ICE_TX_RING_FLAGS_VLAN_L2TAG2 - ICE_TX_RING_FLAGS_TXTIME The Linux kernel CVE team has assigned CVE-2026-53008 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit ccde82e909467abdf098a8ee6f63e1ecf9a47ce5 and fixed in 7.0.10 with commit 097409d20465723283632515df73038a4a853eda Issue introduced in 6.18 with commit ccde82e909467abdf098a8ee6f63e1ecf9a47ce5 and fixed in 7.1 with commit 7c72ec18c2a4111204c2e915f8e4f6d849ce9398 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-53008 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.h drivers/net/ethernet/intel/ice/ice_dcb_lib.c drivers/net/ethernet/intel/ice/ice_lib.c drivers/net/ethernet/intel/ice/ice_txrx.c drivers/net/ethernet/intel/ice/ice_txrx.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/097409d20465723283632515df73038a4a853eda https://git.kernel.org/stable/c/7c72ec18c2a4111204c2e915f8e4f6d849ce9398