CVE-2026-23240
tls: Fix race condition in tls_sw_cancel_work_tx()
Mitigation
- Upgrade Linux to 7bb09315f93dce6acc54bf59e5a95ba7365c2be4 or later.
Who should check
- Anyone running Linux >= f87e62d45e51b12d48d2cb46b5cde8f83b866bc4, < a5de36d6cee74a92c1a21b260bc507e64bc451de; >= f87e62d45e51b12d48d2cb46b5cde8f83b866bc4, < 854cd32bc74fe573353095e90958490e4e4d641b; >= f87e62d45e51b12d48d2cb46b5cde8f83b866bc4, < 17153f154f80be2b47ebf52840f2d8f724eb2f3b; >= f87e62d45e51b12d48d2cb46b5cde8f83b866bc4, < 7bb09315f93dce6acc54bf59e5a95ba7365c2be4
- Anyone running Linux 5.3
Vulnerability facts
- Affected
- Linux >= f87e62d45e51b12d48d2cb46b5cde8f83b866bc4, < a5de36d6cee74a92c1a21b260bc507e64bc451de; >= f87e62d45e51b12d48d2cb46b5cde8f83b866bc4, < 854cd32bc74fe573353095e90958490e4e4d641b; >= f87e62d45e51b12d48d2cb46b5cde8f83b866bc4, < 17153f154f80be2b47ebf52840f2d8f724eb2f3b; >= f87e62d45e51b12d48d2cb46b5cde8f83b866bc4, < 7bb09315f93dce6acc54bf59e5a95ba7365c2be4; Linux 5.3
- Fixed in
- Linux 854cd32bc74fe573353095e90958490e4e4d641b, Linux 17153f154f80be2b47ebf52840f2d8f724eb2f3b, Linux 7bb09315f93dce6acc54bf59e5a95ba7365c2be4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.59% chance of exploitation in 30 days (percentile 42, 2026-11-26)
- CWE
- CWE-362
- Modified
Description
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 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().
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f87e62d45e51b12d48d2cb46b5cde8f83b866bc4, < a5de36d6cee74a92c1a21b260bc507e64bc451de; >= f87e62d45e51b12d48d2cb46b5cde8f83b866bc4, < 854cd32bc74fe573353095e90958490e4e4d641b; >= f87e62d45e51b12d48d2cb46b5cde8f83b866bc4, < 17153f154f80be2b47ebf52840f2d8f724eb2f3b; >= f87e62d45e51b12d48d2cb46b5cde8f83b866bc4, < 7bb09315f93dce6acc54bf59e5a95ba7365c2be4 | — | cvelist |
| Linux | 5.3 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-23240. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-23240.md Affected: Linux >= f87e62d45e51b12d48d2cb46b5cde8f83b866bc4, < a5de36d6cee74a92c1a21b260bc507e64bc451de; >= f87e62d45e51b12d48d2cb46b5cde8f83b866bc4, < 854cd32bc74fe573353095e90958490e4e4d641b; >= f87e62d45e51b12d48d2cb46b5cde8f83b866bc4, < 17153f154f80be2b47ebf52840f2d8f724eb2f3b; >= f87e62d45e51b12d48d2cb4… Fixed in: Linux 854cd32bc74fe573353095e90958490e4e4d641b, Linux 17153f154f80be2b47ebf52840f2d8f724eb2f3b, Linux 7bb09315f93dce6acc54bf59e5a95ba7365c2be4 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-23240 being exploited?
There is no confirmed exploitation: CVE-2026-23240 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.59% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-23240?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-23240?
Linux >= f87e62d45e51b12d48d2cb46b5cde8f83b866bc4, < a5de36d6cee74a92c1a21b260bc507e64bc451de; >= f87e62d45e51b12d48d2cb46b5cde8f83b866bc4, < 854cd32bc74fe573353095e90958490e4e4d641b; >= f87e62d45e51b12d48d2cb46b5cde8f83b866bc4, < 17153f154f80be2b47ebf52840f2d8f724eb2f3b; >= f87e62d45e51b12d48d2cb46b5cde8f83b866bc4, < 7bb09315f93dce6acc54bf59e5a95ba7365c2be4; Linux 5.3.
Is there a fix for CVE-2026-23240?
Yes. Fixed in Linux 854cd32bc74fe573353095e90958490e4e4d641b, Linux 17153f154f80be2b47ebf52840f2d8f724eb2f3b, Linux 7bb09315f93dce6acc54bf59e5a95ba7365c2be4. Upgrade Linux to 7bb09315f93dce6acc54bf59e5a95ba7365c2be4 or later.
How do I check if I'm affected by CVE-2026-23240?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.