Skip to main content

Linux Kernel CVE-2026-31429

| EUVDEUVD-2026-23816 MEDIUM
Memory Leak (CWE-401)
2026-04-20 Linux
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Obtain local user access on KFENCE-enabled kernel
  2. Delivery
    Trigger BPF test or SKB allocation at exactly SKB_SMALL_HEAD_CACHE_SIZE bytes
  3. Exploit
    KFENCE intercepts kzalloc(), returns exact requested size
  4. Install
    skb_end_offset matches SKB_SMALL_HEAD_HEADROOM
  5. C2
    skb_kfree_head() frees to wrong slab cache
  6. Execute
    Slab corruption triggers kernel panic
  7. Impact
    System denial of service

Vulnerability Assessment

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

Exploitation requires local system access with low privileges (CVSS PR:L; AV:L). The critical and non-default precondition is that the target kernel must have KFENCE enabled and active (CONFIG_KFENCE=y with a non-zero kfence.sample_interval) - this is a debugging feature absent from most production distribution kernels by default. Additionally, an allocation code path must request exactly SKB_SMALL_HEAD_CACHE_SIZE bytes (architecture-dependent; 704 bytes on x86_64) via kzalloc() at a moment when KFENCE probabilistically intercepts it, introducing a timing/sampling element. The bpf_test_init function is specifically identified in the description as a trigger. Exploitation is bounded by: (1) mandatory local authenticated access - no remote attack surface exists; (2) KFENCE must be enabled and sampling must be active, a non-default production state; (3) the allocation size must match the architecture-specific sentinel value; and (4) the impact is limited to availability (DoS/panic) with no confirmed confidentiality or integrity consequences.

Impact

CVSS 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) establishes this as a locally-triggered, low-privilege denial-of-service with no confidentiality or integrity impact. The attack vector is strictly local (AV:L), meaning remote exploitation is not possible - this sharply limits the realistic threat surface compared to network-exposed kernel bugs. EPSS at 0.02% (4th percentile) corroborates negligible exploitation probability, and the vulnerability is absent from CISA KEV. The 'Information Disclosure' tag present in the intelligence source data is inconsistent with the CVSS vector showing C:N - this tag appears to be a tagging error and should not be used for risk classification or reporting. The effective risk is further constrained by the KFENCE precondition: KFENCE is a debugging feature not enabled by default in production distributions, meaning the vast majority of deployed kernels are unexploitable without additional configuration. For development environments, CI pipelines, or hardened servers with KFENCE deliberately enabled, the risk is real but bounded to local DoS. No SSVC exploitation status can be confirmed beyond 'none publicly known.'

Exploit ScenarioDerived

A local user with standard (non-root) privileges on a development or CI server running a KFENCE-enabled kernel invokes a BPF test operation (e.g., via bpf_test_init) that triggers an SKB allocation of exactly 704 bytes (SKB_SMALL_HEAD_CACHE_SIZE on x86_64). KFENCE intercepts the kzalloc() call and reports the exact size, causing skb_kfree_head() to route the subsequent free to skb_small_head_cache instead of the kmalloc-1k cache from which the memory originated. The resulting slab cross-cache free corrupts allocator metadata, triggering an immediate kernel panic and system crash, affecting all processes on the host. No public exploit code has been identified at time of analysis.

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 – May 20, 2026

Cross-cache slab free in the Linux kernel's socket buffer (SKB) subsystem allows a local authenticated attacker to trigger a kernel panic and denial of service on systems where KFENCE is enabled. When KFENCE intercepts a kzalloc() call whose requested size exactly matches SKB_SMALL_HEAD_CACHE_SIZE, the computed skb_end_offset misleads skb_kfree_head() into freeing the object to skb_small_head_cache instead of the originating kmalloc cache, corrupting slab allocator state. No public exploit is identified at time of analysis and EPSS is 0.02% (4th percentile), placing this firmly in the low-urgency tier absent a KFENCE-enabled production environment.

RemediationAI

