Skip to main content

Linux Kernel CVE-2026-31665

| EUVDEUVD-2026-25558 HIGH
Use After Free (CWE-416)
2026-04-24 Linux GHSA-m7w2-jxf2-6j36
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Recon
    Gain local access with CAP_NET_ADMIN
  2. Delivery
    Create nft_ct timeout object
  3. Exploit
    Destroy object while sending TCP traffic
  4. Install
    Win RCU race in packet processing
  5. C2
    Trigger use-after-free on freed timeout
  6. Execute
    Groom heap to hijack freed slab
  7. Impact
    Escalate privileges to root

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires local code execution with CAP_NET_ADMIN in the relevant network namespace (obtainable by unprivileged users where user namespaces are permitted) to create and then destroy an nft_ct conntrack timeout policy object via nf_tables netlink, plus the kernel built with nf_tables conntrack timeout support (CONFIG_NFT_CT and CONFIG_NF_CONNTRACK_TIMEOUT). Exploitation is limited by the need to win a race: the timeout object must be freed while another CPU is concurrently processing packets and holding the RCU-derived reference in nf_ct_timeout_data(), which requires precise timing and heap grooming. It is not remotely reachable (AV:L) and PR:L confirms some privilege is needed; hosts that disable unprivileged user namespaces or do not expose CAP_NET_ADMIN to untrusted users are largely protected.

Impact

Signals are broadly consistent and point to a genuine-but-locally-scoped kernel bug rather than an internet-facing emergency. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.8 HIGH) correctly reflects local attack vector with low privileges and high CIA impact - typical of a kernel heap UAF that can yield privilege escalation. EPSS is very low (0.02%, 7th percentile), which is expected: EPSS models remote/mass exploitation probability and systematically under-weights local kernel LPEs, so it should NOT be read as 'not exploitable.' This CVE is not on CISA KEV and no public PoC is referenced, so exploitation is not confirmed in the wild. One caveat: the CVSS marks AC:L, but exploitation depends on winning an RCU race between object destroy and concurrent packet processing, which in practice raises attack complexity - real-world reliability is lower than AC:L implies. No SSVC decision data was provided. Net: prioritize as a standard high-severity kernel patch for multi-tenant/container hosts where untrusted users can obtain CAP_NET_ADMIN in a namespace, but it is not a drop-everything remote threat.

Exploit ScenarioDerived

A local attacker (or code inside a container able to obtain CAP_NET_ADMIN in a user namespace) creates an nft_ct conntrack timeout object, then triggers its destruction via an nftables transaction while simultaneously driving TCP traffic so other CPUs are inside nf_conntrack_tcp_packet() holding an RCU reference to the object. The synchronous kfree() frees the object mid-use, producing a use-after-free that the attacker grooms via heap spraying to corrupt kernel memory and escalate to root. The KASAN report in the commit shows exactly this race being hit by an 'exploit' task, though no packaged public exploit is referenced.

Act Now Prioritize within 24-48h. Why: Active threat signals + CRITICAL/HIGH severity.
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 – Jul 24, 2026

Local privilege escalation and memory corruption in the Linux kernel's netfilter nf_tables conntrack (nft_ct) subsystem allows a local user with network-admin capability to trigger a use-after-free by destroying a conntrack timeout object while packets on other CPUs still reference it. The flaw stems from nft_ct_timeout_obj_destroy() calling kfree() immediately after nf_ct_untimeout() without waiting for an RCU grace period, leaving a dangling RCU-protected pointer read during nf_conntrack_tcp_packet(). No public exploit identified at time of analysis, and EPSS is very low (0.02%, 7th percentile), but a KASAN reproducer ('exploit' task) is described in the commit and the bug is a classic exploitable CWE-416 heap UAF.

RemediationAI

