In the Linux kernel, the following vulnerability has been resolved: netfilter: synproxy: refresh tcphdr after skb_ensure_writable… (CVE-2026-64007)
In the Linux kernel, the following vulnerability has been resolved: netfilter: synproxy: refresh tcphdr after skb_ensure_writable synproxy_tstamp_adjust() rewrites the TCP timestamp option in place and then patches the TCP checksum via inet_proto_csum_replace4() on the caller-supplied tcphdr pointer. Both ipv4_synproxy_hook() and ipv6_synproxy_hook() obtain that pointer with skb_header_pointer() before calling in, so it may either alias skb->head directly or point at the caller's on-stack _tcph buffer. Between obtaining the pointer and using it, the function calls skb_ensure_writable(skb, optend), which on a cloned or non-linear skb invokes pskb_expand_head() and frees the old skb->head. After that point the cached th is stale: caller (ipv[46]_synproxy_hook) th = skb_header_pointer(skb, ..., &_tcph) synproxy_tstamp_adjust(skb, protoff, th, ...) skb_ensure_writable(skb, optend) pskb_expand_head() /* kfree(old skb->head) */ ... inet_proto_csum_replace4(&th->check, ...) /* writes into freed head, or into the caller's stack copy leaving the on-wire checksum stale */ The option bytes are written through skb->data and are fine; only the checksum update goes through th and so lands in the wrong place. The result is either a write into freed slab memory or a packet leaving with a checksum that does not match its payload. Fix by re-deriving th from skb->data + protoff immediately after skb_ensure_writable() succeeds, so the subsequent checksum update targets the linear, writable header.
AI Analysis
Technical Summary
The Linux kernel netfilter synproxy module had a vulnerability (CVE-2026-64007) where the TCP header pointer used for checksum updates was cached before skb_ensure_writable() was called. Since skb_ensure_writable() can reallocate skb->head, the cached pointer could point to freed memory or an on-stack copy, causing the checksum update to write to invalid memory or leave the packet checksum stale. This could result in memory corruption or network packets with invalid checksums. The vulnerability was fixed by re-deriving the TCP header pointer from skb->data after skb_ensure_writable() to ensure the checksum update is applied to the correct, writable header.
Potential Impact
The vulnerability can cause a write operation to freed kernel memory, potentially leading to memory corruption or instability in the kernel. Alternatively, it can cause network packets to be sent with incorrect TCP checksums, which may disrupt network communications relying on checksum validation. There is no indication of known exploits in the wild. The impact is primarily on kernel stability and network packet integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability description indicates that a fix has been implemented in the Linux kernel source by re-deriving the TCP header pointer after skb_ensure_writable(). Users and administrators should monitor official Linux kernel advisories and apply updates once available to remediate this issue.
In the Linux kernel, the following vulnerability has been resolved: netfilter: synproxy: refresh tcphdr after skb_ensure_writable… (CVE-2026-64007)
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: synproxy: refresh tcphdr after skb_ensure_writable synproxy_tstamp_adjust() rewrites the TCP timestamp option in place and then patches the TCP checksum via inet_proto_csum_replace4() on the caller-supplied tcphdr pointer. Both ipv4_synproxy_hook() and ipv6_synproxy_hook() obtain that pointer with skb_header_pointer() before calling in, so it may either alias skb->head directly or point at the caller's on-stack _tcph buffer. Between obtaining the pointer and using it, the function calls skb_ensure_writable(skb, optend), which on a cloned or non-linear skb invokes pskb_expand_head() and frees the old skb->head. After that point the cached th is stale: caller (ipv[46]_synproxy_hook) th = skb_header_pointer(skb, ..., &_tcph) synproxy_tstamp_adjust(skb, protoff, th, ...) skb_ensure_writable(skb, optend) pskb_expand_head() /* kfree(old skb->head) */ ... inet_proto_csum_replace4(&th->check, ...) /* writes into freed head, or into the caller's stack copy leaving the on-wire checksum stale */ The option bytes are written through skb->data and are fine; only the checksum update goes through th and so lands in the wrong place. The result is either a write into freed slab memory or a packet leaving with a checksum that does not match its payload. Fix by re-deriving th from skb->data + protoff immediately after skb_ensure_writable() succeeds, so the subsequent checksum update targets the linear, writable header.
CVSS v3.1
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel netfilter synproxy module had a vulnerability (CVE-2026-64007) where the TCP header pointer used for checksum updates was cached before skb_ensure_writable() was called. Since skb_ensure_writable() can reallocate skb->head, the cached pointer could point to freed memory or an on-stack copy, causing the checksum update to write to invalid memory or leave the packet checksum stale. This could result in memory corruption or network packets with invalid checksums. The vulnerability was fixed by re-deriving the TCP header pointer from skb->data after skb_ensure_writable() to ensure the checksum update is applied to the correct, writable header.
Potential Impact
The vulnerability can cause a write operation to freed kernel memory, potentially leading to memory corruption or instability in the kernel. Alternatively, it can cause network packets to be sent with incorrect TCP checksums, which may disrupt network communications relying on checksum validation. There is no indication of known exploits in the wild. The impact is primarily on kernel stability and network packet integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability description indicates that a fix has been implemented in the Linux kernel source by re-deriving the TCP header pointer after skb_ensure_writable(). Users and administrators should monitor official Linux kernel advisories and apply updates once available to remediate this issue.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-rf6c-225m-p2p4
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64007"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a5d27aa2a4a8d598912d557
Added to database: 07/19/2026, 19:38:18 UTC
Last enriched: 07/19/2026, 19:58:36 UTC
Last updated: 07/20/2026, 21:51:03 UTC
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.