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

net: psp: do not inherit the Rx association on clone

sk->psp_assoc sits past sk_dontcopy_end, so sock_copy() copies it into
every socket accepted from a listener without taking a reference, while
inet_sock_destruct() puts for every inet socket. psp_twsk_init() does
refcount_inc() for the timewait socket, so a child closing through
TIME_WAIT cancels its own put and leaves the association with one
reference and N timewait sockets holding the same pointer. Closing the
listener frees it, and the timewait timers then put freed memory.

Rejecting the association on a listening socket is not sufficient: a socket
can acquire one while established and then be turned back into a listener,
because tcp_disconnect() leaves sk->psp_assoc in place.

BUG: KASAN: slab-use-after-free in psp_twsk_assoc_free+0x6f/0xf0
Write of size 4 at addr ffff888110f9255c by task swapper/7/0
psp_twsk_assoc_free+0x6f/0xf0
inet_twsk_put+0xda/0x1b0
call_timer_fn+0x53/0x2e0
__run_timers+0x764/0xa80
Freed by task 99:
kfree+0x1a7/0x500
process_one_work+0x7ec/0x1100

An association carries a per-connection SPI and key, so a child must not
inherit the parent's. Clear it on clone.
Published: 2026-10-28
Score: n/a
EPSS: n/a
KEV: No
Impact: Kernel memory corruption (use‑after‑free) leading to possible denial of service or privilege escalation
Action: Apply Patch
AI Analysis

Impact

The Linux kernel incorrectly copies a socket’s PSP (Protocol Support Per-Connection) association pointer into cloned sockets without proper reference counting. When a child socket inherits the parent’s association and the parent is closed during the TIME_WAIT state, the association can be freed while still referenced, resulting in a use‑after‑free condition. This kernel memory corruption can trigger a crash or potentially allow a local attacker to execute arbitrary code with elevated privileges, as the freed memory may be reused by the kernel for sensitive data such as cryptographic keys or SPI values.

Affected Systems

All Linux kernel builds that have not applied the fix to clear the PS association on socket clone are affected. The vulnerability’s CPE indicates a generic Linux kernel, and no specific version string is provided, so any distribution running an older kernel that still inherits the PSP association on clone is susceptible.

Risk and Exploitability

The CVSS score is not supplied and the EPSS score is unavailable, so the explicit likelihood of exploitation is unknown. The vulnerability is recorded as not in the CISA KEV catalog, suggesting limited exploitation to date. The attack requires the ability to create and close sockets, manipulate listener states, and observe TIME_WAIT handling, making it potentially exploitable by local users with network or elevated privileges rather than by remote attackers without kernel access. Nonetheless, the nature of a use‑after‑free in the kernel makes the risk significant for affected systems, as it can lead to denial of service or privilege escalation if exploited successfully.

Generated by OpenCVE AI on October 28, 2026 at 12:44 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that clears the PSP association on socket clone
  • If an immediate kernel upgrade is not feasible, restrict the creation of unnecessary listening sockets that could trigger the invalid reference path
  • Monitor kernel logs for KASAN or other memory error messages to detect exploitation attempts

Generated by OpenCVE AI on October 28, 2026 at 12:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 28 Oct 2026 13:45:00 +0000

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux

Wed, 28 Oct 2026 13:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Wed, 28 Oct 2026 10:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: psp: do not inherit the Rx association on clone sk->psp_assoc sits past sk_dontcopy_end, so sock_copy() copies it into every socket accepted from a listener without taking a reference, while inet_sock_destruct() puts for every inet socket. psp_twsk_init() does refcount_inc() for the timewait socket, so a child closing through TIME_WAIT cancels its own put and leaves the association with one reference and N timewait sockets holding the same pointer. Closing the listener frees it, and the timewait timers then put freed memory. Rejecting the association on a listening socket is not sufficient: a socket can acquire one while established and then be turned back into a listener, because tcp_disconnect() leaves sk->psp_assoc in place. BUG: KASAN: slab-use-after-free in psp_twsk_assoc_free+0x6f/0xf0 Write of size 4 at addr ffff888110f9255c by task swapper/7/0 psp_twsk_assoc_free+0x6f/0xf0 inet_twsk_put+0xda/0x1b0 call_timer_fn+0x53/0x2e0 __run_timers+0x764/0xa80 Freed by task 99: kfree+0x1a7/0x500 process_one_work+0x7ec/0x1100 An association carries a per-connection SPI and key, so a child must not inherit the parent's. Clear it on clone.
Title net: psp: do not inherit the Rx association on clone
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-28T10:34:33.109Z

Reserved: 2026-09-25T10:25:14.392Z

Link: CVE-2026-99116

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-28T11:17:31.140

Modified: 2026-10-28T11:17:31.140

Link: CVE-2026-99116

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T13:30:20Z

Weaknesses