Skip to main content

Linux Kernel CVE-2026-31690

| EUVDEUVD-2026-25887 HIGH
Out-of-bounds Write (CWE-787)
2026-04-27 Linux
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Obtain local shell access
  2. Delivery
    Trigger GPU power state change
  3. Exploit
    Send crafted firmware protocol message
  4. Install
    Overflow buffer via unsafe pointer arithmetic
  5. C2
    Overwrite kernel memory structures
  6. Execute
    Execute arbitrary kernel code
  7. Impact
    Escalate to root privileges

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
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

Exploitation requires local authenticated access (PR:L) to a Linux system running on T-HEAD TH1520 RISC-V hardware with kernel version 6.15 or later containing the vulnerable TH1520 AON firmware driver. The thead_aon_firmware kernel module must be loaded and actively managing power states for the integrated GPU (PowerVR Rogue in the TH1520 SoC). Attacker must trigger firmware protocol messages through GPU power management operations, either by launching GPU-utilizing applications or directly interfacing with sysfs/device interfaces controlling power domains. The vulnerability is hardware-specific and does NOT affect x86, ARM, or other RISC-V systems without TH1520 SoCs. Limiting exploitation: requires physical or remote shell access to the target device, knowledge of TH1520-specific firmware protocol structures, and ability to trigger GPU power state transitions. Systems not using the TH1520 GPU or with the firmware driver disabled are not vulnerable.

Impact

Real-world risk is constrained by multiple factors despite the high CVSS 7.8 score. The CVSS vector (AV:L/AC:L/PR:L/UI:N) indicates local access with low-privilege authentication is required - attackers need an existing foothold on the system. The extremely low EPSS score (0.02%, 4th percentile) suggests security researchers and attackers have not prioritized this vulnerability, likely because it affects only T-HEAD TH1520 SoC-based systems, a narrow hardware deployment compared to mainstream x86/ARM platforms. No KEV listing or public exploit code identified, indicating no confirmed active exploitation. Attack complexity is low once local access is obtained, and successful exploitation yields complete system compromise (C:H/I:H/A:H). Primary risk exists in embedded Linux systems, edge computing devices, and development boards using TH1520 chips where local users might exploit this for privilege escalation. The vulnerability is exploitable only when the TH1520 firmware driver is loaded and interacting with AON firmware during power management operations. Organizations not using T-HEAD TH1520 hardware are unaffected. Patch availability across multiple stable branches (6.18.23, 6.19.13, 7.0+) and the narrow affected hardware base reduce urgency for most environments, but TH1520 deployments should prioritize patching given the local privilege escalation risk.

Exploit ScenarioDerived

A local attacker with standard user privileges on a T-HEAD TH1520-based Linux system triggers GPU power state transitions by launching graphics applications or directly interacting with the PowerVR driver. During the firmware communication sequence between the kernel and TH1520 AON firmware, the attacker provides maliciously crafted input that manipulates the firmware protocol messages. The unsafe pointer arithmetic in the firmware driver writes beyond the allocated buffer boundaries when accessing the 'mode' field, allowing the attacker to overwrite adjacent kernel memory structures. By carefully controlling the overflow data, the attacker corrupts function pointers or privilege data structures, achieving arbitrary kernel code execution and escalating to root privileges. No public proof-of-concept exists, but exploitation is technically feasible given local access and understanding of the TH1520 firmware protocol.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 06, 2026

Buffer overflow in TH1520 AON firmware protocol driver allows local authenticated attackers with low privileges to execute arbitrary code and gain elevated system access. The vulnerability stems from unsafe pointer arithmetic when accessing the 'mode' field through the 'resource' pointer with unchecked offsets in the T-HEAD firmware driver. Patches available across stable kernel branches (6.18.23, 6.19.13, 7.0) with low EPSS score (0.02%) indicating minimal observed exploitation attempts, though CVSS 7.8 reflects high impact if exploited on affected T-HEAD TH1520 systems.

RemediationAI

