CVE-2026-31472
xfrm: iptfs: validate inner IPv4 header length in IPTFS payload
Mitigation
- Upgrade Linux to 0d10393d5eac33cbd92f7a41fddca12c41d3cb7e or later.
Who should check
- Anyone running Linux >= 6c82d2433671819a550227bf65bfb6043e3d3305, < de6d8e8ce5187f7402c9859b443355e7120c5f09; >= 6c82d2433671819a550227bf65bfb6043e3d3305, < 3db7d4f777a00164582061ccaa99569cd85011a3; >= 6c82d2433671819a550227bf65bfb6043e3d3305, < 0d10393d5eac33cbd92f7a41fddca12c41d3cb7e
- Anyone running Linux 6.14
Vulnerability facts
- Affected
- Linux >= 6c82d2433671819a550227bf65bfb6043e3d3305, < de6d8e8ce5187f7402c9859b443355e7120c5f09; >= 6c82d2433671819a550227bf65bfb6043e3d3305, < 3db7d4f777a00164582061ccaa99569cd85011a3; >= 6c82d2433671819a550227bf65bfb6043e3d3305, < 0d10393d5eac33cbd92f7a41fddca12c41d3cb7e; Linux 6.14
- Fixed in
- Linux 3db7d4f777a00164582061ccaa99569cd85011a3, Linux 0d10393d5eac33cbd92f7a41fddca12c41d3cb7e
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.17% chance of exploitation in 30 days (percentile 3, 2026-11-26)
- CWE
- CWE-835
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: xfrm: iptfs: validate inner IPv4 header length in IPTFS payload Add validation of the inner IPv4 packet tot_len and ihl fields parsed from decrypted IPTFS payloads in __input_process_payload(). A crafted ESP packet containing an inner IPv4 header with tot_len=0 causes an infinite loop: iplen=0 leads to capturelen=min(0, remaining)=0, so the data offset never advances and the while(data < tail) loop never terminates, spinning forever in softirq context. Reject inner IPv4 packets where tot_len < ihl*4 or ihl*4 < sizeof(struct iphdr), which catches both the tot_len=0 case and malformed ihl values. The normal IP stack performs this validation in ip_rcv_core(), but IPTFS extracts and processes inner packets before they reach that layer.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 6c82d2433671819a550227bf65bfb6043e3d3305, < de6d8e8ce5187f7402c9859b443355e7120c5f09; >= 6c82d2433671819a550227bf65bfb6043e3d3305, < 3db7d4f777a00164582061ccaa99569cd85011a3; >= 6c82d2433671819a550227bf65bfb6043e3d3305, < 0d10393d5eac33cbd92f7a41fddca12c41d3cb7e | — | cvelist |
| Linux | 6.14 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-31472. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-31472.md Affected: Linux >= 6c82d2433671819a550227bf65bfb6043e3d3305, < de6d8e8ce5187f7402c9859b443355e7120c5f09; >= 6c82d2433671819a550227bf65bfb6043e3d3305, < 3db7d4f777a00164582061ccaa99569cd85011a3; >= 6c82d2433671819a550227bf65bfb6043e3d3305, < 0d10393d5eac33cbd92f7a41fddca12c41d3cb7e; Linux 6.14 Fixed in: Linux 3db7d4f777a00164582061ccaa99569cd85011a3, Linux 0d10393d5eac33cbd92f7a41fddca12c41d3cb7e 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.
References
FAQ
Is CVE-2026-31472 being exploited?
There is no confirmed exploitation: CVE-2026-31472 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-31472?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-31472?
Linux >= 6c82d2433671819a550227bf65bfb6043e3d3305, < de6d8e8ce5187f7402c9859b443355e7120c5f09; >= 6c82d2433671819a550227bf65bfb6043e3d3305, < 3db7d4f777a00164582061ccaa99569cd85011a3; >= 6c82d2433671819a550227bf65bfb6043e3d3305, < 0d10393d5eac33cbd92f7a41fddca12c41d3cb7e; Linux 6.14.
Is there a fix for CVE-2026-31472?
Yes. Fixed in Linux 3db7d4f777a00164582061ccaa99569cd85011a3, Linux 0d10393d5eac33cbd92f7a41fddca12c41d3cb7e. Upgrade Linux to 0d10393d5eac33cbd92f7a41fddca12c41d3cb7e or later.
How do I check if I'm affected by CVE-2026-31472?
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.