Skip to main content

Linux Kernel EUVDEUVD-2026-24827

| CVE-2026-31474 HIGH
Use After Free (CWE-416)
2026-04-22 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-6p7x-c5rv-9w7v
7.8
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. Recon
    Gain local shell access
  2. Delivery
    Create ISO-TP socket on CAN interface
  3. Exploit
    Initiate multi-frame transmission
  4. Install
    Send interrupt signal during socket close
  5. C2
    Trigger use-after-free in kernel
  6. Execute
    Corrupt kernel memory structures
  7. Impact
    Escalate to root privileges

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

Local authenticated access to Linux system running vulnerable kernel version (pre-6.6.131, pre-6.12.80, pre-6.18.21, pre-6.19.11, or pre-7.0) with can-isotp kernel module loaded or compiled-in. Attacker must have permissions to create ISO-TP sockets (typically requires NET_ADMIN capability or membership in specific groups on hardened systems, though default configurations often allow unprivileged socket creation). System must have CAN bus hardware present or vcan (virtual CAN) interface configured for ISO-TP communication. Exploitation requires ability to send signals to own processes and precise timing to trigger race condition between isotp_sendmsg() buffer access and isotp_release() kfree() execution. Scope is unchanged (S:U in CVSS vector), meaning exploitation is confined to kernel context privileges but does not directly cross security boundaries like containers without additional exploitation. Systems without CAN hardware support or with can-isotp module blacklisted are not exploitable regardless of kernel version.

Impact

Real-world risk is moderate despite high CVSS 7.8 score. The CVSS vector AV:L/AC:L/PR:L/UI:N indicates local access with low-privileged authenticated user required, significantly limiting attack surface compared to network-exposed vulnerabilities. EPSS score of 0.02% (5th percentile) suggests security researchers and attackers have not prioritized this vulnerability for exploitation, likely due to the specialized nature of CAN bus systems and requirement for local access. No public exploit identified at time of analysis and not listed in CISA KEV, indicating no confirmed active exploitation. However, exploitation complexity is genuinely low (AC:L) for an attacker with local shell access on affected systems - triggering the race condition requires only the ability to send ISO-TP messages while interrupting socket close operations with signals, a scenario easily achievable through standard system calls. The high impact ratings (C:H/I:H/A:H) reflect potential for local privilege escalation to kernel level, making this critical for containerized environments, automotive embedded systems, and industrial control systems using CAN bus where local access boundaries are security-relevant. Primary risk populations are multi-tenant Linux systems with CAN hardware, automotive ECUs running vulnerable kernel versions, and industrial IoT gateways. The vulnerability is patched across all stable kernel branches, reducing sustained risk for organizations with active kernel update processes, but long-tail risk remains high in automotive/industrial sectors with slower patch cycles.

Exploit ScenarioDerived

Local authenticated attacker with shell access on Linux system with CAN bus hardware gains control of a low-privileged user account through credential theft or social engineering. Attacker crafts malicious program that opens ISO-TP socket, initiates multi-frame message transmission via isotp_sendmsg(), then immediately closes socket while simultaneously sending SIGINT to interrupt wait_event_interruptible() in isotp_release(). Race condition causes kernel to free so->tx.buf while sendmsg thread still reads from buffer in isotp_fill_dataframe(), creating use-after-free condition. Attacker leverages kernel memory corruption to escalate privileges to root, achieving full system compromise. Particularly relevant in automotive ECUs, industrial control systems, or containerized environments where local access exists but privilege boundaries matter.

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

Use-after-free in Linux kernel ISO-TP CAN protocol driver allows local authenticated users to read freed memory, corrupt kernel state, or execute arbitrary code with kernel privileges. Affects kernels from commit 96d1c81e to 6.6.131, 6.12.80, 6.18.21, and 6.19.11. Vendor-released patches available across stable kernel branches. EPSS score 0.02% (5th percentile) indicates low probability of mass exploitation, and no public exploit identified at time of analysis, though CVSS 7.8 reflects high local privilege escalation potential if successfully exploited.

RemediationAI

Upgrade to patched Linux kernel versions: 6.6.131 or later for 6.6.x series, 6.12.80 or later for 6.12.x series, 6.18.21 or later for 6.18.x series, 6.19.11 or later for 6.19.x series, or version 7.0 or later for mainline. Patches move the kfree(so->tx.buf) call from isotp_release() to sk_destruct time, ensuring buffer is only freed after both sendmsg and release operations complete. Upstream fixes available at git.kernel.org/stable commits 424e95d62110cdbc8fd12b40918f37e408e35a92, cb3d6efa78460e6d50bf68806d0db66265709f64, eec8a1b18a79600bd4419079dc0026c1db72a830, 9649d051e54413049c009638ec1dc23962c884a4, and 2e62e7051eca75a7f2e3d52d62ec10d7d7aa358c. If immediate patching is not feasible for automotive/embedded systems, unload the can-isotp kernel module with 'rmmod can_isotp' if ISO-TP functionality is not required, preventing exploitation but disabling ISO 15765-2 CAN communication capabilities. Restrict local user access to systems with CAN hardware as compensating control, though this does not eliminate risk in multi-user environments. Note that module unloading will break applications depending on ISO-TP sockets and may impact vehicle diagnostics, OBD-II tools, or industrial automation protocols.

