CVE-2026-23239: espintcp: Fix race condition in espintcp_close()
In the Linux kernel, the following vulnerability has been resolved:
espintcp: Fix race condition in espintcpclose()
This issue was discovered during a code audit.
After cancelworksync() is called from espintcpclose(), espintcptxwork() can still be scheduled from paths such as the Delayed ACK handler or ksoftirqd. As a result, the espintcptxwork() worker may dereference a freed espintcp ctx or sk.
The following is a simple race scenario:
cpu0 cpu1
espintcpclose() cancelworksync(&ctx->work); espintcpwritespace() schedulework(&ctx->work);
To prevent this race condition, cancelworksync() is replaced with disableworksync().
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.75 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.16 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.19.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.107-1Fixed in 6.12.117-1Fixed in 7.3.4-1Fixed in 7.3.5-1 - Upgrade
Upgrade
ubuntu/linux-nvidia-tegrato a version that resolves this vulnerability.Fixed in 6.8.0-1035.38 - Compensating control
In espintcp_close(), replace cancel_work_sync(&ctx->work) with disable_work_sync(&ctx->work) to prevent the work from being scheduled again during shutdown.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-23239?
CVE-2026-23239 is classified as a medium severity vulnerability due to the risk of a race condition in espintcp_close() in the Linux kernel.
How do I fix CVE-2026-23239?
To fix CVE-2026-23239, update your Linux kernel to the latest version that includes the patch resolving the race condition in espintcp_close().
What systems are affected by CVE-2026-23239?
CVE-2026-23239 affects various versions of the Linux kernel where the espintcp module is utilized.
What impact does CVE-2026-23239 have on my system?
CVE-2026-23239 could potentially allow unintended behavior in the espintcp module, which may compromise system stability.
How was CVE-2026-23239 discovered?
CVE-2026-23239 was discovered during a code audit of the Linux kernel, specifically related to the espintcp module.