Skip to main content

Linux Kernel EUVDEUVD-2026-25463

| CVE-2026-31570 HIGH
Out-of-bounds Read (CWE-125)
2026-04-24 Linux GHSA-67vp-4p2p-jr3c
8.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Access
    Gain CAP_NET_ADMIN capability
  2. Delivery
    Load can-gw kernel module
  3. Exploit
    Configure malicious CAN gateway rule with negative CRC8 indices
  4. Execution
    Trigger CAN frame processing
  5. Persist
    Out-of-bounds heap write corrupts kernel structures
  6. Impact
    Kernel memory corruption enables privilege escalation

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

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

Exploitation Conditions

Requires CAP_NET_ADMIN capability to configure CAN gateway CRC8 checksum rules - this is a substantial barrier as it represents administrative privileges on the Linux system. Additionally requires the can-gw kernel module to be loaded and operational CAN network interfaces present on the system (typically found in automotive ECUs, industrial control systems, robotics platforms, or specialized embedded devices, not general-purpose servers). Attack vector is Adjacent Network (AV:A), meaning the attacker must have layer 2 network adjacency to the CAN bus infrastructure, though actual exploitation is triggered through local configuration rather than network traffic. Exploitation is limited to systems where: (1) unprivileged users somehow gained CAP_NET_ADMIN (misconfiguration), (2) a compromised privileged process can be leveraged to configure CAN gateways, or (3) the attacker already has administrative access and uses this for further privilege escalation to kernel level. Default Linux server/desktop installations without CAN hardware or modules loaded are not exploitable.

Impact

Real-world exploitability is significantly constrained despite the high CVSS base score of 8.8. The CVSS vector (AV:A/AC:L/PR:N/UI:N) indicates adjacent network access with low complexity and no privileges required, but this assessment appears to overlook a critical prerequisite: CAP_NET_ADMIN capability is required to configure CAN gateway CRC8 checksums, meaning the attacker must already have administrative privileges on the system or be on a host where unprivileged users can configure network parameters (highly atypical). This substantially reduces real-world risk compared to the CVSS score alone. The EPSS score of 0.02% (7th percentile) reflects low probability of exploitation, consistent with the specialized nature of CAN subsystems and the privilege requirements. No CISA KEV listing and no public exploit identified at time of analysis. The vulnerability is not automatable in typical enterprise networks because: (1) CAN interfaces are primarily found in automotive, industrial control, and embedded systems, not general IT infrastructure; (2) CAP_NET_ADMIN is required; (3) adjacent network access to CAN bus is needed. Technical impact is high (potential kernel memory corruption leading to privilege escalation or DoS), but the attack surface is narrow. Organizations running Linux on automotive ECUs, industrial controllers, or specialized IoT devices with CAN interfaces should prioritize patching. General-purpose server/desktop Linux deployments face minimal risk unless CAN modules are explicitly loaded and configured.

Exploit ScenarioDerived

An attacker with CAP_NET_ADMIN capability on a Linux system with CAN gateway module loaded configures a malicious CAN gateway rule specifying CRC8 checksum computation with from_idx, to_idx, and result_idx all set to -64. When a 64-byte CAN FD frame is processed through this gateway rule, the cgw_csum_crc8_rel() function validates indices (calc_idx(-64, 64) = 0, passing checks) but then uses the raw -64 values for array access, reading from and writing to cf->data[-64], which lies 40-56 bytes before the canfd_frame structure on the heap. By carefully positioning heap objects and leveraging the out-of-bounds write, the attacker corrupts adjacent kernel structures to hijack control flow or escalate privileges. KASAN detection confirms slab-out-of-bounds access at cgw_csum_crc8_rel+0x515.

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 – Apr 27, 2026

Out-of-bounds heap write in Linux kernel CAN gateway CRC8 checksum processing allows adjacent network attackers to corrupt kernel memory and potentially achieve code execution. The cgw_csum_crc8_rel() function in the CAN gateway subsystem uses raw negative index values instead of bounds-checked variables when accessing canfd_frame data, enabling writes up to 56 bytes before the heap object. Exploitation requires CAP_NET_ADMIN capability to configure CAN gateway CRC8 checksums. EPSS exploitation probability is very low (0.02%, 7th percentile) and no active exploitation has been reported. Vendor patches available across multiple kernel versions (5.10.253, 5.15.203, 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11, 7.0).

RemediationAI

Upgrade to patched kernel versions: 5.10.253+ for 5.10.y LTS, 5.15.203+ for 5.15.y LTS, 6.1.168+ for 6.1.y LTS, 6.6.131+ for 6.6.y stable, 6.12.80+ for 6.12.y, 6.18.21+ for 6.18.y, 6.19.11+ for 6.19.y, or 7.0+ for mainline. Upstream fix commits are available at https://git.kernel.org/stable/c/b9c310d72783cc2f30d103eed83920a5a29c671a and related stable branch URLs in references. If immediate patching is not feasible, consider these compensating controls with their trade-offs: (1) Disable the CAN gateway module entirely with 'modprobe -r can-gw' or blacklist it in /etc/modprobe.d/ - this prevents all CAN frame routing/manipulation functionality, acceptable if CAN gateway features are not required; (2) Restrict CAP_NET_ADMIN capability using Linux security modules (AppArmor, SELinux) or container capabilities dropping - limits who can configure CAN gateways but may break legitimate administrative tools; (3) If running in containers, ensure CAN network namespaces are isolated and CAP_NET_ADMIN is dropped from container capabilities - reduces attack surface but requires careful orchestration configuration. Note that simply filtering CAN traffic at network level is ineffective since the vulnerability is triggered by local configuration, not by malicious CAN frames on the bus. Organizations should audit which systems actually require CAN gateway functionality before applying mitigations.

