Skip to main content

Linux EUVDEUVD-2026-15391

| CVE-2026-23390 HIGH
Out-of-bounds Write (CWE-787)
2026-03-25 Linux GHSA-qf3f-hxv9-hpx7
7.8
CVSS 3.1 · NVD
View

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.

Impact

The real-world risk of this vulnerability is moderate to high despite the lack of CVSS score or EPSS data. Exploitation requires local access to the system and the ability to enable kernel tracing (typically requiring CAP_SYS_ADMIN or similar privileges), which limits attack surface. However, the vulnerability manifests as a denial-of-service condition affecting kernel stability and memory safety, with potential for local privilege escalation if memory corruption patterns can be reliably triggered. The availability of three distinct kernel commits in stable branches (git.kernel.org references) indicates the fix has been rapidly integrated into maintenance releases. No active exploitation in the wild (KEV status) or public POC has been reported, suggesting this is a proactive kernel hardening measure rather than a response to active attacks. For systems running high-performance GPU workloads or virtualized environments with aggressive tracing, patching should be prioritized; for standard deployments, the risk is lower unless performance monitoring is actively enabled.

Exploit ScenarioDerived

An unprivileged local attacker or malicious system administrator with tracing capabilities enabled could execute 'perf record' or 'ftrace' commands targeting dma_map_sg events on a system performing GPU-intensive workloads (e.g., running Blender with Cycles rendering, CUDA applications, or virtual machine graphics operations). This would trigger allocation of oversized arrays in the tracepoint buffer, causing the kernel to emit the 'perf buffer not large enough' warning and potentially destabilize the kernel's memory management or tracing subsystem. While not directly exploitable for code execution without additional memory corruption vulnerabilities, this could degrade system performance or trigger a denial-of-service condition affecting production GPU compute clusters or virtualization hosts where performance monitoring is routinely enabled.

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 – Mar 25, 2026

A buffer overflow vulnerability exists in the Linux kernel's dma_map_sg tracepoint that can be triggered when tracing large scatter-gather lists, particularly with devices like virtio-gpu that create large DRM buffers exceeding 1000 entries. The vulnerability affects all Linux kernel versions prior to the fix and can cause perf buffer overflow warnings and potential kernel instability when dynamic array allocations exceed PERF_MAX_TRACE_SIZE (8192 bytes). While this is a kernel-level issue requiring local access to trigger tracing functionality, it poses a denial-of-service risk and memory safety concern for systems using performance tracing on workloads with large scatter-gather operations.

RemediationAI

Apply kernel patches from the Linux stable branches immediately: commit 02d209bb018a40dee9eac89e91860253dee9605b or later. For major distributions, apply security updates when released through official channels (apt/yum/zypper). For custom kernel builds, rebuild with the applied patch and redeploy. If immediate patching is not feasible, disable kernel tracing (perf, ftrace) via sysctl (kernel.perf_event_paranoid = 3, kernel.trace_syscalls = 0) to eliminate the trigger vector, restrict CAP_SYS_ADMIN capabilities to trusted users only, and monitor system logs for buffer overflow warnings (dmesg | grep 'perf buffer not large enough'). Verify patching via git log --oneline linux-stable | grep -i 'dma_map_sg' or checking kernel version numbers against distribution release notes (https://www.kernel.org/releases.html). No workarounds eliminate risk entirely; patching is the primary solution.

Affected VersionsENISA

Linux patch: 6.12.74
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <02d209bb018a40dee9eac89e91860253dee9605b
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <f2584f791a10343bdc995ff6ff402db45b95de69
Linux patch: 6.18.13
Linux patch: 6.19
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <daafcc0ef0b358d9d622b6e3b7c43767aa3814ee

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the Linux kernel's DMA tracing infrastructure, specifically the dma_map_sg tracepoint implementation used to monitor scatter-gather DMA operations. The root cause is insufficient bounds checking on dynamic array allocations within the tracepoint (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer). The dma_map_sg tracepoint allocates three dynamic arrays—phys_addrs (8 bytes per entry), dma_addrs (8 bytes per entry), and lengths (4 bytes per entry)—without capping the number of entries. With nents values exceeding 1000, total allocation can reach 20,000 bytes, far exceeding the PERF_MAX_TRACE_SIZE limit of 8192 bytes. The affected products include Linux kernel (cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*) across all versions, with virtualization platforms and DRM subsystems being particularly exposed due to large buffer operations.

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 5.2 MEDIUM

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

3
CVSS changed
Apr 24, 2026 - 18:37 NVD
7.8 (HIGH)
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 25, 2026 - 10:29 nvd
N/A

DescriptionCVE.org

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

tracing/dma: Cap dma_map_sg tracepoint arrays to prevent buffer overflow

The dma_map_sg tracepoint can trigger a perf buffer overflow when tracing large scatter-gather lists. With devices like virtio-gpu creating large DRM buffers, nents can exceed 1000 entries, resulting in:

phys_addrs: 1000 * 8 bytes = 8,000 bytes dma_addrs: 1000 * 8 bytes = 8,000 bytes lengths: 1000 * 4 bytes = 4,000 bytes Total: ~20,000 bytes

This exceeds PERF_MAX_TRACE_SIZE (8192 bytes), causing:

WARNING: CPU: 0 PID: 5497 at kernel/trace/trace_event_perf.c:405 perf buffer not large enough, wanted 24620, have 8192

Cap all three dynamic arrays at 128 entries using min() in the array size calculation. This ensures arrays are only as large as needed (up to the cap), avoiding unnecessary memory allocation for small operations while preventing overflow for large ones.

The tracepoint now records the full nents/ents counts and a truncated flag so users can see when data has been capped.

Changes in v2:

  • Use min(nents, DMA_TRACE_MAX_ENTRIES) for dynamic array sizing

instead of fixed DMA_TRACE_MAX_ENTRIES allocation (feedback from Steven Rostedt)

  • This allocates only what's needed up to the cap, avoiding waste

for small operations

Reviwed-by: Sean Anderson <sean.anderson@linux.dev>

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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

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.

Related Vulnerabilities in Linux Kernel Tracing Buffer Issues

View all 2

Vendor StatusVendor

Debian

linux
Release Status Fixed Version Urgency
bullseye not-affected - -
bullseye (security) fixed 5.10.251-1 -
bookworm not-affected - -
bookworm (security) fixed 6.1.164-1 -
trixie fixed 6.12.74-1 -
trixie (security) fixed 6.12.74-2 -
forky, sid fixed 6.19.8-1 -
(unstable) fixed 6.18.13-1 -

SUSE

Severity: Medium
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