Linux IPv4 TCP - temporal memory safety
A concurrency-related lifetime defect in kernel networking code, with a reported remote root outcome in an MPTCP environment.
01. When the attack surface exists below the application
A web application can enforce mutual TLS, require multifactor authentication and validate every byte of its application protocol. None of those controls establishes the memory safety of the operating system that receives its connections. The kernel must process incoming network traffic before those application controls become relevant.
CVE-2026-98432 illustrates that separation. A memory lifetime error in IPv4 TCP processing, introduced in Linux 4.4, survived for roughly a decade. The Linux CVE team assigns the defect a CVSS 3.1 score of 9.8. Anthropic subsequently reported remote root command execution in a laboratory environment with an MPTCP listener.[1][2]
This article analyzes the public kernel disclosure and remediation. It is not an independently reproduced exploit, and does not claim that every reachable TCP listener can be converted into remote root execution.
02. The kernel networking architecture
Linux distinguishes a listening socket, a request socket representing an incomplete connection, and a fully established child socket. Request sockets retain the state needed during connection establishment without allocating every resource associated with an established connection. The accept queue subsequently exposes completed connections to the application.
IPv4 options are header-level metadata, distinct from TCP options such as MSS or window scaling. The affected internal option object is associated with IP processing, even though its lifetime crosses TCP socket states. Correct ownership is therefore a cross-subsystem invariant.
03. Read-copy-update: visibility is not ownership
RCU permits concurrent read-side access while an updater replaces or removes a published object. Readers enter a read-side critical section; the updater must ensure retired storage remains valid until relevant readers have exited. A grace period provides this lifetime guarantee without requiring every reader to acquire an exclusive lock.
Publication, mutual exclusion and reclamation are distinct properties. A pointer can be read correctly yet refer to storage that another execution context has already released. Likewise, holding a reference to a container object does not automatically preserve the lifetime of a separately allocated object referenced by that container.
/* Illustrative RCU lifetime invariant, not kernel source */
reader: begin read-side critical section
access published object
end read-side critical section
writer: retire object
defer reclamation until grace period
The central invariant is that the reclamation time must occur after the completion of any reader protected by the applicable grace period. RCU does not guarantee that every field is immutable, nor does it replace locks for unrelated state transitions.
04. Root cause: inconsistent option-object lifetime
The kernel advisory identifies two related ownership transitions involving IPv4 option storage. One concerns transfer from connection-request state to a child socket; the other concerns migration of request state. Both expose an inconsistency between the lifetime expected by readers and the reclamation policy used by destructors.[1]
| Component | Role in the lifetime contract |
|---|---|
inet_request_sock |
Maintains IPv4 option state associated with a pending connection. |
inet_sock |
Maintains IPv4 state for a socket. |
| RCU read-side protection | Allows concurrent protected observation of option state. |
| Socket destructor | Responsible for correct reclamation of owned resources. |
The primary defect is not an invalid allocation size or a missing input-validation check. It is temporal memory unsafety: the storage lifetime is shorter than the period during which legitimate code may still reference it. Ownership transfer alone cannot establish that all concurrent observers have finished.
A valid reference to a socket is not sufficient evidence that its associated option storage remains valid. Lifetime guarantees must cover the actual object being accessed.
05. Request migration and the second defect
Linux supports moving pending connection state among eligible listeners in certain configurations. Such state transitions can preserve references to shared metadata while the original request and its replacement have different lifetimes. The advisory identifies a second reclamation defect in this path.[1]
The engineering lesson is that ownership must be defined across all paths that share or transfer a resource, not just the most common connection-establishment path. Error cleanup, migration, cancellation and destruction require the same lifetime discipline as successful execution.
| Review dimension | Question for kernel reviewers |
|---|---|
| Ownership | Which object is responsible for releasing the resource? |
| Readers | What synchronization protects indirect references? |
| Transitions | Does migration or handoff preserve the reader contract? |
| Cleanup | Do all destructors follow the same reclamation policy? |
06. Patch analysis: restoring deferred reclamation
The upstream change is titled
ipv4: free inet_opt and ireq_opt after an RCU grace period.
It updates cleanup in net/ipv4/af_inet.c and
net/ipv4/tcp_ipv4.c. The change replaces immediate
release with deferred RCU reclamation in the affected
destructors.[1][3]
/* Semantic summary of the patch */ - immediate reclamation of IPv4 option storage + reclamation deferred through kfree_rcu()
The two-argument form of kfree_rcu() uses the object's
embedded RCU callback field. Existing read-side synchronization can
then serve its intended purpose. The corrected implementation does
not require an application-protocol change or a new authentication
mechanism.
From a review perspective, the change is small but meaningful: fixing a memory lifetime invariant can require fewer lines than adding a new security feature. The security impact is determined by the invariant restored, not the size of the diff.
Use the maintained vendor kernel update rather than manually applying an isolated patch. Kernel releases include interacting fixes and are tested as a whole.
07. Reported exploitation and security boundaries
Anthropic reported that an internal Claude model produced an exploit achieving root command execution against a Linux server with an MPTCP listener. The research demonstrates that remotely reachable kernel memory corruption can have consequences substantially beyond a connection failure.[2]
| Security property | Assessment |
|---|---|
| Confidentiality | Kernel memory exposure is a possible consequence of unsafe access. |
| Integrity | Corruption of kernel state can undermine system trust. |
| Availability | Invalid memory access may terminate operations or destabilize the host. |
| Privilege boundary | Successful kernel compromise can invalidate userspace privilege assumptions. |
KASLR, non-executable memory, allocator hardening and control-flow protections are defense-in-depth mechanisms. They reduce exploitability under particular conditions but do not correct a dangling reference. Exact outcomes depend on kernel configuration, hardware architecture, allocator behavior and the surrounding implementation.
The public report does not establish universal exploit reliability, nor does this article provide a reproduction procedure or exploit code. The MPTCP configuration is an observed condition of the reported demonstration, not a complete definition of affected hosts.
08. Why MPTCP and Go services deserve attention
Multipath TCP extends TCP so that a logical connection can use multiple transport subflows. Its implementation introduces additional socket relationships and state management, but the CVE itself concerns shared IPv4 TCP infrastructure. A service need not implement MPTCP at the application layer to depend on a kernel that supports it.
Go services deserve particular inventory attention because recent Go releases enable multipath listeners by default on supported Linux configurations. Check the runtime's actual behavior, explicit listener options and effective kernel settings rather than assuming that the application's source code naming TCP excludes MPTCP.[4]
# Read-only inventory on an authorized Linux host uname -r cat /etc/os-release sysctl net.mptcp.enabled ss -lntp ss -M -lnt # For a known Go binary, if Go tooling is installed: go version -m /path/to/service
The availability of MPTCP socket diagnostics depends on the kernel and iproute2 version. Disabling MPTCP may reduce exposure to the published scenario but does not repair the core IPv4 defect.
09. Affected releases and patch verification
The Linux kernel CVE team identifies Linux 4.4 as the introduction point and lists the following upstream fixed releases. Distribution kernels may contain backports with different version numbers.[1]
| Upstream branch | First listed fixed release |
|---|---|
| 5.10 | 5.10.272 |
| 5.15 | 5.15.223 |
| 6.1 | 6.1.190 |
| 6.6 | 6.6.159 |
| 6.12 | 6.12.113 |
| 6.18 | 6.18.56 |
| 7.2 | 7.2.10 |
| Mainline | 7.3 |
Do not compare the running kernel string against this table as the sole compliance test. Vendors frequently backport security fixes without adopting upstream version numbers. Confirm the package build against the applicable vendor advisory, and distinguish an installed update from the kernel actually running.
# Debian / Ubuntu package inventory uname -r dpkg-query -W "linux-image*" # RPM-based distributions rpm -q kernel kernel-core # Compare the running build with the vendor advisory.
Consult the Debian and Ubuntu trackers for package-specific status; their entries evolve as fixes are shipped.[5][6]
10. Detection engineering and incident response
This is a kernel memory-safety vulnerability, so application access logs are an incomplete source of evidence. A connection may fail or never reach application-level processing. Combine network metadata, host kernel telemetry and post-compromise observations instead of relying on an HTTP signature.
| Telemetry | Defensive interpretation |
|---|---|
| Kernel journal | Unexpected faults, allocator warnings or memory corruption reports; nonspecific indicators. |
| Network flow records | Unusual connection failure rates or traffic anomalies; compare with workload baselines. |
| EDR / audit | Unexpected privileged processes or changes to host security configuration. |
| Asset inventory | Running kernel, vendor fix status and externally reachable services. |
| Integrity monitoring | Unexpected changes to kernel modules, system binaries or persistence locations. |
# Read-only triage of kernel logs journalctl -k --since "24 hours ago" --no-pager # If suspicious, preserve full logs and relevant evidence.
None of these signals individually establishes exploitation of this CVE. Absence of a kernel crash is not evidence of safety. If compromise is suspected, isolate the asset using trusted infrastructure, preserve volatile evidence where feasible, and assess credentials and neighboring systems from an independent trusted environment.
11. Enterprise remediation strategy
| Priority | Action | Validation |
|---|---|---|
| P0 | Inventory internet-facing and critical Linux hosts. | Map listeners to actual running kernel builds. |
| P0 | Deploy vendor-approved fixed kernel packages. | Confirm package advisory and running version. |
| P1 | Reduce unnecessary network reachability. | Verify segmentation and allowed services. |
| P1 | Review MPTCP use and temporary restrictions. | Test impact and document residual exposure. |
| P1 | Reboot or use supported live patch if explicitly covered. | Verify actual runtime remediation. |
| P2 | Improve memory-corruption telemetry and incident playbooks. | Exercise alert triage and recovery. |
Containers normally share the kernel of their host. Updating a container image alone does not patch that host kernel. Virtual machines use their guest kernel, while managed Kubernetes nodes and cloud services require coordination with their respective operator or vendor. A reverse proxy is useful for reducing direct backend access but its own kernel remains part of the exposure analysis.
For critical infrastructure, stage updates on representative nodes, drain workloads, roll through redundant capacity and verify service health. Treat any delay as an explicit risk acceptance with compensating controls and an expiration date.
12. What AI-assisted vulnerability research changes
The significance of the Anthropic disclosure extends beyond this specific CVE. Large models can assist with tracing ownership through unfamiliar code, proposing invariants, identifying inconsistent cleanup paths and producing candidate tests. Their value is amplified when analysis is coupled with compiler diagnostics, source history and reproducible validation.[2]
However, model-generated findings remain hypotheses until validated. A plausible explanation may confuse pointer publication with lifetime protection or assume that a lock guards an object it does not cover. Human review and controlled testing are necessary to distinguish a source-level concern from an actual vulnerability.
For kernel maintainers, tools such as KASAN, KCSAN, lockdep and targeted regression testing provide complementary evidence. KASAN detects certain invalid memory accesses; KCSAN looks for data races; lockdep evaluates locking relationships. No single tool proves the absence of all lifetime defects.
13. Conclusion: a two-line change, a system-wide lesson
CVE-2026-98432 demonstrates how a subtle mismatch between ownership and reclamation can undermine the security of an entire operating system. The public fix reinforces a concurrency contract that readers already relied upon. The reported remote root outcome makes this more than an abstract memory-management issue.
For defenders, the immediate task is to verify and deploy the fixed kernel. For engineers, the deeper lesson is to review every resource handoff against the lifetime of all concurrent readers. For security researchers, this case illustrates the importance of combining automated analysis with evidence-driven validation.
Application hardening cannot substitute for a trustworthy kernel. Patch the underlying lifetime defect, verify the running build, and treat mitigations as temporary reductions in exposure.
14. References
Primary disclosures and vendor trackers consulted for this analysis. Architectural explanations and defensive recommendations are editorial analysis.
