Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-31471

HIGH 7.8EPSS 4%

xfrm: iptfs: only publish mode_data after clone setup

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 6be02e3e4f376fea468846c8562655ca5ee18204, < 371a43c4ac70cac0de9f9b1fc5b1660b9565b9f1; >= 6be02e3e4f376fea468846c8562655ca5ee18204, < 5784a1e2889c9525a8f036cb586930e232170bf7; >= 6be02e3e4f376fea468846c8562655ca5ee18204, < d849a2f7309fc0616e79d13b008b0a47e0458b6e
  • Anyone running Linux 6.14

Vulnerability facts

Affected
Linux >= 6be02e3e4f376fea468846c8562655ca5ee18204, < 371a43c4ac70cac0de9f9b1fc5b1660b9565b9f1; >= 6be02e3e4f376fea468846c8562655ca5ee18204, < 5784a1e2889c9525a8f036cb586930e232170bf7; >= 6be02e3e4f376fea468846c8562655ca5ee18204, < d849a2f7309fc0616e79d13b008b0a47e0458b6e; Linux 6.14
Fixed in
Linux 371a43c4ac70cac0de9f9b1fc5b1660b9565b9f1, Linux 5784a1e2889c9525a8f036cb586930e232170bf7
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.18% chance of exploitation in 30 days (percentile 4, 2026-11-26)
CWE
CWE-415
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: xfrm: iptfs: only publish mode_data after clone setup iptfs_clone_state() stores x->mode_data before allocating the reorder window. If that allocation fails, the code frees the cloned state and returns -ENOMEM, leaving x->mode_data pointing at freed memory. The xfrm clone unwind later runs destroy_state() through x->mode_data, so the failed clone path tears down IPTFS state that clone_state() already freed. Keep the cloned IPTFS state private until all allocations succeed so failed clones leave x->mode_data unset. The destroy path already handles a NULL mode_data pointer.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 6be02e3e4f376fea468846c8562655ca5ee18204, < 371a43c4ac70cac0de9f9b1fc5b1660b9565b9f1; >= 6be02e3e4f376fea468846c8562655ca5ee18204, < 5784a1e2889c9525a8f036cb586930e232170bf7; >= 6be02e3e4f376fea468846c8562655ca5ee18204, < d849a2f7309fc0616e79d13b008b0a47e0458b6e—cvelist
Linux6.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-31471. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31471.md
Affected: Linux >= 6be02e3e4f376fea468846c8562655ca5ee18204, < 371a43c4ac70cac0de9f9b1fc5b1660b9565b9f1; >= 6be02e3e4f376fea468846c8562655ca5ee18204, < 5784a1e2889c9525a8f036cb586930e232170bf7; >= 6be02e3e4f376fea468846c8562655ca5ee18204, < d849a2f7309fc0616e79d13b008b0a47e0458b6e; Linux 6.14
Fixed in: Linux 371a43c4ac70cac0de9f9b1fc5b1660b9565b9f1, Linux 5784a1e2889c9525a8f036cb586930e232170bf7

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

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

How serious is CVE-2026-31471?

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

Which versions are affected by CVE-2026-31471?

Linux >= 6be02e3e4f376fea468846c8562655ca5ee18204, < 371a43c4ac70cac0de9f9b1fc5b1660b9565b9f1; >= 6be02e3e4f376fea468846c8562655ca5ee18204, < 5784a1e2889c9525a8f036cb586930e232170bf7; >= 6be02e3e4f376fea468846c8562655ca5ee18204, < d849a2f7309fc0616e79d13b008b0a47e0458b6e; Linux 6.14.

Is there a fix for CVE-2026-31471?

Yes. Fixed in Linux 371a43c4ac70cac0de9f9b1fc5b1660b9565b9f1, Linux 5784a1e2889c9525a8f036cb586930e232170bf7. No fix listed yet: follow the vendor advisory.

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

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.

Sponsors