# CVE-2026-64007: netfilter: synproxy: refresh tcphdr after skb\_ensure\_writable

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.76% (percentile 51, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-07-19T14:56:23.049Z
- **Modified:** 2026-10-19T21:17:18.750Z

## Who should check

- Anyone running Linux \>= 48b1de4c110a7afa4b85862f6c75af817db26fad, \< 9902a1058992de5d95656b64a3bd95c077f7ba2c; \>= 48b1de4c110a7afa4b85862f6c75af817db26fad, \< d3019c61799adc21811af4b521f11f3dc77f8e04; \>= 48b1de4c110a7afa4b85862f6c75af817db26fad, \< dd206819f210522579010d889d45a9530bb494bc; \>= 48b1de4c110a7afa4b85862f6c75af817db26fad, \< af2c22ccb1f621aff487ff47a040e38e058541e7; \>= 48b1de4c110a7afa4b85862f6c75af817db26fad, \< c7f945f7da097245a2f8ed7775ce48421047ee96; \>= 48b1de4c110a7afa4b85862f6c75af817db26fad, \< f0fea2b6d5453a11ad11713bbf37561b9b3a7edf; \>= 48b1de4c110a7afa4b85862f6c75af817db26fad, \< a91887a5b6ee4b98dfbf1db657ed2b879430149e; \>= 48b1de4c110a7afa4b85862f6c75af817db26fad, \< 92170e6afe927ab2792a3f71902845789c8e31b1
- Anyone running Linux 3.12

## 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.

## Affected and fixed versions

- Linux: \>= 48b1de4c110a7afa4b85862f6c75af817db26fad, \< 9902a1058992de5d95656b64a3bd95c077f7ba2c; \>= 48b1de4c110a7afa4b85862f6c75af817db26fad, \< d3019c61799adc21811af4b521f11f3dc77f8e04; \>= 48b1de4c110a7afa4b85862f6c75af817db26fad, \< dd206819f210522579010d889d45a9530bb494bc; \>= 48b1de4c110a7afa4b85862f6c75af817db26fad, \< af2c22ccb1f621aff487ff47a040e38e058541e7; \>= 48b1de4c110a7afa4b85862f6c75af817db26fad, \< c7f945f7da097245a2f8ed7775ce48421047ee96; \>= 48b1de4c110a7afa4b85862f6c75af817db26fad, \< f0fea2b6d5453a11ad11713bbf37561b9b3a7edf; \>= 48b1de4c110a7afa4b85862f6c75af817db26fad, \< a91887a5b6ee4b98dfbf1db657ed2b879430149e; \>= 48b1de4c110a7afa4b85862f6c75af817db26fad, \< 92170e6afe927ab2792a3f71902845789c8e31b1 (cvelist)
- Linux: 3.12 (cvelist)

## Mitigation

- Upgrade Linux to 92170e6afe927ab2792a3f71902845789c8e31b1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64007. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64007.md
Affected: Linux >= 48b1de4c110a7afa4b85862f6c75af817db26fad, < 9902a1058992de5d95656b64a3bd95c077f7ba2c; >= 48b1de4c110a7afa4b85862f6c75af817db26fad, < d3019c61799adc21811af4b521f11f3dc77f8e04; >= 48b1de4c110a7afa4b85862f6c75af817db26fad, < dd206819f210522579010d889d45a9530bb494bc; >= 48b1de4c110a7afa4b85862…
Fixed in: Linux 9902a1058992de5d95656b64a3bd95c077f7ba2c, Linux 92170e6afe927ab2792a3f71902845789c8e31b1

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64007 being exploited?

There is no confirmed exploitation: CVE-2026-64007 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.76% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64007?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-64007?

Linux \>= 48b1de4c110a7afa4b85862f6c75af817db26fad, \< 9902a1058992de5d95656b64a3bd95c077f7ba2c; \>= 48b1de4c110a7afa4b85862f6c75af817db26fad, \< d3019c61799adc21811af4b521f11f3dc77f8e04; \>= 48b1de4c110a7afa4b85862f6c75af817db26fad, \< dd206819f210522579010d889d45a9530bb494bc; \>= 48b1de4c110a7afa4b85862f6c75af817db26fad, \< af2c22ccb1f621aff487ff47a040e38e058541e7; \>= 48b1de4c110a7afa4b85862f6c75af817db26fad, \< c7f945f7da097245a2f8ed7775ce48421047ee96; \>= 48b1de4c110a7afa4b85862f6c75af817db26fad, \< f0fea2b6d5453a11ad11713bbf37561b9b3a7edf; \>= 48b1de4c110a7afa4b85862f6c75af817db26fad, \< a91887a5b6ee4b98dfbf1db657ed2b879430149e; \>= 48b1de4c110a7afa4b85862f6c75af817db26fad, \< 92170e6afe927ab2792a3f71902845789c8e31b1; Linux 3.12.

### Is there a fix for CVE-2026-64007?

Yes. Fixed in Linux 9902a1058992de5d95656b64a3bd95c077f7ba2c, Linux 92170e6afe927ab2792a3f71902845789c8e31b1. Upgrade Linux to 92170e6afe927ab2792a3f71902845789c8e31b1 or later.

### How do I check if I'm affected by CVE-2026-64007?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/9902a1058992de5d95656b64a3bd95c077f7ba2c>
- patch: <https://git.kernel.org/stable/c/d3019c61799adc21811af4b521f11f3dc77f8e04>
- patch: <https://git.kernel.org/stable/c/dd206819f210522579010d889d45a9530bb494bc>
- patch: <https://git.kernel.org/stable/c/af2c22ccb1f621aff487ff47a040e38e058541e7>
- patch: <https://git.kernel.org/stable/c/c7f945f7da097245a2f8ed7775ce48421047ee96>
- patch: <https://git.kernel.org/stable/c/f0fea2b6d5453a11ad11713bbf37561b9b3a7edf>
- patch: <https://git.kernel.org/stable/c/a91887a5b6ee4b98dfbf1db657ed2b879430149e>
- patch: <https://git.kernel.org/stable/c/92170e6afe927ab2792a3f71902845789c8e31b1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64007>

HTML: <https://flawdb.com/CVE-2026-64007> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64007>