Vendor-released patch: upgrade to a fixed kernel - 5.10.253, 5.15.203, 6.1.169, 6.6.135, 6.12.82, 6.18.23, 6.19.13, or 7.0, matching your stable branch; the upstream fix (adding rcu_head and using kfree_rcu in nft_ct_timeout_obj_destroy) is carried in the git.kernel.org stable commits (e.g. https://git.kernel.org/stable/c/d0983b48c10d1509fd795c155f8b1e832e1369ff). Distro users should apply the corresponding packaged kernel: Ubuntu via USN-8567-1 (https://ubuntu.com/security/notices/USN-8567-1) and Siemens appliance operators via SSA-019113 and SSA-082556. Where immediate patching is not possible, reduce exposure to the trigger path: restrict CAP_NET_ADMIN by setting user.max_user_namespaces=0 or kernel.unprivileged_userns_clone=0 to prevent unprivileged users from creating network namespaces where they could add nft_ct timeout objects (trade-off: breaks rootless containers and some sandboxing tools), and where nf_tables custom conntrack timeout policies are unused, avoid loading/using the nft_ct timeout object feature. These controls only shrink the attack surface and are not a substitute for the kernel update.

Affected VersionsENISA

Linux 7e0b2b57f01d183e1c84114f1f2287737358d748 <d0983b48c10d1509fd795c155f8b1e832e1369ff
Linux patch: 5.15.203
Linux patch: 0
Linux patch: 6.19.13
Linux 7e0b2b57f01d183e1c84114f1f2287737358d748 <070abdf1b04325b21a20a2a0c39a2208af107275
Linux 7e0b2b57f01d183e1c84114f1f2287737358d748 <c581e5c8f2b59158f62efe61c1a3dc36189081ff
Linux 7e0b2b57f01d183e1c84114f1f2287737358d748 <aa7cfa16f98f8ec3e6d47c34e1a8c1ae4b9b8b77
Linux patch: 6.6.135
Linux 7e0b2b57f01d183e1c84114f1f2287737358d748 <f8dca15a1b190787bbd03285304b569631160eda
Linux 7e0b2b57f01d183e1c84114f1f2287737358d748 <b42aca3660dc2627a29a38131597ca610dc451f9
Linux patch: 6.1.169
Linux patch: 6.12.82
Linux patch: 5.10.253
Linux 4.19
Linux patch: 7.0
Linux patch: 6.18.23
Linux 7e0b2b57f01d183e1c84114f1f2287737358d748 <f16fe84879a5280f05ebbcea593a189ba0f3e79a
Linux 7e0b2b57f01d183e1c84114f1f2287737358d748 <c458fc1c278a65ad5381083121d39a479973ebed

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 affected component is the Linux kernel netfilter/nf_tables framework, specifically the conntrack timeout policy object (struct nf_ct_timeout) managed by net/netfilter/nft_ct.c. nf_tables allows an administrator to define custom connection-tracking timeout policies as stateful objects; packet-processing hooks retrieve the active timeout via rcu_dereference() inside nf_ct_timeout_data() and dereference it in protocol handlers such as nf_conntrack_tcp_packet(). The root cause (CWE-416, use-after-free) is a missing RCU grace period: the destroy path frees the object synchronously with kfree() while concurrent softirq packet processing on other CPUs still holds RCU-protected references. The fix adds an rcu_head to struct nf_ct_timeout and switches to kfree_rcu(), deferring the free until all RCU readers finish - the same pattern already used in nfnetlink_cttimeout.c. Per the CPE data the scope is the generic Linux kernel (cpe:2.3:a:linux:linux:*), affecting any build with nf_tables conntrack timeout support (CONFIG_NFT_CT / CONFIG_NF_CONNTRACK_TIMEOUT).

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

Vendor (Linux) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Local UAF needing CAP_NET_ADMIN (PR:L) and winning a concurrency race between destroy and packet processing (AC:H), with high memory-corruption impact on confidentiality, integrity and availability.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 5.5 MEDIUM

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

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

Lifecycle Timeline

4
Patch released
Apr 27, 2026 - 20:00 nvd
Patch available
CVSS changed
Apr 27, 2026 - 15:22 NVD
7.8 (HIGH)
Patch available
Apr 24, 2026 - 16:16 EUVD
CVE Published
Apr 24, 2026 - 14:45 nvd
HIGH 7.8

DescriptionCVE.org

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

netfilter: nft_ct: fix use-after-free in timeout object destroy

nft_ct_timeout_obj_destroy() frees the timeout object with kfree() immediately after nf_ct_untimeout(), without waiting for an RCU grace period. Concurrent packet processing on other CPUs may still hold RCU-protected references to the timeout object obtained via rcu_dereference() in nf_ct_timeout_data().

Add an rcu_head to struct nf_ct_timeout and use kfree_rcu() to defer freeing until after an RCU grace period, matching the approach already used in nfnetlink_cttimeout.c.

KASAN report: BUG: KASAN: slab-use-after-free in nf_conntrack_tcp_packet+0x1381/0x29d0 Read of size 4 at addr ffff8881035fe19c by task exploit/80

Call Trace: nf_conntrack_tcp_packet+0x1381/0x29d0 nf_conntrack_in+0x612/0x8b0 nf_hook_slow+0x70/0x100 __ip_local_out+0x1b2/0x210 tcp_sendmsg_locked+0x722/0x1580 __sys_sendto+0x2d8/0x320

Allocated by task 75: nft_ct_timeout_obj_init+0xf6/0x290 nft_obj_init+0x107/0x1b0 nf_tables_newobj+0x680/0x9c0 nfnetlink_rcv_batch+0xc29/0xe00

Freed by task 26: nft_obj_destroy+0x3f/0xa0 nf_tables_trans_destroy_work+0x51c/0x5c0 process_one_work+0x2c4/0x5a0

Executive ViewAI

Why It Matters

A local privilege escalation vulnerability in the Linux kernel netfilter subsystem (CVE-2026-31665) allows network administrators with local system access to elevate privileges and corrupt kernel memory. Organizations running affected kernel versions risk unauthorized privilege escalation on systems where network-admin users have access. Immediate kernel patching is required to close this escalation vector.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Prevalence
Ubiquitous
Linux kernel with nf_tables netfilter present in nearly all Linux deployments
Threat Intel
2
1 source
Data Quality
7 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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat Yes
Deciding rule
Active threat signals + CRITICAL/HIGH severity
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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

Vendor StatusVendor

SUSE

Severity: High
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

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

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