CVE-2026-139206

HighCVSS 7.1/10Last modified Dec 1, 2026

Description

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

net/sched: etf: initialise the sock_exterr_skb before filling it

report_sock_error() clones the transmitted skb, overlays a struct sock_exterr_skb on its control block and fills in the seven struct sock_extended_err fields, but never clears addr_offset and port. skb_clone() copies cb[] verbatim, so the errqueue entry carries the TX skb's stale control block to the receive side, and the ipv4 error-queue reader trusts those bytes:

net/ipv4/ip_sockglue.c:556 sin->sin_addr.s_addr = *(__be32 *)(skb_network_header(skb) + serr->addr_offset); sin->sin_port = serr->port;

The gate that is supposed to guard that read only asks whether an address was requested at all:

net/ipv4/ip_sockglue.c:484 return serr->ee.ee_origin == SO_EE_ORIGIN_ICMP || serr->ee.ee_origin == SO_EE_ORIGIN_LOCAL || serr->port;

SO_EE_ORIGIN_TXTIME is neither ICMP nor LOCAL, so for sch_etf the gate is decided by serr->port alone -- by the stale byte pair. When it is non-zero the reader dereferences skb_network_header() + addr_offset with an arbitrary offset. On the TCP path cb[40..44) is not zero: the transmit path stored delivered_mstamp there (tcp_rate_skb_sent()), which is exactly where addr_offset/port sit in the arm64 struct layout.

Reached with an unmodified 7.3-rc4 (arm64, KASAN, in-tree modules): a TCP socket enables TX-timestamp error reporting (SO_TXTIME with SOF_TXTIME_REPORT_ERRORS), a sch_etf qdisc drops the packet, and a recvmsg() reaches ip_recv_error():

BUG: KASAN: slab-out-of-bounds in ip_recv_error+0x970/0xa0c Read of size 4 at addr ffff0000158ffdd5 by task A-227-A227-1_S2/113 ip_recv_error+0x970/0xa0c inet_recv_error+0x94/0xdc tcp_recvmsg+0x378/0x408 ... The buggy address is located 149 bytes to the right of allocated 704-byte region

Zero the whole overlay rather than the two fields individually: the errqueue entry is handed to the receive side as a self-contained record, which is what every other producer in the tree already does (sch_etf was the only error-queue producer that cleared neither field). This does not change what the in-tree selftest observes -- so_txtime.c reads only ee_origin/ee_errno/ee_code/ee_data/ee_info, never msg_name or sin_port.

Metrics

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

Affected software

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

No affected versions have been published.

Timeline

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

Related CVEs from 2026

CVE-2026-139207In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: IPsec, Fix out-of-bounds comparison of neighbour keys mlx5eCVE-2026-139208In the Linux kernel, the following vulnerability has been resolved: net: sparx5: fix tx DCB index drift in fdma xmit sparx5_fdma_xmit() adCVE-2026-139209In the Linux kernel, the following vulnerability has been resolved: net: sparx5/lan969x: do not read past skb->len when injecting a frame CVE-2026-139216.5Insufficient validation of untrusted input in DeviceBoundSessionCredentials in Google Chrome prior to 150.0.7871.47 allowed a remote attackeCVE-2026-139210In the Linux kernel, the following vulnerability has been resolved: tcp: reject devmem tx with fastopen and repair tcp_sendmsg_locked() enCVE-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 blocks
CVE-2026-139206: High severity, CVSS 7.1 | Vulnix