Upgrade to patched Linux kernel versions: 6.18.23 or later in the 6.18.x series, 6.19.13 or later in the 6.19.x series, or 7.0 and above for mainline. Apply the appropriate stable kernel patch from https://git.kernel.org/stable/c/fbdb43f6bb2a15ed382d6eb0ef82c8b07b0d47bb (6.18.x branch), https://git.kernel.org/stable/c/bd15a5deb5a7251dc1a0cf9186f0253f7eacdb97 (6.19.x branch), or https://git.kernel.org/stable/c/88c4bd90725557796c15878b7cb70066e9e6b5ab (mainline). The patches replace unsafe pointer arithmetic with bounds-checked access and standardize endianness macros. If immediate patching is not feasible for TH1520-based systems, disable or blacklist the thead_aon_firmware module if GPU power management functionality can be sacrificed, though this will prevent PowerVR GPU operation and may impact system functionality. Restrict local user access and implement principle of least privilege to limit the pool of users who could exploit this locally. Monitor for unexpected kernel module loading or privilege escalation attempts. Note that disabling the driver trades GPU functionality for security and may not be acceptable in production embedded systems requiring graphics capabilities.

Affected VersionsENISA

Linux patch: 0
Linux e4b3cbd840e565484d0ad8d260d27c057466ed17 <fbdb43f6bb2a15ed382d6eb0ef82c8b07b0d47bb
Linux patch: 6.19.13
Linux e4b3cbd840e565484d0ad8d260d27c057466ed17 <bd15a5deb5a7251dc1a0cf9186f0253f7eacdb97
Linux patch: 7.0
Linux patch: 6.18.23
Linux 6.15
Linux e4b3cbd840e565484d0ad8d260d27c057466ed17 <88c4bd90725557796c15878b7cb70066e9e6b5ab

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 firmware subsystem, specifically in the T-HEAD TH1520 Always-On (AON) firmware protocol driver used for power management communication between the kernel and TH1520 SoC firmware. The TH1520 is a RISC-V processor from T-HEAD (Alibaba's chip division) used in embedded and edge computing systems. The flaw involves CWE-787 (Out-of-bounds Write) where pointer arithmetic bypasses buffer bounds checking when accessing structure fields. The vulnerable code performed calculations like 'resource + offset' to access the 'mode' field without validating that the resulting pointer remained within the allocated 'data' buffer boundaries. Smatch static analysis identified this as a 2-byte buffer with potential 3-byte access. The secondary issue involved non-portable custom endianness conversion macros (RPC_SET_BE*/RPC_GET_BE*) instead of kernel-standard helpers, potentially causing data corruption on different architectures. The driver interfaces with GPU power sequencing, as evidenced by the PowerVR GPU firmware loading in the patch validation testing.

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 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

5
CVSS changed
May 06, 2026 - 18:37 NVD
7.8 (HIGH)
Patch available
Apr 27, 2026 - 19:01 EUVD
Patch released
Apr 27, 2026 - 18:32 nvd
Patch available
CVE Published
Apr 27, 2026 - 17:34 nvd
N/A
CVE Published
Apr 27, 2026 - 17:34 nvd
HIGH 7.8

DescriptionNVD

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

firmware: thead: Fix buffer overflow and use standard endian macros

Addresses two issues in the TH1520 AON firmware protocol driver:

  1. Fix a potential buffer overflow where the code used unsafe pointer

arithmetic to access the 'mode' field through the 'resource' pointer with an offset. This was flagged by Smatch static checker as: "buffer overflow 'data' 2 <= 3"

  1. Replace custom RPC_SET_BE* and RPC_GET_BE* macros with standard

kernel endianness conversion macros (cpu_to_be16, etc.) for better portability and maintainability.

The functionality was re-tested with the GPU power-up sequence, confirming the GPU powers up correctly and the driver probes successfully.

[ 12.702370] powervr ffef400000.gpu: [drm] loaded firmware powervr/rogue_36.52.104.182_v1.fw [ 12.711043] powervr ffef400000.gpu: [drm] FW version v1.0 (build 6645434 OS) [ 12.719787] [drm] Initialized powervr 1.0.0 for ffef400000.gpu on minor 0

Executive ViewAI

Why It Matters

A buffer overflow vulnerability in T-HEAD TH1520 AON firmware protocol driver allows local authenticated users to execute arbitrary code and escalate privileges on affected systems. Organizations deploying T-HEAD TH1520 processors must prioritize kernel patching to prevent privilege escalation attacks that could compromise system integrity and data confidentiality.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not feasible, restrict local system access to trusted users only and implement host-based intrusion detection focused on privilege escalation attempts. Monitor for unauthorized code execution in kernel memory regions.

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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

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

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.

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

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