The primary fix is to upgrade to a patched kernel version: 6.12.82, 6.18.23, 6.19.13, or mainline 7.0, as confirmed by EUVD affected version data. Upstream stable patches are available at https://git.kernel.org/stable/c/60313768a8edc7094435975587c00c2d7b834083, https://git.kernel.org/stable/c/2d64618ea846d8d033477311f805ca487d6a6696, https://git.kernel.org/stable/c/474e00b935db250cac320d10c1d3cf4e44b46721, and https://git.kernel.org/stable/c/0f42e3f4fe2a58394e37241d02d9ca6ab7b7d516. Where patching is not immediately feasible on KFENCE-enabled systems, the compensating control is to disable KFENCE by setting kfence.sample_interval=0 on the kernel command line or by rebuilding with CONFIG_KFENCE=n; this eliminates the vulnerable allocation-size reporting path entirely. The trade-off is loss of KFENCE's memory safety detection capability, relevant only to environments using it deliberately for kernel debugging or fuzzing. Production systems without KFENCE enabled are not affected and require no immediate action beyond scheduling the next routine kernel update.

Affected VersionsENISA

Linux patch: 6.19.13
Linux patch: 6.12.82
Linux bf9f1baa279f0758dc2297080360c5a616843927 <0f42e3f4fe2a58394e37241d02d9ca6ab7b7d516
Linux patch: 6.18.23
Linux bf9f1baa279f0758dc2297080360c5a616843927 <60313768a8edc7094435975587c00c2d7b834083
Linux patch: 7.0
Linux patch: 0
Linux 6.3
Linux bf9f1baa279f0758dc2297080360c5a616843927 <2d64618ea846d8d033477311f805ca487d6a6696
Linux bf9f1baa279f0758dc2297080360c5a616843927 <474e00b935db250cac320d10c1d3cf4e44b46721

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 Linux kernel maintains a specialized slab cache (skb_small_head_cache) for socket buffer heads, intentionally sized at a non-power-of-2 value - 704 bytes on x86_64 - so that skb_kfree_head() can use skb_end_offset as a reliable sentinel to distinguish it from generic kmalloc buckets. KFENCE (Kernel Electric Fence, CONFIG_KFENCE) is a sampling-based, low-overhead memory safety tool; when active, kfence_ksize() returns the exact requested allocation size rather than the slab bucket size. This breaks the sentinel assumption: if bpf_test_init (or any caller) issues kzalloc() with a size equal to SKB_SMALL_HEAD_CACHE_SIZE and KFENCE intercepts the allocation, the slab_build_skb() -> ksize() call returns the exact value, causing skb_end_offset after subtracting skb_shared_info overhead to equal SKB_SMALL_HEAD_HEADROOM. The free path then routes the object to the wrong cache, producing a 'Wrong slab cache. Expected skbuff_small_head but got kmalloc-1k' splat. CWE-401 (improper release of memory) describes the root cause class: memory is released to an incorrect allocator context, leading to slab state corruption. CPE data identifies the affected product as cpe:2.3:a:linux:linux across multiple stable branches.

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 6.6 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
May 20, 2026 - 19:37 NVD
5.5 (MEDIUM)
Patch released
Apr 27, 2026 - 14:16 nvd
Patch available
Patch available
Apr 20, 2026 - 11:16 EUVD
CVE Published
Apr 20, 2026 - 09:43 nvd
N/A

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

net: skb: fix cross-cache free of KFENCE-allocated skb head

SKB_SMALL_HEAD_CACHE_SIZE is intentionally set to a non-power-of-2 value (e.g. 704 on x86_64) to avoid collisions with generic kmalloc bucket sizes. This ensures that skb_kfree_head() can reliably use skb_end_offset to distinguish skb heads allocated from skb_small_head_cache vs. generic kmalloc caches.

However, when KFENCE is enabled, kfence_ksize() returns the exact requested allocation size instead of the slab bucket size. If a caller (e.g. bpf_test_init) allocates skb head data via kzalloc() and the requested size happens to equal SKB_SMALL_HEAD_CACHE_SIZE, then slab_build_skb() -> ksize() returns that exact value. After subtracting skb_shared_info overhead, skb_end_offset ends up matching SKB_SMALL_HEAD_HEADROOM, causing skb_kfree_head() to incorrectly free the object to skb_small_head_cache instead of back to the original kmalloc cache, resulting in a slab cross-cache free:

kmem_cache_free(skbuff_small_head): Wrong slab cache. Expected skbuff_small_head but got kmalloc-1k

Fix this by always calling kfree(head) in skb_kfree_head(). This keeps the free path generic and avoids allocator-specific misclassification for KFENCE objects.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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