CVE-2026-31471
Last modified
CVE-2026-31471 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.14, < 6.18.21 | — |
| Linux | Linux Kernel | >= 6.19, < 6.19.11 | — |
| Linux | Linux Kernel | 7.0 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-31471?
How severe is CVE-2026-31471?
How do I fix CVE-2026-31471?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-31466In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2026-31467In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-31468In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-31469In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-3147A vulnerability was found in libvips up to 8.18.0. This affe…7.8
- CVE-2026-31470In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-31472In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-31473In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-31474In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-31475In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-31476In the Linux kernel, the following vulnerability has been re…8.2
- CVE-2026-31477In the Linux kernel, the following vulnerability has been re…7.5
Are you affected by CVE-2026-31471?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
