KernelScan.io

HIGH Introduced in 6.18

psp SocketAssoc Conflict

CVE-2026-98274

CVSS 7.8 / 10.0 KernelScan AI

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

01

In the Linux kernel, the following vulnerability has been resolved: net: psp: avoid conflicts with skb->decrypted and sk_validate_xmit_skb() PSP conflicts with TLS ULP in its usage of both skb->decrypted and sk->sk_validate_xmit_skb(). Make PSP mutually exclusive with TLS ULP, the only other user of either of these. As other users of skb->decrypted come along, they can be added to sk_has_decrypt_user(). It would make sense to also assert that sk->sk_validate_xmit_skb() is also NULL in both of these setup paths for similar future proofing, but the PSP listener/sk_clone() path is still broken and it could be seen as a regression to not allow rx assoc to run on a child of a listener socket with PSP tx assoc state. Include all TCP ULPs in the sk_has_decrypt_user() check, even though TLS is the only one that conflicts with PSP via the decrypted bit. This is intentional because PSP was not designed to be used with ULPs. It is best to close off surface area that may make bugs reachable, until someone wishes to design and test an actual user of PSP with ULPs.

02

Engine v0.7.0

Risk summary

A local process that can create TCP sockets and configure TLS, combined with network administration access to the PSP netlink interface, can trigger conflicting use of shared packet and socket state between PSP and TLS. This can cause the kernel to apply incorrect encryption or validation handling to network packets, potentially leaking sensitive data or corrupting packet contents.

Affectednet/psp/psp_sock.c, net/ipv4/tcp_ulp.c (psp)

Vulnerability analysis

The PSP network security feature and the TLS protocol layer both use the same packet flag and socket transmit-validation callback to track encryption state, but the kernel did not prevent them from being enabled simultaneously on the same TCP connection. When both are active, they overwrite each other's state, causing the kernel to apply incorrect encryption or validation handling to network packets — potentially sending sensitive data without proper encryption or corrupting packet contents. The fix adds a mutual exclusion check so that neither feature can be enabled on a socket where the other is already in use, covering all TCP upper-layer protocols since PSP was not designed to interoperate with them. The conflict is reachable from a local process that can create TCP sockets and enable TLS, combined with access to the PSP configuration interface which requires network administration privileges.

03

BranchIntroducedFixed inPatch commit
6.186.186.18.54a13cca5ba537
7.26.187.2.8c8c8c1886233
mainline6.187.3a41f24c612c3