Security Resilience

CVE-2026-23240

Race Condition in Linux Kernel 5.3.1 – 6.12.75

Published
10 March 2026
Modified
19 October 2026
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0059 42th percentile
Risk Priority 72 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-23240 is a critical-severity Race Condition (CWE-362) vulnerability in Linux Kernel. Its CVSS base score is 9.8 (Critical).

Operationally, ranked at the 42th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SC-39 (Process Isolation) and SC-4 (Information in Shared System Resources) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-23240 is a race condition vulnerability in the Linux kernel's TLS implementation, specifically within the tls_sw_cancel_work_tx() function. After cancel_delayed_work_sync() is called from tls_sk_proto_close(), the tx_work_handler() can still be scheduled from paths such as the Delayed ACK handler or ksoftirqd, potentially leading the worker to dereference a freed TLS object. This use-after-free issue was identified during a code audit and carries a CVSS v3.1 score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), indicating critical severity.

A remote, unauthenticated attacker with network access can exploit this vulnerability by triggering the race condition during TLS socket closure. For instance, while one CPU executes tls_sk_proto_close() and cancels the delayed work, another CPU may invoke tls_write_space() via tls_sw_write_space(), scheduling the tx_work despite the bitmask check, resulting in use-after-free access. Successful exploitation could enable kernel memory corruption, potentially leading to arbitrary code execution, data leakage, or denial of service through system crashes.

The provided kernel patch references detail the mitigation, which replaces cancel_delayed_work_sync() with disable_delayed_work_sync() in tls_sw_cancel_work_tx() to properly prevent rescheduling of the tx_work after cancellation. These fixes are available in stable kernel commits at https://git.kernel.org/stable/c/17153f154f80be2b47ebf52840f2d8f724eb2f3b, https://git.kernel.org/stable/c/7bb09315f93dce6acc54bf59e5a95ba7365c2be4, https://git.kernel.org/stable/c/854cd32bc74fe573353095e90958490e4e4d641b, and https://git.kernel.org/stable/c/a5de36d6cee74a92c1a21b260bc507e64bc451de. Security practitioners should apply these upstream patches to affected Linux kernels supporting TLS offload.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

In the Linux kernel, the following vulnerability has been resolved: tls: Fix race condition in tls_sw_cancel_work_tx() This issue was discovered during a code audit. After cancel_delayed_work_sync() is called from tls_sk_proto_close(), tx_work_handler() can still be scheduled from paths such as the…

more

Delayed ACK handler or ksoftirqd. As a result, the tx_work_handler() worker may dereference a freed TLS object. The following is a simple race scenario: cpu0 cpu1 tls_sk_proto_close() tls_sw_cancel_work_tx() tls_write_space() tls_sw_write_space() if (!test_and_set_bit(BIT_TX_SCHEDULED, &tx_ctx->tx_bitmask)) set_bit(BIT_TX_SCHEDULED, &ctx->tx_bitmask); cancel_delayed_work_sync(&ctx->tx_work.work); schedule_delayed_work(&tx_ctx->tx_work.work, 0); To prevent this race condition, cancel_delayed_work_sync() is replaced with disable_delayed_work_sync().

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-52480Same product: Linux Linux Kernel
CVE-2025-38524Same product: Linux Linux Kernel
CVE-2024-26617Same product: Linux Linux Kernel
CVE-2023-53345Same product: Linux Linux Kernel
CVE-2025-38242Same product: Linux Linux Kernel
CVE-2023-1582Same product: Linux Linux Kernel
CVE-2026-43180Same product: Linux Linux Kernel
CVE-2026-43023Same product: Linux Linux Kernel
CVE-2026-43214Same product: Linux Linux Kernel
CVE-2025-21947Same product: Linux Linux Kernel

Affected Assets

linux
linux kernel
5.3, 7.0 · 5.3.1 — 6.12.75 · 6.13 — 6.18.16 · 6.19 — 6.19.6

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Maintaining separate execution domains for each process structurally eliminates unintended concurrent access to the same shared resources.

Preventing unintended information transfer through shared system resources directly addresses the improper concurrent modification that defines a race condition.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect race conditions, but does not prevent them at design or coding time.

prevents

Secure coding standards explicitly forbid unsafe concurrent access patterns and mandate atomic operations or locks.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-362, a class-level weakness, and none of its children carries one either.

References