VDB

CVE-2026-23240

CVE-2026-23240 PUBLISHED CVSS 9.8 CRITICAL

tls: Fix race condition in tls_sw_cancel_work_tx()

Reported by linux · Published March 10, 2026

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().

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18-modules-extra-commonAmazon Linux1:6.18.16-18.222.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.77-99.140.amzn2023
kernel6.18-develAmazon Linux1:6.18.16-18.222.amzn2023
kernel6.18-libbpf-staticAmazon Linux1:6.18.16-18.222.amzn2023
kernel-livepatch-6.12.77-99.140Amazon Linux1:1.0-0.amzn2023
bpftool6.12Amazon Linux1:6.12.77-99.140.amzn2023
kernel6.18-headersAmazon Linux1:6.18.16-18.222.amzn2023
kernel6.12-develAmazon Linux1:6.12.77-99.140.amzn2023
python3-perf6.18Amazon Linux1:6.18.16-18.222.amzn2023
kernel6.18-libbpf-develAmazon Linux1:6.18.16-18.222.amzn2023
kernel6.12-libbpf-develAmazon Linux1:6.12.77-99.140.amzn2023
linux_kernellinux6.19.6, 6.18.16, 6.12.75

Risk scores

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxf87e62d45e51b12d48d2cb46b5cde8f83b866bc4, f87e62d45e51b12d48d2cb46b5cde8f83b866bc4, f87e62d45e51b12d48d2cb46b5cde8f83b866bc4
LinuxLinux5.3, 0, 6.12.75
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.18-libbpf-static0
amazon:2023kernel-livepatch-6.12.77-99.1400
amazon:2023bpftool6.120
amazon:2023kernel6.18-headers0
amazon:2023kernel6.12-devel0
amazon:2023python3-perf6.180
amazon:2023kernel6.18-libbpf-devel0
amazon:2023kernel6.12-libbpf-devel0
linuxlinux_kernel5.3, 5.3, 5.3
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-libbpf0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-libbpf-static0
amazon:2023kernel6.180

…and 12 more

Timeline

  • Mar 10, 2026 CVE Published
  • Mar 11, 2026 EPSS Score (30 in total, the first dated here)
  • Mar 22, 2026 Coalition ESS Score (3 in total, the first dated here)
  • Apr 2, 2026 Security Advisory (4 in total, the first dated here)
  • Oct 19, 2026 CVE Updated
  • Nov 10, 2026 Distribution Patch (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-23240
vulnetix vdb fixes CVE-2026-23240

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-23240/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›