CVE-2026-31517
xfrm: iptfs: fix skb_put() panic on non-linear skb during reassembly
Mitigation
- Upgrade Linux to 0b352f83cabfefdaafa806d6471f0eca117dc7d5 or later.
Who should check
- Anyone running Linux >= 5f2b6a9095743a6bf1f34c43c4fe78fa8bdf5ad7, < 33a7b36268933c75bdc355e5531951e0ea9f1951; >= 5f2b6a9095743a6bf1f34c43c4fe78fa8bdf5ad7, < 7fdfe8f6efeb0e1200e22a903f2471539f54522b; >= 5f2b6a9095743a6bf1f34c43c4fe78fa8bdf5ad7, < 0b352f83cabfefdaafa806d6471f0eca117dc7d5
- Anyone running Linux 6.14
Vulnerability facts
- Affected
- Linux >= 5f2b6a9095743a6bf1f34c43c4fe78fa8bdf5ad7, < 33a7b36268933c75bdc355e5531951e0ea9f1951; >= 5f2b6a9095743a6bf1f34c43c4fe78fa8bdf5ad7, < 7fdfe8f6efeb0e1200e22a903f2471539f54522b; >= 5f2b6a9095743a6bf1f34c43c4fe78fa8bdf5ad7, < 0b352f83cabfefdaafa806d6471f0eca117dc7d5; Linux 6.14
- Fixed in
- Linux 33a7b36268933c75bdc355e5531951e0ea9f1951, Linux 7fdfe8f6efeb0e1200e22a903f2471539f54522b, Linux 0b352f83cabfefdaafa806d6471f0eca117dc7d5
- 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-401
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: xfrm: iptfs: fix skb_put() panic on non-linear skb during reassembly In iptfs_reassem_cont(), IP-TFS attempts to append data to the new inner packet 'newskb' that is being reassembled. First a zero-copy approach is tried if it succeeds then newskb becomes non-linear. When a subsequent fragment in the same datagram does not meet the fast-path conditions, a memory copy is performed. It calls skb_put() to append the data and as newskb is non-linear it triggers SKB_LINEAR_ASSERT check. Oops: invalid opcode: 0000 [#1] SMP NOPTI [...] RIP: 0010:skb_put+0x3c/0x40 [...] Call Trace: <IRQ> iptfs_reassem_cont+0x1ab/0x5e0 [xfrm_iptfs] iptfs_input_ordered+0x2af/0x380 [xfrm_iptfs] iptfs_input+0x122/0x3e0 [xfrm_iptfs] xfrm_input+0x91e/0x1a50 xfrm4_esp_rcv+0x3a/0x110 ip_protocol_deliver_rcu+0x1d7/0x1f0 ip_local_deliver_finish+0xbe/0x1e0 __netif_receive_skb_core.constprop.0+0xb56/0x1120 __netif_receive_skb_list_core+0x133/0x2b0 netif_receive_skb_list_internal+0x1ff/0x3f0 napi_complete_done+0x81/0x220 virtnet_poll+0x9d6/0x116e [virtio_net] __napi_poll.constprop.0+0x2b/0x270 net_rx_action+0x162/0x360 handle_softirqs+0xdc/0x510 __irq_exit_rcu+0xe7/0x110 irq_exit_rcu+0xe/0x20 common_interrupt+0x85/0xa0 </IRQ> <TASK> Fix this by checking if the skb is non-linear. If it is, linearize it by calling skb_linearize(). As the initial allocation of newskb originally reserved enough tailroom for the entire reassembled packet we do not need to check if we have enough tailroom or extend it.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 5f2b6a9095743a6bf1f34c43c4fe78fa8bdf5ad7, < 33a7b36268933c75bdc355e5531951e0ea9f1951; >= 5f2b6a9095743a6bf1f34c43c4fe78fa8bdf5ad7, < 7fdfe8f6efeb0e1200e22a903f2471539f54522b; >= 5f2b6a9095743a6bf1f34c43c4fe78fa8bdf5ad7, < 0b352f83cabfefdaafa806d6471f0eca117dc7d5 | — | 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-31517. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-31517.md Affected: Linux >= 5f2b6a9095743a6bf1f34c43c4fe78fa8bdf5ad7, < 33a7b36268933c75bdc355e5531951e0ea9f1951; >= 5f2b6a9095743a6bf1f34c43c4fe78fa8bdf5ad7, < 7fdfe8f6efeb0e1200e22a903f2471539f54522b; >= 5f2b6a9095743a6bf1f34c43c4fe78fa8bdf5ad7, < 0b352f83cabfefdaafa806d6471f0eca117dc7d5; Linux 6.14 Fixed in: Linux 33a7b36268933c75bdc355e5531951e0ea9f1951, Linux 7fdfe8f6efeb0e1200e22a903f2471539f54522b, Linux 0b352f83cabfefdaafa806d6471f0eca117dc7d5 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-31517 being exploited?
There is no confirmed exploitation: CVE-2026-31517 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-31517?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-31517?
Linux >= 5f2b6a9095743a6bf1f34c43c4fe78fa8bdf5ad7, < 33a7b36268933c75bdc355e5531951e0ea9f1951; >= 5f2b6a9095743a6bf1f34c43c4fe78fa8bdf5ad7, < 7fdfe8f6efeb0e1200e22a903f2471539f54522b; >= 5f2b6a9095743a6bf1f34c43c4fe78fa8bdf5ad7, < 0b352f83cabfefdaafa806d6471f0eca117dc7d5; Linux 6.14.
Is there a fix for CVE-2026-31517?
Yes. Fixed in Linux 33a7b36268933c75bdc355e5531951e0ea9f1951, Linux 7fdfe8f6efeb0e1200e22a903f2471539f54522b, Linux 0b352f83cabfefdaafa806d6471f0eca117dc7d5. Upgrade Linux to 0b352f83cabfefdaafa806d6471f0eca117dc7d5 or later.
How do I check if I'm affected by CVE-2026-31517?
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.