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 34BC43BD25C for ; Tue, 10 Mar 2026 17:28:43 +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=1773163724; cv=none; b=kxWLoWL2sN+9vq9ytoO2DR4uikt53GbX77oD0q80jv4tp9K2joQ2TlrMt+Q+0GjHf1iWGIgt142verXhwo4qbwtfW8F9uib4NePWwnm7VJ7Havca7u6SKfNjoHvYl/kXs/HjF4QMP9qO65cGo0Mt8yOATx3nwFryiSjF9ruZGuA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773163724; c=relaxed/simple; bh=eaTffYKGdSWkD9EXFyOCAsvqd3aha86AGrnO77dOwpE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=daFdpOQxR8SpMpSP4iPZMMqFBHDl7bhPhX4oFGjh8IWiKmcEX1FdDA467mOBOXeWJ4dD3bLst5Rh5GjZSgk4BKEvXL1P/TxPPSWquRNtkK3Km5Qq9gxEcHtfATIxwEnaEZmNXPR4chfZEWBjzI/hjQmWc70kJ9xWxg/QnYXfC+M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=iskTIliO; 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="iskTIliO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 70E2AC19423; Tue, 10 Mar 2026 17:28:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1773163723; bh=eaTffYKGdSWkD9EXFyOCAsvqd3aha86AGrnO77dOwpE=; h=From:To:Cc:Subject:Date:Reply-To:From; b=iskTIliO/uTz18Ya106bzfaYIxe3n4juhQkP1X7zJR7ed20kWw+1ZDPfj6EX/zqm4 Jp+h9R6KddEty3caR4nJnWCXl2Es7Q6rRi0nf9VMO+GShlFGCmdST7VmsAPNtCr6/P 9ojkbCDichF3BlcvY5Ri5EgRffr8/tT/mdax4fxc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23239: espintcp: Fix race condition in espintcp_close() Date: Tue, 10 Mar 2026 18:28:32 +0100 Message-ID: <2026031031-CVE-2026-23239-1fc9@gregkh> X-Mailer: git-send-email 2.53.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=2879; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=r6xX3va0/zFiMiFcdGJ9oWfKNGa2DTj6z5tssW8PU/A=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkbQg6o/dh8ddd8lW8MD7ytSxNXs5afm5giHHrCPU7Wc lP4YW/bjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIQQaGefayPVNu7DzfofdY ck1odK1LZ/aadQzznTLtuRWu8hyyF3Pm+b8/d+Lca/H+AA== 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: espintcp: Fix race condition in espintcp_close() This issue was discovered during a code audit. After cancel_work_sync() is called from espintcp_close(), espintcp_tx_work() can still be scheduled from paths such as the Delayed ACK handler or ksoftirqd. As a result, the espintcp_tx_work() worker may dereference a freed espintcp ctx or sk. The following is a simple race scenario: cpu0 cpu1 espintcp_close() cancel_work_sync(&ctx->work); espintcp_write_space() schedule_work(&ctx->work); To prevent this race condition, cancel_work_sync() is replaced with disable_work_sync(). The Linux kernel CVE team has assigned CVE-2026-23239 to this issue. Affected and fixed versions =========================== Issue introduced in 5.6 with commit e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 and fixed in 6.12.75 with commit f7ad8b1d0e421c524604d5076b73232093490d5c Issue introduced in 5.6 with commit e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 and fixed in 6.18.16 with commit 664e9df53226b4505a0894817ecad2c610ab11d8 Issue introduced in 5.6 with commit e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 and fixed in 6.19.6 with commit 022ff7f347588de6e17879a1da6019647b21321b Issue introduced in 5.6 with commit e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 and fixed in 7.0-rc2 with commit e1512c1db9e8794d8d130addd2615ec27231d994 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-23239 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: net/xfrm/espintcp.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/f7ad8b1d0e421c524604d5076b73232093490d5c https://git.kernel.org/stable/c/664e9df53226b4505a0894817ecad2c610ab11d8 https://git.kernel.org/stable/c/022ff7f347588de6e17879a1da6019647b21321b https://git.kernel.org/stable/c/e1512c1db9e8794d8d130addd2615ec27231d994