Affected VersionsENISA

Linux 96d1c81e6a0478535342dff6c730adb076cd84e8 <424e95d62110cdbc8fd12b40918f37e408e35a92
Linux 96d1c81e6a0478535342dff6c730adb076cd84e8 <cb3d6efa78460e6d50bf68806d0db66265709f64
Linux patch: 0
Linux 96d1c81e6a0478535342dff6c730adb076cd84e8 <eec8a1b18a79600bd4419079dc0026c1db72a830
Linux patch: 6.6.131
Linux patch: 6.18.21
Linux 6.4
Linux 96d1c81e6a0478535342dff6c730adb076cd84e8 <9649d051e54413049c009638ec1dc23962c884a4
Linux patch: 7.0
Linux patch: 6.12.80
Linux 96d1c81e6a0478535342dff6c730adb076cd84e8 <2e62e7051eca75a7f2e3d52d62ec10d7d7aa358c
Linux patch: 6.19.11

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 ISO-TP (ISO 15765-2) Controller Area Network (CAN) protocol implementation, specifically in the socket transmission buffer management between isotp_sendmsg() and isotp_release() functions. The code uses compare-and-exchange (cmpxchg) for lock-free synchronization of so->tx.state but fails to protect the so->tx.buf memory allocation itself. When wait_event_interruptible() in isotp_release() receives a signal during ISOTP_SENDING state, the wait loop exits prematurely, allowing kfree(so->tx.buf) to execute while isotp_sendmsg() may still access the buffer in isotp_fill_dataframe(). This race condition creates a classic use-after-free scenario where one thread frees memory that another thread continues to reference. The ISO-TP protocol is used in automotive and industrial CAN bus communications for segmented message transmission, making this buffer particularly critical for maintaining multi-frame message integrity. The vulnerability demonstrates insufficient synchronization between socket lifecycle operations (close) and ongoing I/O operations (send), a common pattern in kernel socket implementations that require careful temporal coupling between resource deallocation and active users.

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 (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH
Red Hat 5.5 MEDIUM

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

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

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 - 23:27 nvd
Patch available
CVSS changed
Apr 27, 2026 - 14:22 NVD
7.8 (HIGH)
Patch available
Apr 22, 2026 - 16:33 EUVD
CVE Published
Apr 22, 2026 - 14:16 nvd
HIGH 7.8

DescriptionCVE.org

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

can: isotp: fix tx.buf use-after-free in isotp_sendmsg()

isotp_sendmsg() uses only cmpxchg() on so->tx.state to serialize access to so->tx.buf. isotp_release() waits for ISOTP_IDLE via wait_event_interruptible() and then calls kfree(so->tx.buf).

If a signal interrupts the wait_event_interruptible() inside close() while tx.state is ISOTP_SENDING, the loop exits early and release proceeds to force ISOTP_SHUTDOWN and continues to kfree(so->tx.buf) while sendmsg may still be reading so->tx.buf for the final CAN frame in isotp_fill_dataframe().

The so->tx.buf can be allocated once when the standard tx.buf length needs to be extended. Move the kfree() of this potentially extended tx.buf to sk_destruct time when either isotp_sendmsg() and isotp_release() are done.

Executive ViewAI

Why It Matters

CVE-2026-31474 is a use-after-free vulnerability in the Linux kernel ISO-TP CAN protocol driver that allows authenticated local users to execute arbitrary code with kernel privileges, affecting multiple kernel versions (6.6.x through 6.19.x). While the EPSS score of 0.02% indicates low exploitation likelihood and no public exploit is currently identified, the high CVSS severity (7.8) and privilege escalation potential create meaningful risk for organizations running vulnerable kernel versions, particularly those with untrusted local users or running CAN-connected automotive/industrial systems.

Business Impact: High
Compensating Controls

Apply vendor patch. Until patched: restrict local user access to affected systems; disable ISO-TP CAN protocol driver (ip link set down) if not operationally required; implement mandatory access controls (AppArmor/SELinux) to limit local privilege escalation vectors; monitor kernel logs for use-after-free error patterns.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% 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

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

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