# CVE-2026-98371: xfrm: iptfs: fix runt reassembly panic from short inner tot\_len

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-10-06T08:46:55.753Z
- **Modified:** 2026-10-19T10:18:40.323Z

## Who should check

- Anyone running Linux \>= 07569476544681816335099929ff3494dfbf6b05, \< a7018ee0ea8622ed59edc064be4e0f2c26464f53; \>= 07569476544681816335099929ff3494dfbf6b05, \< 5b8afb56ccb7c014b0f1ac40341708b200443c2d; \>= 07569476544681816335099929ff3494dfbf6b05, \< dc33262be1fe43d0eb0b84fb58c6ed42e2f64a8c
- Anyone running Linux 6.14

## Description

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

xfrm: iptfs: fix runt reassembly panic from short inner tot\_len

When the start of an inner packet is split across two outer packets
such that fewer than 4 bytes land at the end of the first one,
\_\_input\_process\_payload() saves those bytes as a runt and skips the
iplen/iphlen validation performed for in-place packets. When the
continuation packet arrives, iptfs\_reassem\_cont() only requires the
declared inner length to be \>= sizeof(ra\_runt) (6) before allocating
the reassembly skb with that attacker-controlled length.

However, \_\_iptfs\_iphlen() always returns the fixed minimum IP header
size (20 for IPv4, 40 for IPv6), so for an inner IPv4 tot\_len in
\[6, 19\] the header-completion copy writes past the declared packet
length, and the subsequent "ipremain -= copylen" underflows to ~4GB,
leaving the payload copy length bounded only by blkoff (up to 64KB).
At runtime the skb\_put() tailroom check turns this into
skb\_over\_panic(), i.e. an unprivileged kernel panic (DoS), reachable
locally via userns+netns IPTFS SAs and remotely against IPTFS VPN
gateways when the decrypted outer skb is linear (e.g. AF\_PACKET taps,
tun/tap delivery).

Align the runt path with the normal path by requiring the declared
inner length to cover at least the IP header size. This also subsumes
the previous \>= sizeof(ra\_runt) check, since the minimum IP header
is always larger than the runt buffer.

This issue was found by the autokbug dynamic kernel fuzzer at
Tencent Yunding Lab.

## Affected and fixed versions

- Linux: \>= 07569476544681816335099929ff3494dfbf6b05, \< a7018ee0ea8622ed59edc064be4e0f2c26464f53; \>= 07569476544681816335099929ff3494dfbf6b05, \< 5b8afb56ccb7c014b0f1ac40341708b200443c2d; \>= 07569476544681816335099929ff3494dfbf6b05, \< dc33262be1fe43d0eb0b84fb58c6ed42e2f64a8c (cvelist)
- Linux: 6.14 (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-98371. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98371.md
Affected: Linux >= 07569476544681816335099929ff3494dfbf6b05, < a7018ee0ea8622ed59edc064be4e0f2c26464f53; >= 07569476544681816335099929ff3494dfbf6b05, < 5b8afb56ccb7c014b0f1ac40341708b200443c2d; >= 07569476544681816335099929ff3494dfbf6b05, < dc33262be1fe43d0eb0b84fb58c6ed42e2f64a8c; Linux 6.14
Fixed in: Linux 5b8afb56ccb7c014b0f1ac40341708b200443c2d

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 07569476544681816335099929ff3494dfbf6b05, \< a7018ee0ea8622ed59edc064be4e0f2c26464f53; \>= 07569476544681816335099929ff3494dfbf6b05, \< 5b8afb56ccb7c014b0f1ac40341708b200443c2d; \>= 07569476544681816335099929ff3494dfbf6b05, \< dc33262be1fe43d0eb0b84fb58c6ed42e2f64a8c; Linux 6.14.

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

Yes. Fixed in Linux 5b8afb56ccb7c014b0f1ac40341708b200443c2d. No fix listed yet: follow the vendor advisory.

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

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/a7018ee0ea8622ed59edc064be4e0f2c26464f53>
- other: <https://git.kernel.org/stable/c/5b8afb56ccb7c014b0f1ac40341708b200443c2d>
- other: <https://git.kernel.org/stable/c/dc33262be1fe43d0eb0b84fb58c6ed42e2f64a8c>

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

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