Skip to main content

Linux Kernel CVE-2026-138870

| EUVDEUVD-2026-138573 HIGH
2026-11-30 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-wcrj-qh53-hv8h
7.0
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

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

  1. Access
    Run unprivileged code on RISC-V host
  2. Delivery
    Craft malicious shadow-stack restore token
  3. Exploit
    Invoke unchecked ssamoswap.d swap
  4. Execution
    Write four zero bytes to kernel address
  5. Persist
    Corrupt kernel memory
  6. Impact
    Panic or escalate privileges

Vulnerability Assessment

Exploitation Conditions

Requires a RISC-V system running a Linux kernel built with shadow-stack / control-flow-integrity (CFI) support, where the user-supplied shadow-stack restore token is consumed by ssamoswap.d. The attacker must already be able to execute local, low-privileged code on the host (PR:L, AV:L). Limiting factors: the vulnerable code path only exists on RISC-V with the shadow-stack feature compiled in and in use; the CVSS marks high attack complexity (AC:H); no user interaction is needed (UI:N) but no remote vector exists. The uncorrected behavior is a four-byte zero write to an attacker-influenced address, which must be directed at a meaningful kernel location to achieve impact.

Impact

This is a genuine but constrained local kernel flaw, not a high-urgency remote threat. The CVSS 3.1 vector (AV:L/AC:H/PR:L/UI:N) describes a local, authentication-requiring (PR:L - authenticated/low-privileged local user) attack of high complexity, scoring 7.0 (High). Supporting signals point the same direction as the modest severity: EPSS is only 0.15% (4th percentile), there is no CISA KEV listing, and no public exploit was identified. The only references are the two upstream fix commits, so no PoC exists. The core corruption primitive described - writing four bytes of zeroes to an attacker-chosen address - is a strong integrity/availability primitive (reliable kernel panic/DoS, with plausible privilege escalation given a controlled kernel write), yet the CVSS C:H (confidentiality High) rating is not well supported by the description: zeroing memory destroys rather than discloses data, so the confidentiality impact rating appears inflated and should be verified with the vendor. The vuln.today 'this_week' priority is consistent with a real-but-not-emergency local kernel issue. Net: treat as a routine but real patch priority for affected RISC-V systems, not a drop-everything event.

Exploit ScenarioDerived

A local, low-privileged user on a RISC-V Linux system built with shadow-stack/CFI support crafts a malicious shadow-stack restore token pointing at a kernel address. Because the token is not bounds-checked before the ssamoswap.d swap, the operation writes four bytes of zeroes into kernel memory, corrupting kernel state to cause a crash or potentially enable privilege escalation. No public exploit code is known, and the high attack complexity (AC:H) and local, authenticated access requirement limit practical exploitation.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Dec 02, 2026

RISC-V Linux kernels built with shadow-stack control-flow-integrity support fail to bounds check a user-supplied shadow-stack restore token before using it as the address operand of an ssamoswap.d instruction, so a crafted token causes four zero bytes to be written at an attacker-influenced address, including kernel memory. The flaw is reachable only by a local, low-privileged process already executing on an affected RISC-V host, and the assessed vector (AV:L/AC:H/PR:L/UI:N, C:N/I:H/A:H) reflects a constrained but genuinely damaging primitive rather than a remote threat. No public exploit has been identified at time of analysis, the EPSS score is 0.15% (4th percentile), and the issue is not in CISA KEV, though priority guidance places remediation in the this-week window and a vendor patch is available.

RemediationAI

Vendor-released patch: apply the upstream fix commit df333b72c0e14d6cffec72ce9a00503f12d1e28d or the stable backport 34dbcdd0562461805f2fd276593517794b41e487, which is listed against Linux 7.3.4, and update to a kernel release containing it (https://git.kernel.org/stable/c/34dbcdd0562461805f2fd276593517794b41e487, https://git.kernel.org/stable/c/df333b72c0e14d6cffec72ce9a00503f12d1e28d). Where an immediate kernel upgrade is not possible, the exposure is limited to RISC-V systems with the shadow-stack/CFI feature compiled in and in use, so building or booting without that feature removes the vulnerable code path - at the cost of losing hardware-assisted control-flow protection on that host - and reducing the ability of untrusted local processes to run on affected RISC-V systems limits the PR:L precondition, though neither measure repairs the underlying missing bounds check.

Affected VersionsENISA

Linux 7.0
Linux patch: 7.4-rc1
Linux patch: 0
Linux 66c9c713de597f9b40a319ebda4d3466ce2cdff0 <34dbcdd0562461805f2fd276593517794b41e487
Linux 66c9c713de597f9b40a319ebda4d3466ce2cdff0 <df333b72c0e14d6cffec72ce9a00503f12d1e28d
Linux patch: 7.3.4

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 RISC-V shadow-stack implementation of kernel control-flow integrity (the Zicfiss-style shadow stack), specifically the restore path that consumes a user-provided restore token and uses it as the address for an ssamoswap.d atomic swap. Because the token is used as an address before any validation, an invalid value is only caught afterwards, when the resulting access raises SIGSEGV - but by that point four bytes of zeroes have already been written at that location, so a token aimed at a kernel address yields an out-of-bounds write of zeroes into kernel memory. The flaw class is a missing bounds/validation check on an attacker-influenced address prior to use; no CWE identifier is assigned in the supplied data. Impact is confined to RISC-V systems running a kernel compiled with the shadow-stack/CFI feature enabled and actually using it, and the assessed high attack complexity reflects the difficulty of steering a four-byte zero write at a meaningful kernel location; confidentiality impact is assessed as none, with integrity and availability impact high.

Know when Risc V gets its next vulnerability

  • 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 (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 6.3 MEDIUM

Local low-priv user triggers an arbitrary 4-byte zero write, so AV:L/PR:L with I:H/A:H; zeroing memory does not disclose data, so C:N; non-default RISC-V shadow-stack path justifies AC:H.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

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

Lifecycle Timeline

4
CVSS changed
Dec 01, 2026 - 06:22 NVD
7.0 (HIGH)
Patch available
Nov 30, 2026 - 14:19 EUVD
CVE Published
Nov 30, 2026 - 14:17 cve.org
HIGH 7.0
CVE Published
Nov 30, 2026 - 14:17 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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

riscv: cfi: Bounds check restore token before swap

Currently the user-provided shadow stack restore token is not checked before being used as the address in ssamoswap.d. While an invalid restore token will be caught and raise SIGSEGV, this happens after writing 4 bytes of zeroes anywhere in the address space. Check that the restore token is at least a valid user address before the swap to ensure we do not scribble over kernel memory.

Executive ViewAI

Why It Matters

A high-severity flaw in RISC-V Linux kernels with shadow-stack security features allows a local, low-privileged attacker to corrupt kernel memory, potentially leading to system crashes or privilege escalation. While no public exploit exists and remote exploitation is not possible, the vulnerability affects a narrow but growing hardware segment and could cause operational disruption if exploited by an insider.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Rare
RISC-V Linux with shadow-stack/CFI enabled has negligible production footprint today
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 HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Medium

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
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.

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