CVE-2026-139210

Not scored yetLast modified Nov 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

tcp: reject devmem tx with fastopen and repair

tcp_sendmsg_locked() enforces that devmem TX can only proceed if the zero-copy path is active and a valid dmabuf binding exists. However, subsequent branches in tcp_sendmsg_locked() can still intercept the message before it reaches the devmem zero-copy loop:

1. TCP Fast Open (MSG_FASTOPEN or DEFER_CONNECT): If TCP_FASTOPEN_CONNECT is set, the socket may have a valid dst with NETIF_F_SG (so zc == MSG_ZEROCOPY and binding is present), but tcp_sendmsg_fastopen() -> tcp_send_syn_data() will use copy_page_from_iter() to byte-copy from the iterator. Since iov_base represents dma-buf offsets rather than user virtual addresses, this misinterprets offsets as user pointers and copies the caller's memory at those addresses into the SYN packet.

2. TCP repair mode: If tp->repair is enabled with TCP_RECV_QUEUE, tcp_send_rcvq() similarly calls skb_copy_datagram_from_iter(), byte-copying from the iterator.

Neither path supports or makes sense for devmem transmission. Reject devmem sends inside the Fast Open and TCP repair branches when a devmem binding is present. Checking inside the tp->repair branch also covers the case where repair mode is enabled while sk_stream_wait_connect() drops the socket lock.

Additionally, drop the !sockc_err gate from the devmem validation check and return sockc_err if set. Otherwise, if a valid SCM_DEVMEM_DMABUF is followed by a failing cmsg, sockc.dmabuf_id remains set while binding is not acquired, allowing the Fast Open and TCP_RECV_QUEUE repair paths to proceed and return before sockc_err is checked.

This pre-existing issue was identified by Sashiko AI review on commit 125755776bc6 ("tcp: reject non zerocopy devmem tx") and has not been hit in production.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= bd61848900bff597764238f3a8ec67c815cd316e, < 3c7bf219b8a366277f3aece661a2c09dcb85ae15; >= bd61848900bff597764238f3a8ec67c815cd316e, < c64d34f285267e5eabadd677cc2c89447d51d5d1; >= bd61848900bff597764238f3a8ec67c815cd316e, < 89b9db72918bc209029fad8cccc42191b498d511
LinuxLinux6.16

References

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139211In the Linux kernel, the following vulnerability has been resolved: sctp: reject forged cookie peer_addr with unknown address family When CVE-2026-139212In the Linux kernel, the following vulnerability has been resolved: regulator: irq: freeze deferred hardware access during suspend The regCVE-2026-139213In the Linux kernel, the following vulnerability has been resolved: ASoC: amd: raven: Fix memory leak in acp3x_dma_close() acp3x_dma_open(CVE-2026-1392147.8In the Linux kernel, the following vulnerability has been resolved: perf: Fix UAF in attach_task_ctx_data() struct perf_ctx_data is RCU prCVE-2026-139215In the Linux kernel, the following vulnerability has been resolved: nsproxy: Fix cred leak in the error path of prepare_nsset() A task thaCVE-2026-139216In the Linux kernel, the following vulnerability has been resolved: ntfs: fix u16 truncation of the update sequence array count check ntfsCVE-2026-1392177.8In the Linux kernel, the following vulnerability has been resolved: ntfs: reject index blocks with a too small entries offset Index blocksCVE-2026-1392187.8In the Linux kernel, the following vulnerability has been resolved: tipc: fix use-after-free of broadcast reception link at node release WCVE-2026-1392197.8In the Linux kernel, the following vulnerability has been resolved: net: shrink the payload-only part of skb dataref to one bit skb_shinfoCVE-2026-139226.5Side-channel information leakage in Paint in Google Chrome prior to 150.0.7871.47 allowed a remote attacker to leak cross-origin data via a CVE-2026-139220In the Linux kernel, the following vulnerability has been resolved: net: hibmcge: set netdev_ops before hbg_init() to fix NULL pointer dereCVE-2026-139221In the Linux kernel, the following vulnerability has been resolved: ionic: free port_info when probe fails after the port is set up ionic_
CVE-2026-139210: Unscored | Vulnix