# CVE-2026-98368: esp: downgrade zerocopy managed frags before mutating skb frags

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; 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:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **Published:** 2026-10-06T08:46:53.292Z
- **Modified:** 2026-10-19T10:18:39.853Z

## Who should check

- Anyone running Linux \>= 753f1ca4e1e50248a1b760c9774d6d6b354562cc, \< 2359264f377cdbdef2d95868cc8fb572949e48d3; \>= 753f1ca4e1e50248a1b760c9774d6d6b354562cc, \< 69a768c12398cada8528080332c822623fa7064d; \>= 753f1ca4e1e50248a1b760c9774d6d6b354562cc, \< 6508304ac2c8cdafca2f4ab915df8c707893e134; \>= 753f1ca4e1e50248a1b760c9774d6d6b354562cc, \< 6cab554f2c0f28773f712ed3a5479103f42ce844; \>= 753f1ca4e1e50248a1b760c9774d6d6b354562cc, \< 0d0845ee61c5df47cc68bc446501f48f71e8dcc6; \>= 753f1ca4e1e50248a1b760c9774d6d6b354562cc, \< f89416eb3db151170a6f3c6dfc5239d26cdce4d2
- Anyone running Linux 6.0

## Description

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

esp: downgrade zerocopy managed frags before mutating skb frags

On the out-of-place output path (esp-\>inplace == false) ESP rewrites the
skb frag array: esp\_output\_head() appends a trailer frag and
esp\_output\_tail() replaces the frags with a destination page, both
referenced with get\_page().

When the skb carries zerocopy managed frags (SKBFL\_MANAGED\_FRAG\_REFS) the
payload frags are owned by the ubuf and must not be referenced or
unreferenced individually, but ESP mutates the frag array without ever
downgrading the skb.  This breaks the managed-frag invariant two ways:

  - esp\_ssg\_unref() walks the source scatterlist and drops a page
    reference for every frag, including the ubuf-owned payload frags,
    pushing their refcount below the GUP pin bias while the pages are
    still pinned, i.e. a use-after-free of the zerocopy pages;

  - esp\_output\_tail() installs its destination page as frag 0 with
    get\_page() but leaves SKBFL\_MANAGED\_FRAG\_REFS set, so
    skb\_release\_data() takes the skip\_unref branch and never drops that
    reference, leaking the x-\>xfrag page at packet rate.

Fix this the way every other frag-mutating site does (\_\_ip\_append\_data(),
\_\_ip6\_append\_data(), tcp\_sendmsg\_locked()) and call
skb\_zcopy\_downgrade\_managed() before ESP touches the frag array: it takes
a real reference on each existing frag and clears SKBFL\_MANAGED\_FRAG\_REFS,
so the per-frag unref in esp\_ssg\_unref() and the frag release in
skb\_release\_data() are both balanced and no mixed-ownership frag array is
left behind.

## Affected and fixed versions

- Linux: \>= 753f1ca4e1e50248a1b760c9774d6d6b354562cc, \< 2359264f377cdbdef2d95868cc8fb572949e48d3; \>= 753f1ca4e1e50248a1b760c9774d6d6b354562cc, \< 69a768c12398cada8528080332c822623fa7064d; \>= 753f1ca4e1e50248a1b760c9774d6d6b354562cc, \< 6508304ac2c8cdafca2f4ab915df8c707893e134; \>= 753f1ca4e1e50248a1b760c9774d6d6b354562cc, \< 6cab554f2c0f28773f712ed3a5479103f42ce844; \>= 753f1ca4e1e50248a1b760c9774d6d6b354562cc, \< 0d0845ee61c5df47cc68bc446501f48f71e8dcc6; \>= 753f1ca4e1e50248a1b760c9774d6d6b354562cc, \< f89416eb3db151170a6f3c6dfc5239d26cdce4d2 (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-98368.md
Affected: Linux >= 753f1ca4e1e50248a1b760c9774d6d6b354562cc, < 2359264f377cdbdef2d95868cc8fb572949e48d3; >= 753f1ca4e1e50248a1b760c9774d6d6b354562cc, < 69a768c12398cada8528080332c822623fa7064d; >= 753f1ca4e1e50248a1b760c9774d6d6b354562cc, < 6508304ac2c8cdafca2f4ab915df8c707893e134; >= 753f1ca4e1e50248a1b760c…
Fixed in: Linux 2359264f377cdbdef2d95868cc8fb572949e48d3, Linux 69a768c12398cada8528080332c822623fa7064d, Linux 6508304ac2c8cdafca2f4ab915df8c707893e134, Linux 6cab554f2c0f28773f712ed3a5479103f42ce844, Linux 0d0845ee61c5df47cc68bc446501f48f71e8dcc6

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-98368 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 753f1ca4e1e50248a1b760c9774d6d6b354562cc, \< 2359264f377cdbdef2d95868cc8fb572949e48d3; \>= 753f1ca4e1e50248a1b760c9774d6d6b354562cc, \< 69a768c12398cada8528080332c822623fa7064d; \>= 753f1ca4e1e50248a1b760c9774d6d6b354562cc, \< 6508304ac2c8cdafca2f4ab915df8c707893e134; \>= 753f1ca4e1e50248a1b760c9774d6d6b354562cc, \< 6cab554f2c0f28773f712ed3a5479103f42ce844; \>= 753f1ca4e1e50248a1b760c9774d6d6b354562cc, \< 0d0845ee61c5df47cc68bc446501f48f71e8dcc6; \>= 753f1ca4e1e50248a1b760c9774d6d6b354562cc, \< f89416eb3db151170a6f3c6dfc5239d26cdce4d2; Linux 6.0.

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

Yes. Fixed in Linux 2359264f377cdbdef2d95868cc8fb572949e48d3, Linux 69a768c12398cada8528080332c822623fa7064d, Linux 6508304ac2c8cdafca2f4ab915df8c707893e134, Linux 6cab554f2c0f28773f712ed3a5479103f42ce844, Linux 0d0845ee61c5df47cc68bc446501f48f71e8dcc6. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/2359264f377cdbdef2d95868cc8fb572949e48d3>
- other: <https://git.kernel.org/stable/c/69a768c12398cada8528080332c822623fa7064d>
- other: <https://git.kernel.org/stable/c/6508304ac2c8cdafca2f4ab915df8c707893e134>
- other: <https://git.kernel.org/stable/c/6cab554f2c0f28773f712ed3a5479103f42ce844>
- other: <https://git.kernel.org/stable/c/0d0845ee61c5df47cc68bc446501f48f71e8dcc6>
- other: <https://git.kernel.org/stable/c/f89416eb3db151170a6f3c6dfc5239d26cdce4d2>

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

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