Skip to main content

Linux Kernel CVE-2026-31517

| EUVDEUVD-2026-24901 MEDIUM
Memory Leak (CWE-401)
2026-04-22 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-759f-2cpp-x5g6
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Attacker crafts IPsec packets
  2. Delivery
    Sends fragmented packet with mixed reassembly paths
  3. Exploit
    First fragment triggers fast-path zero-copy
  4. Install
    Buffer becomes non-linear
  5. C2
    Second fragment forces slow-path
  6. Execute
    skb_put() called on non-linear buffer
  7. Impact
    SKB_LINEAR_ASSERT triggered
  8. Step 8
    Kernel panic
  9. Step 9
    Denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

IP-TFS (IP Traffic Flow Security) must be configured and active on the target system via xfrm policy rules. The attacker must be able to send IPsec ESP packets to the target system (network-accessible attack surface). A crafted IPsec packet sequence must contain at least two fragments where the first triggers zero-copy attachment (fast path, making the buffer non-linear) and the second fragment fails fast-path conditions, forcing the slow-path code that calls skb_put(). The kernel must have the xfrm_iptfs module loaded. Systems using standard IPsec without IP-TFS, or systems that filter IPsec packets at the network boundary, are not vulnerable.

Impact

This is a localized denial-of-service vulnerability with moderate real-world risk. The CVSS score of 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) indicates local attack vector, low complexity, and low privilege requirement with high availability impact - but this is inconsistent with the description indicating network-based IPsec packet delivery. The EPSS score of 0.02% (4th percentile) suggests very low exploitation probability across the internet, which is realistic given that IP-TFS is a specialized IPsec feature not deployed ubiquitously. No active exploitation is confirmed (KEV status not indicated), and no public exploit code is referenced. However, the vulnerability is trivial to trigger if the attacker can send crafted IPsec packets to a system with IP-TFS enabled, and the impact is a kernel crash affecting system availability. The attack vector contradiction (CVSS says local, but IPsec is network-delivered) suggests the CVSS vector may reflect the privilege requirement rather than the actual network reachability - this should be verified with the kernel maintainers. Systems not using IP-TFS are unaffected. The EUVD indicates patches are available for stable kernels (6.18.21, 6.19.11, and 7.0), reducing exploitability risk for patched systems.

Exploit ScenarioDerived

An attacker on the network sends a series of IPsec packets encapsulated with IP-TFS to a target system. The first fragment is processed via the fast-path zero-copy code, causing the reassembly buffer to become non-linear. A subsequent fragment in the same datagram does not meet fast-path conditions, triggering the slow-path code path. The slow-path code calls skb_put() on the now-non-linear buffer, triggering a SKB_LINEAR_ASSERT panic that immediately crashes the kernel, resulting in a denial of service.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 28, 2026

Denial of service via kernel panic in the Linux kernel xfrm_iptfs module when processing fragmented IP-TFS packets with mixed fast-path and slow-path reassembly conditions. The vulnerability triggers an invalid memory access (SKB_LINEAR_ASSERT) in skb_put() when attempting to append data to a non-linear socket buffer during packet reassembly, affecting systems using IP-TFS encapsulation over IPsec. Local attackers with network access to send crafted IPsec packets can crash the kernel; active exploitation not confirmed but patch is available.

RemediationAI

Upgrade the Linux kernel to a patched version containing commit 0b352f83cabfefdaafa806d6471f0eca117dc7d5 (available in 6.18.21 stable, 6.19.11 stable, and 7.0 releases) or later. For long-term support kernels, check with your distribution vendor for backported patches. The fix adds a skb_linearize() call in iptfs_reassem_cont() when the reassembly buffer is non-linear, ensuring safe memory operations before calling skb_put(). As an interim mitigation on systems unable to immediately patch, disable IP-TFS usage by not configuring xfrm policies with the iptfs mode, or restrict IPsec packet ingress via firewall rules to trusted sources only. Note that disabling IP-TFS eliminates the confidentiality benefits of traffic flow security, so patching is the preferred long-term solution. See Linux kernel git commits at https://git.kernel.org/stable/c/0b352f83cabfefdaafa806d6471f0eca117dc7d5, https://git.kernel.org/stable/c/33a7b36268933c75bdc355e5531951e0ea9f1951, and https://git.kernel.org/stable/c/7fdfe8f6efeb0e1200e22a903f2471539f54522b for the upstream fix and advisory details at https://nvd.nist.gov/vuln/detail/CVE-2026-31517.

Affected VersionsENISA

Linux patch: 7.0
Linux 5f2b6a9095743a6bf1f34c43c4fe78fa8bdf5ad7 <7fdfe8f6efeb0e1200e22a903f2471539f54522b
Linux 5f2b6a9095743a6bf1f34c43c4fe78fa8bdf5ad7 <0b352f83cabfefdaafa806d6471f0eca117dc7d5
Linux patch: 6.18.21
Linux patch: 0
Linux 5f2b6a9095743a6bf1f34c43c4fe78fa8bdf5ad7 <33a7b36268933c75bdc355e5531951e0ea9f1951
Linux patch: 6.19.11
Linux 6.14

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exists in the Linux kernel's xfrm_iptfs module, which implements IP-TFS (IP Traffic Flow Security) as defined in RFC 9329 for IPsec encapsulation. The xfrm subsystem handles IPsec transformations and packet processing in the kernel networking stack. During IP-TFS packet reassembly, the iptfs_reassem_cont() function uses a zero-copy technique to attach packet fragments as non-linear regions (via skb_attach_data()) into the reassembly buffer for efficiency. However, the code later assumes the buffer remains linear when calling skb_put() to append subsequent fragments via the slow path. The skb_put() function includes a SKB_LINEAR_ASSERT check that triggers an invalid opcode exception (panic) if the socket buffer has been made non-linear. The root cause is CWE-401 (improper resource release), where the function fails to linearize the socket buffer before attempting linear memory operations on data that may have been made non-linear by prior operations.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
SUSE MEDIUM
Red Hat MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Apr 28, 2026 - 16:37 NVD
5.5 (MEDIUM)
Patch released
Apr 28, 2026 - 16:35 nvd
Patch available
Patch available
Apr 22, 2026 - 16:33 EUVD
CVE Published
Apr 22, 2026 - 14:16 nvd
MEDIUM 5.5

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy