CVE-2026-64007: netfilter: synproxy: refresh tcphdr after skb_ensure_writable

Published Jul 19, 2026
·
Updated

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

netfilter: synproxy: refresh tcphdr after skbensurewritable

synproxytstampadjust() rewrites the TCP timestamp option in place and then patches the TCP checksum via inetprotocsumreplace4() on the caller-supplied tcphdr pointer. Both ipv4synproxyhook() and ipv6synproxyhook() obtain that pointer with skbheaderpointer() 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 skbensurewritable(skb, optend), which on a cloned or non-linear skb invokes pskbexpandhead() and frees the old skb->head. After that point the cached th is stale:

caller (ipv[46]synproxyhook) th = skbheaderpointer(skb, ..., &tcph) synproxytstampadjust(skb, protoff, th, ...) skbensurewritable(skb, optend) pskbexpandhead() / kfree(old skb->head) / ... inetprotocsumreplace4(&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 skbensurewritable() succeeds, so the subsequent checksum update targets the linear, writable header.

Affected Software

1 affected component
Linux Kernel Linux kernel

Event History

Jul 19, 2026
CVE Published
via MITRE·02:56 PM
Data Sourced
via MITRE·02:56 PM
DescriptionSeverity
Data Sourced
via NVD·04:17 PM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-64007?

CVE-2026-64007 is classified with a risk rating of 37, indicating a notable vulnerability in the Linux kernel.

2

How do I fix CVE-2026-64007?

To remediate CVE-2026-64007, update your Linux kernel to the latest version that includes the patch for this vulnerability.

3

What type of vulnerability is CVE-2026-64007?

CVE-2026-64007 is a netfilter vulnerability related to the synproxy feature in the Linux kernel.

4

What systems are affected by CVE-2026-64007?

The vulnerability CVE-2026-64007 affects systems running affected versions of the Linux kernel.

5

When was CVE-2026-64007 published?

CVE-2026-64007 was published on July 19, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203