Skip to content
FlawDB
Sign in

CVE-2026-139512

UNSCORED

net: psp: require an established connection for association setup

Mitigation

  • Upgrade Linux to 86a19284425fb0c420e1702f8d0de891279df6b7 or later.

Who should check

  • Anyone running Linux >= 6b46ca260e2290e3453d1355ab5b6d283d73d780, < 1d5073d45d846dad26b6b8035d8a2e997d8e1d59; >= 6b46ca260e2290e3453d1355ab5b6d283d73d780, < f84e20af7d01a7f29586cf3ddff92d275615e637; >= 6b46ca260e2290e3453d1355ab5b6d283d73d780, < 86a19284425fb0c420e1702f8d0de891279df6b7
  • Anyone running Linux 6.18

Vulnerability facts

Affected
Linux >= 6b46ca260e2290e3453d1355ab5b6d283d73d780, < 1d5073d45d846dad26b6b8035d8a2e997d8e1d59; >= 6b46ca260e2290e3453d1355ab5b6d283d73d780, < f84e20af7d01a7f29586cf3ddff92d275615e637; >= 6b46ca260e2290e3453d1355ab5b6d283d73d780, < 86a19284425fb0c420e1702f8d0de891279df6b7; Linux 6.18
Fixed in
Linux 1d5073d45d846dad26b6b8035d8a2e997d8e1d59, Linux 86a19284425fb0c420e1702f8d0de891279df6b7
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
Published
Modified

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

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 6b46ca260e2290e3453d1355ab5b6d283d73d780, < 1d5073d45d846dad26b6b8035d8a2e997d8e1d59; >= 6b46ca260e2290e3453d1355ab5b6d283d73d780, < f84e20af7d01a7f29586cf3ddff92d275615e637; >= 6b46ca260e2290e3453d1355ab5b6d283d73d780, < 86a19284425fb0c420e1702f8d0de891279df6b7—cvelist
Linux6.18—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-139512. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139512.md
Affected: Linux >= 6b46ca260e2290e3453d1355ab5b6d283d73d780, < 1d5073d45d846dad26b6b8035d8a2e997d8e1d59; >= 6b46ca260e2290e3453d1355ab5b6d283d73d780, < f84e20af7d01a7f29586cf3ddff92d275615e637; >= 6b46ca260e2290e3453d1355ab5b6d283d73d780, < 86a19284425fb0c420e1702f8d0de891279df6b7; Linux 6.18
Fixed in: Linux 1d5073d45d846dad26b6b8035d8a2e997d8e1d59, Linux 86a19284425fb0c420e1702f8d0de891279df6b7

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-139512 being exploited?

There is no confirmed exploitation: CVE-2026-139512 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is CVE-2026-139512?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-139512?

Linux >= 6b46ca260e2290e3453d1355ab5b6d283d73d780, < 1d5073d45d846dad26b6b8035d8a2e997d8e1d59; >= 6b46ca260e2290e3453d1355ab5b6d283d73d780, < f84e20af7d01a7f29586cf3ddff92d275615e637; >= 6b46ca260e2290e3453d1355ab5b6d283d73d780, < 86a19284425fb0c420e1702f8d0de891279df6b7; Linux 6.18.

Is there a fix for CVE-2026-139512?

Yes. Fixed in Linux 1d5073d45d846dad26b6b8035d8a2e997d8e1d59, Linux 86a19284425fb0c420e1702f8d0de891279df6b7. Upgrade Linux to 86a19284425fb0c420e1702f8d0de891279df6b7 or later.

How do I check if I'm affected by CVE-2026-139512?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
MEDIUM 6.5CVE-2026-140063

Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker

Linux kernel+1
MEDIUM 5.1CVE-2026-140038

Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber

Linux kernel+1
HIGH 7.3CVE-2026-139801

KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM

Linux kernel
UNSCOREDCVE-2026-139800

9p/xen: drain response work after unbinding IRQ

Linux kernel
HIGH 7.0CVE-2026-139799

mm/shmem: hold off eviction in shmem_writeout()

Linux kernel
Sponsors