Skip to main content

Linux Kernel CVE-2026-63981

| EUVDEUVD-2026-45754 MEDIUM
Uncontrolled Recursion (CWE-674)
2026-07-19 Linux GHSA-v39p-wrrc-5j75
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Local user runs unshare(CLONE_NEWUSER|CLONE_NEWNET)
  2. Delivery
    Gain CAP_NET_ADMIN in new netns
  3. Exploit
    Create two dummy devices sharing TC egress block
  4. Execution
    Install mirred blockcast filters
  5. Persist
    Send packet triggering mutual re-mirroring loop
  6. Impact
    Kernel stack overflow and panic (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
Exploitation Conditions

Exploitation requires local access to the host AND a kernel/userspace configuration that permits unprivileged user namespaces (e.g. CONFIG_USER_NS with kernel.unprivileged_userns_clone enabled), which is what grants the attacker CAP_NET_ADMIN inside a new network namespace. The attacker must then configure the trigger themselves: two net devices sharing a single TC egress (clsact) block, with act_mirred filters using blockcast (tcfm_blockid != 0) arranged to mirror packets back and forth. Limiting factors that reduce real-world risk: it is local-only (AV:L, no remote vector), produces only a denial of service (C:N/I:N, kernel panic/reboot - no code execution or data exposure), and is fully mitigated where unprivileged user namespaces are disabled or where only trusted local users have shell/container access. The complete fix is updating to a patched kernel (7.0.12 / 7.1 or distro backport per USN-8593-1).

Impact

Signals converge on this being a genuine but moderate, locally-scoped denial-of-service issue rather than a top-tier emergency. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, base 5.5) confirms a local, low-complexity, low-privilege availability-only impact with no confidentiality or integrity loss - consistent with CWE-674 (uncontrolled recursion) causing a kernel stack-guard-page panic. EPSS is low (0.19%, 9th percentile) and the issue is NOT in CISA KEV, so there is no evidence of active or widespread exploitation; the vuln.today decision label is 'this_month', indicating routine patch-cycle priority, not act_now/emergency. The one aggravating factor is reachability: the description states the bug is triggerable by an otherwise-unprivileged local user through unshare(CLONE_NEWUSER | CLONE_NEWNET), because user namespaces grant CAP_NET_ADMIN inside the new netns - so on systems that permit unprivileged user namespaces, the effective privilege barrier is lower than PR:L alone suggests. Net: a real priority for multi-tenant/shared Linux hosts where local users or containers run untrusted code, but a low priority where unprivileged user namespaces are disabled or only trusted local users exist. No signals are strongly conflicting; the main caveat is that CVSS PR:L understates how easily an unprivileged user can reach the code path via user namespaces.

Exploit ScenarioDerived

A local unprivileged user (or a container workload) on a shared Linux host calls unshare(CLONE_NEWUSER | CLONE_NEWNET) to obtain CAP_NET_ADMIN in a fresh network namespace, creates two dummy devices sharing a TC egress block, and installs act_mirred blockcast filters. Sending a single packet triggers unbounded mutual re-mirroring between the devices because the blockcast path returns before incrementing the recursion counter, so MIRRED_NEST_LIMIT is never enforced, exhausting the kernel stack and panicking the host (DoS). No public exploit identified at time of analysis, though the description includes a detailed reproducer trace.

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

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

Alert me

AnalysisAIv1 – Nov 12, 2026

Stack exhaustion in the Linux kernel's net/sched act_mirred action lets a local user who can obtain CAP_NET_ADMIN in a new user and network namespace bypass the MIRRED_NEST_LIMIT recursion guard by using blockcast mirroring, producing an unbounded tcf_mirred_act/tcf_blockcast loop and a kernel panic. Kernels before the fixes in 7.0.12 and 7.1 are affected, with distro backports such as Ubuntu USN-8593-1; impact is availability-only and local. The supplied data does not confirm public exploit code or active exploitation, and EPSS is low at 0.19%.

RemediationAI

Install vendor kernel updates: Linux 7.0.12 or 7.1, or the distribution backport; Ubuntu fixes are described in USN-8593-1 and the upstream stable commits are linked in the CVE references. Where immediate kernel replacement is not possible, reduce local reachability by disabling unprivileged user namespaces (for example kernel.unprivileged_userns_clone=0 or an equivalent distro mechanism), recognizing that this breaks rootless containers and sandboxed workloads, and by restricting shell/container access to trusted users. On hosts where shared TC egress clsact blocks carrying act_mirred blockcast rules are configured, removing or avoiding that configuration prevents the trigger but changes mirrored-traffic and block-based TC behavior. These are compensating controls only; the complete fix is the patched kernel.

