Linux kernel: tls: only install push_pending_record for a TX context
- Exploited
- No known exploitation
- Fix
- No fix listed
- Who is exposed
- Not reported
Summary
In the Linux kernel, the following vulnerability has been resolved:
tls: only install push_pending_record for a TX context
tls_set_sw_offload() assigns ctx->push_pending_record for both directions, but the hook is a TX-side dispatcher. On a socket whose TX side is HW offloaded, tls_set_device_offload() installs tls_device_push_pending_record(); any later TLS_RX setsockopt overwrites it with tls_sw_push_pending_record(), because tls_set_device_offload_rx() itself calls tls_set_sw_offload(sk, 0, NULL) for the software half of a successful HW RX offload, and so does the fallback when the RX offload is declined (NIC with TX-only offload, tls_dev_add() failure).
From then on tls_handle_open_record() (a TLS_SET_RECORD_TYPE cmsg after a MSG_MORE send, or the close path with a pending writer) runs tls_sw_push_pending_record() against priv_ctx_tx, which is a struct tls_offload_context_tx, not a struct tls_sw_context_tx, and reads open_rec from inside the offload context. On x86_64 without lock debugging that field overlays sg_tx_data[2].dma_address, which is never set, so the push is silently skipped and the data buffered by the MSG_MORE send is later sent under the cmsg's record type, e.g. application data in a handshake or alert record. Enabling CONFIG_DEBUG_SPINLOCK, CONFIG_DEBUG_LOCK_ALLOC and CONFIG_LOCKDEP, but not CONFIG_LOCK_STAT, in the tested x86_64 configuration moves open_rec over sg_tx_data[5].page_link. Once populated, its page pointer and scatterlist flags are interpreted as a tls_rec pointer and dereferenced while reading msg_plaintext.sg.size.
Only set the hook when initialising the TX side.
Found by code review while developing TLS 1.3 HW offload rekey support.
Tested with HW TLS TX and RX offload on Mellanox ConnectX-6 Dx (Crypto Enabled): after setting TLS_RX, send() "AAAA" with MSG_MORE, then sendmsg() "BBBB" with a TLS_SET_RECORD_TYPE cmsg for a handshake record. Without this patch the peer receives a single handshake record "AAAABBBB"; with it, an application data record "AAAA" followed by a handshake record "BBBB".
What to do
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-143154 (tls: only install push_pending_record for a TX context), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-143154 (entry last updated 2026-12-03):
Affected:
- Linux Linux: version range not reported
- Linux Linux: versions 4.18
Fixed versions: none listed yet.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-143154 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-143154 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/5a3882bda2b37b30af5ab79d99a3def2d2176b6f
- https://git.kernel.org/stable/c/2df23216d7ac87cc707a8c0a3665eb3ebca8c964
- https://git.kernel.org/stable/c/ef01c2770c81966221753a6c1c8b70b9efd80486
- https://git.kernel.org/stable/c/2325edb8908f06b956acb8e45869ff465f9819ad
- https://git.kernel.org/stable/c/18f4e9564c974f71fd542110accead449452e746
- https://git.kernel.org/stable/c/c47e766c5307c06a78304582b2b5b5ab01ee1358
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-143154
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-143154"}.Affected versions
- Linux LinuxVersion range not reported
- Linux Linux4.18
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure?/25Unknown. No advisory context yet
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity?/10Unknown. No CVSS score or vendor rating
- No patch5/5No patch listed yet
What would change the score
- Would score about 80 if added to CISA KEV
- Would score about 75 if CISA's SSVC rates exploitation active
- Would score about 47 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
Evidence 8
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-143154 |
| Record | NVD · CVE-2026-143154 |
| Other links 6 | |
| Link | git.kernel.org · stable/c/5a3882bda2b37b30af5ab79d99a3def2d2176b6f |
| Link | git.kernel.org · stable/c/2df23216d7ac87cc707a8c0a3665eb3ebca8c964 |
| Link | git.kernel.org · stable/c/ef01c2770c81966221753a6c1c8b70b9efd80486 |
| Link | git.kernel.org · stable/c/2325edb8908f06b956acb8e45869ff465f9819ad |
| Link | git.kernel.org · stable/c/18f4e9564c974f71fd542110accead449452e746 |
| Link | git.kernel.org · stable/c/c47e766c5307c06a78304582b2b5b5ab01ee1358 |
Questions about CVE-2026-143154
Is CVE-2026-143154 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-143154?
Linux: version 4.18.
Source: cve.now feed data
Related
- CVE-2026-143401net: virtio: validate outer protocol of UDP tunnel GSO packets
- CVE-2026-143400virtio_net: check RX buffer length before DMA sync
- CVE-2026-143399udf: validate vat20->lengthHeader and VAT inode size in udf_load_vat()
- CVE-2026-143398Input: destroy force-feedback device on input unregistration
- CVE-2026-1433979p: use fc->net_ns for network namespace in RDMA and socket transports
- CVE-2026-143396net/9p/usbg: fix descriptor cleanup use-after-free
No corrections so far. Something wrong on this page? Report an error.