Affected VersionsENISA

Linux patch: 6.1.168
Linux patch: 6.12.80
Linux patch: 6.19.11
Linux patch: 0
Linux 456a8a646b2563438c16a9b27decf9aa717f1ebb <a025283d7f7404c739225e457fb99db2368bb544
Linux 456a8a646b2563438c16a9b27decf9aa717f1ebb <999ca48d55a8a46da21519db7e834e5867200379
Linux patch: 5.10.253
Linux patch: 6.18.21
Linux 456a8a646b2563438c16a9b27decf9aa717f1ebb <54ecdf76a55e75c1f5085e440f8ab671a3283ef5
Linux patch: 5.15.203
Linux 5.4
Linux 456a8a646b2563438c16a9b27decf9aa717f1ebb <e7c99348b0612b2bc02d5ce6ff9873261cc7605f
Linux patch: 6.6.131
Linux 456a8a646b2563438c16a9b27decf9aa717f1ebb <66b689efd08227da2c5ca49b58b30a95d23c695a
Linux patch: 7.0
Linux 456a8a646b2563438c16a9b27decf9aa717f1ebb <84f8b76d24273175a22713e83e90874e1880d801
Linux 456a8a646b2563438c16a9b27decf9aa717f1ebb <c4e8eaa75fa0b6bcbfa5356d6195c4ad0e05e57a
Linux 456a8a646b2563438c16a9b27decf9aa717f1ebb <b9c310d72783cc2f30d103eed83920a5a29c671a

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 Controller Area Network (CAN) gateway subsystem, specifically in net/can/gw.c. CAN is a vehicle bus standard used in automotive and industrial control systems, and the kernel's CAN gateway provides routing and modification capabilities for CAN frames. The cgw_csum_crc8_rel() function implements CRC8 checksum computation for CAN frame manipulation. The function correctly validates indices using calc_idx() helper that converts potentially negative s8 index values into safe offsets based on frame length, but then fails to use the validated variables (from, to, res) in the actual loop and memory write operations. Instead, it directly uses the raw crc8->from_idx, crc8->to_idx, and crc8->result_idx fields, which can be negative. With specially crafted negative indices (-64 on a 64-byte CAN FD frame), calc_idx(-64, 64) returns 0 (passing validation), but the loop counter and array access use the raw -64 value, resulting in out-of-bounds heap access to cf->data[-64]. The issue was confirmed with KASAN (Kernel Address Sanitizer) on linux-7.0-rc2. The vulnerability affects kernel versions from 5.4 onward where commit 456a8a646b25 introduced the flawed code.

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

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

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

Lifecycle Timeline

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

DescriptionCVE.org

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

can: gw: fix OOB heap access in cgw_csum_crc8_rel()

cgw_csum_crc8_rel() correctly computes bounds-safe indices via calc_idx():

int from = calc_idx(crc8->from_idx, cf->len); int to = calc_idx(crc8->to_idx, cf->len); int res = calc_idx(crc8->result_idx, cf->len);

if (from < 0 || to < 0 || res < 0) return;

However, the loop and the result write then use the raw s8 fields directly instead of the computed variables:

for (i = crc8->from_idx; ...) /* BUG: raw negative index */ cf->data[crc8->result_idx] = ...; /* BUG: raw negative index */

With from_idx = to_idx = result_idx = -64 on a 64-byte CAN FD frame, calc_idx(-64, 64) = 0 so the guard passes, but the loop iterates with i = -64, reading cf->data[-64], and the write goes to cf->data[-64]. This write might end up to 56 (7.0-rc) or 40 (<= 6.19) bytes before the start of the canfd_frame on the heap.

The companion function cgw_csum_xor_rel() uses from/to/res correctly throughout; fix cgw_csum_crc8_rel() to match.

Confirmed with KASAN on linux-7.0-rc2: BUG: KASAN: slab-out-of-bounds in cgw_csum_crc8_rel+0x515/0x5b0 Read of size 1 at addr ffff8880076619c8 by task poc_cgw_oob/62

To configure the can-gw crc8 checksums CAP_NET_ADMIN is needed.

Executive ViewAI

Why It Matters

CVE-2026-31570 is a high-severity out-of-bounds heap write in the Linux kernel CAN gateway subsystem that could enable privileged local attackers to corrupt kernel memory and achieve code execution. This vulnerability affects organizations running Linux systems with CAN networking capabilities and poses risk primarily to systems where untrusted administrative users or container workloads have network configuration privileges. Patching is available across all supported kernel versions and should be prioritized for systems in security-sensitive environments.

Business Impact: Medium
Compensating Controls

Apply vendor patch. If patching cannot be immediately completed, restrict CAP_NET_ADMIN capability assignment to trusted administrators only, disable CAN gateway functionality if not operationally required, and isolate systems with CAN networking from untrusted user access through RBAC and container security policies.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% 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
Controlled
Automatable· derived
No
Human Impact
Medium

Priority Score

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

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

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