Affected VersionsENISA

Linux patch: 7.1
Linux patch: 7.0.12
Linux fe946a751d9b52b7c45ca34899723b314b79b249 <a005fa5d7502eefec7ee6e1c01adadc06de2f9ad
Linux 6.19
Linux 906736728cea480a85803c67fafb1b0e78491922 <25fc9352590f5ef21ebf290432bd768b336693bc
Linux patch: 0
Linux fe946a751d9b52b7c45ca34899723b314b79b249 <34457de389fb64a01fdcc71177dfebe65fd2d362

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 flaw is in the Linux traffic-control action framework. act_mirred's tcf_mirred_act maintains sched_mirred_nest and compares it with MIRRED_NEST_LIMIT (4) to stop recursive mirroring. In the blockcast path (tcfm_blockid != 0), the code calls tcf_blockcast() and returns before the counter increment, so recursive entries always observe the stale counter and the limit is bypassed. With two net devices sharing one TC egress clsact block and mirred blockcast filters, a packet egressing device A is mirrored to device B, whose egress classifier re-enters tcf_mirred_act and mirrors back to A: tcf_mirred_act -> tcf_blockcast -> tcf_mirred_to_dev -> dev_queue_xmit -> sch_handle_egress -> tcf_classify -> tcf_mirred_act. The loop repeats until kernel stack overflow and panic. This is CWE-674 uncontrolled recursion. Reachability requires local access plus a kernel/userspace configuration permitting unprivileged user namespaces, which grants CAP_NET_ADMIN in a new network namespace; the attacker must then configure dummy devices, shared clsact qdiscs and blockcast mirred filters. It is not a remote attack.

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
vuln.today AI 5.5 MEDIUM

Local trigger only (AV:L); an unprivileged local user can reach the code path via user namespaces (PR:L, AC:L); impact is a kernel-stack-overflow panic giving availability loss only (A:H, C:N/I:N).

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 7.0 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
Nov 12, 2026 - 17:37 NVD
5.5 (MEDIUM)
Patch available
Jul 19, 2026 - 17:19 EUVD
CVE Published
Jul 19, 2026 - 14:56 nvd
MEDIUM 5.5
CVE Published
Jul 19, 2026 - 14:56 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

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

net/sched: act_mirred: Fix blockcast recursion bypass leading to stack overflow

tcf_mirred_act() checks sched_mirred_nest against MIRRED_NEST_LIMIT (4) to prevent deep recursion. However, when the action uses blockcast (tcfm_blockid != 0), the function returns at the tcf_blockcast() call BEFORE reaching the counter increment. As a result, the recursion counter never advances and the limit check is entirely bypassed.

When two devices share a TC egress block with a mirred blockcast rule, a packet egressing on device A is mirrored to device B via blockcast; device B's egress TC re-enters tcf_mirred_act() via blockcast and mirrors back to A, creating an unbounded recursion loop:

tcf_mirred_act -> tcf_blockcast -> tcf_mirred_to_dev -> dev_queue_xmit -> sch_handle_egress -> tcf_classify -> tcf_mirred_act -> (repeat)

This recursion continues until the kernel stack overflows.

The bug is reachable from an unprivileged user via unshare(CLONE_NEWUSER | CLONE_NEWNET): user namespaces grant CAP_NET_ADMIN in the new network namespace, which is sufficient to create dummy devices, attach clsact qdiscs with shared blocks, and install mirred blockcast filters.

BUG: TASK stack guard page was hit at ffffc90000b7fff8 Oops: stack guard page: 0000 [#1] SMP KASAN NOPTI CPU: 2 UID: 1000 PID: 169 Comm: poc Not tainted 7.0.0-rc7-next-20260410 RIP: 0010:xas_find+0x17/0x480 Call Trace: xa_find+0x17b/0x1d0 tcf_mirred_act+0x640/0x1060 tcf_action_exec+0x400/0x530 basic_classify+0x128/0x1d0 tcf_classify+0xd83/0x1150 tc_run+0x328/0x620 __dev_queue_xmit+0x797/0x3100 tcf_mirred_to_dev+0x7b1/0xf70 tcf_mirred_act+0x68a/0x1060 [repeating ~30+ times until stack overflow] Kernel panic - not syncing: Fatal exception in interrupt

Fix this by incrementing sched_mirred_nest before calling tcf_blockcast() and decrementing it on return, mirroring the non-blockcast path. This ensures subsequent recursive entries see the updated counter and are correctly limited by MIRRED_NEST_LIMIT.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Ubiquitous
Linux kernel runs across the vast majority of server environments
Data Quality
4 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.2%
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

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Vendor StatusVendor

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