CVE-2026-139512

Not scored yetLast modified Nov 30, 2026

Description

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

net: psp: require an established connection for association setup

Check sk_state under the socket lock in both the rx-assoc and tx-assoc handlers, and only allow association setup on sockets in TCP_ESTABLISHED. Also, fail connect() when PSP assoc state is already present, and remove the dead PSP MSS adjustment from tcp_v[46]_connect().

The net effect of this commit is: 1. PSP assoc state can never exist on a listen socket. 2. The upgrade to PSP must be done while the socket is in TCP_ESTABLISHED.

This change defeatures behavior that was previously allowed under the PSP uapi. My justification is:

Nothing useful can be done after association setup on closed or listen sockets today. Listen sockets could accept a PSP-encrypted TCP SYN, but the child socket will not inherit any PSP state. On the other side, establishing PSP state prior to connect() will result in a PSP-encrypted TCP SYN sent to a listening peer, which in turn has the aforementioned limitations. That implies that there cannot be any users of this feature, so it should be safe to remove it from the PSP uapi.

In theory, the check in the tx-assoc path is more restrictive than necessary. FIN_WAIT1/2, CLOSING, LAST_ACK and CLOSE_WAIT could be allowed, and the peer would accept PSP-encrypted ACKs in the post-FIN-sent states, or data in the half-close case, but it is simpler to disallow those states because they don't fit the upgrade model.

The check in the tx-assoc path fixes a bug in commit 6b46ca260e22 ("net: psp: add socket security association code") where an unsynchronized write can be performed on an assoc shared with a timewait socket when the socket is in TCP_CLOSE after shutdown. This commit is not targeted at net because its premise of preventing listen sockets from holding assoc state depends on net-next commit 8cc3aef0cb19 ("tcp: Do not allow buggy transitions between ehash and lhash2.")

Metrics

No CVSS score has been published yet.

Affected software

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

No affected versions have been published.

Timeline

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

Related CVEs from 2026

CVE-2026-139513In the Linux kernel, the following vulnerability has been resolved: ipv4: reserve one IP ID per segment for UDP GSO packets __ip_make_skb(CVE-2026-139514In the Linux kernel, the following vulnerability has been resolved: dmaengine: ste_dma40: Fix memcpy channel parsing d40_of_probe() validaCVE-2026-139515In the Linux kernel, the following vulnerability has been resolved: dmaengine: ste_dma40: Init hardware before registration d40_probe() enCVE-2026-139516In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: Reserve space for a string terminator ath12k_write_htt_sCVE-2026-139517In the Linux kernel, the following vulnerability has been resolved: floppy: unregister platform device on add_disk failure The change refeCVE-2026-139518In the Linux kernel, the following vulnerability has been resolved: floppy: avoid NULL deref in reset_interrupt when cont is cleared resetCVE-2026-139519In the Linux kernel, the following vulnerability has been resolved: dlm: validate node weights before building member array DLM node weighCVE-2026-139524.3Inappropriate implementation in PerformanceAPIs in Google Chrome prior to 150.0.7871.47 allowed a remote attacker to leak cross-origin data CVE-2026-139520In the Linux kernel, the following vulnerability has been resolved: wifi: nxpwifi: validate variable IE lengths in beacon parser nxpwifi_uCVE-2026-139521In the Linux kernel, the following vulnerability has been resolved: NFS: filelayout: calculate dense stripe width in 64 bits filelayout_geCVE-2026-139522In the Linux kernel, the following vulnerability has been resolved: dmaengine: plx_dma: fix NULL pointer deref in plx_dma_isr() plx_dma_crCVE-2026-139523In the Linux kernel, the following vulnerability has been resolved: dmaengine: ioat: disable relaxed ordering before registering the device
CVE-2026-139512: Unscored | Vulnix