Skip to main content

Linux Kernel CVE-2025-38484

HIGH
Out-of-bounds Write (CWE-787)
2025-07-28 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Gain local write access to IIO backend debugfs
  2. Delivery
    Write 80+ byte payload to interface
  3. Exploit
    Truncated count indexes buffer end
  4. Execution
    NUL terminator written out-of-bounds
  5. Impact
    Corrupt adjacent kernel memory / crash

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

Requires local access to a host running a Linux 6.16-rc1 through rc6 kernel with the IIO (Industrial I/O) backend driver active, debugfs mounted, and the attacker holding write permission to the IIO backend debugfs write handler; the attacker must submit an input at least as large as the 80-byte buffer to trigger the off-by-one NUL write. Exploitation is limited by these prerequisites: no network vector (AV:L), the low-privilege but non-zero access required (PR:L) to reach a debugfs interface typically restricted to privileged users, dependence on specific IIO backend hardware/driver presence, and the narrow single-byte corruption primitive that constrains impact beyond a likely crash.

Impact

The NVD CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 7.8 High) reflects local, low-complexity, low-privilege access with full CIA impact typical of kernel memory corruption. However, the real-world risk is materially lower than the 7.8 suggests: EPSS is only 0.15% (5th percentile), there is no KEV listing and no public exploit, and the primitive is a single-byte NUL overwrite - a constrained corruption that is difficult to weaponize into reliable code execution. Exploitation also requires reaching the IIO backend debugfs interface, which is only present when the relevant IIO drivers are built/loaded and debugfs is mounted and writable - usually gating access to root or specially privileged users. The C:H/I:H/A:H rating is a conservative worst-case for kernel-space writes; for a one-byte terminator overflow the practical impact is more likely limited corruption or a crash. Signals are consistent (all point to low-priority, local-only) with the one caveat that CVSS impact scoring is generic for kernel bugs and likely overstates the achievable impact of this specific off-by-one.

Exploit ScenarioDerived

A local user with write access to the IIO backend debugfs file writes a string of 80 or more bytes; simple_write_to_buffer fills the buffer and the driver then writes a NUL terminator one byte past its end, corrupting adjacent kernel memory. Depending on allocation layout this most plausibly causes a kernel crash (DoS); leveraging the single-byte overwrite for privilege escalation would require precise heap grooming and is not demonstrated by any public exploit.

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

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

Alert me

AnalysisAIv1 – Jul 30, 2026

Out-of-bounds write in the Linux kernel's Industrial I/O (IIO) backend debugfs interface allows a local user with write access to corrupt kernel memory by one byte beyond an 80-character buffer. The flaw affects 6.16 release-candidate kernels (rc1-rc6): after simple_write_to_buffer truncates an oversized write to the buffer size, a NUL string terminator is written at the (already maxed-out) offset without a bounds check. It is fixed upstream and has no public exploit identified at time of analysis; EPSS is very low (0.15%, 5th percentile).

RemediationAI

Patch available per vendor advisory - upgrade to a Linux kernel build that includes the IIO backend bounds-check fix, applied via the kernel.org commits 01e941aa7f5175125df4ac5d3aab099961525602, 6eea9f7648ddb9e4903735a1f77cf196c957aa38, and da9374819eb3885636934c1006d450c3cb1a02ed; distribution users should move to a vendor kernel package that incorporates these. Because the affected code is only in 6.16-rc kernels, the simplest remediation is to avoid running 6.16 release candidates in production and stay on a patched stable release. As a compensating control until patched, restrict access to the IIO backend debugfs entries by ensuring debugfs is not mounted on production hosts or is mounted with restrictive permissions (e.g., not world-writable), which removes the local write path at the cost of losing IIO backend debug/diagnostic tooling.

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 affected code lives in the IIO (Industrial I/O) subsystem's backend layer (drivers/iio/industrialio-backend.c), which exposes debugfs read/write helpers for IIO backend devices. The write handler uses simple_write_to_buffer() to copy user input into a fixed 80-byte stack/heap buffer; that helper correctly caps the byte count to the remaining space, but the driver then appends buf[count] = '\0' without verifying that count is strictly less than the buffer length. When the caller supplies input at least as large as the buffer, the terminator lands one byte past the end. This is a classic CWE-787 (Out-of-Bounds Write) off-by-one; the root cause is trusting the post-truncation count as a valid index rather than a length.

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
vuln.today AI 4.4 MEDIUM

Local write to IIO debugfs needs some privilege (PR:L, AV:L); a single-byte NUL overflow gives limited integrity/availability impact (I:L/A:L) and no info disclosure (C:N).

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

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

DescriptionNVD

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

iio: backend: fix out-of-bound write

The buffer is set to 80 character. If a caller write more characters, count is truncated to the max available space in "simple_write_to_buffer". But afterwards a string terminator is written to the buffer at offset count without boundary check. The zero termination is written OUT-OF-BOUND.

Add a check that the given buffer is smaller then the buffer to prevent.

Executive ViewAI

Why It Matters

Linux kernel 6.16 release-candidate versions (rc1-rc6) contain an out-of-bounds write vulnerability in the Industrial I/O (IIO) debugfs interface that could allow local users with write access to corrupt kernel memory. Production deployments using stable kernel releases are unaffected; organizations running rc kernels should apply the available patch immediately to prevent potential system instability or escalation vectors.

Business Impact: Medium
Compensating Controls

Apply vendor patch. If patching is delayed, restrict write access to debugfs using filesystem permissions (typically mounted with restrictive permissions) and monitor affected systems for signs of memory corruption via kernel logs.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Ubiquitous
Linux kernel underlies a huge fraction of production systems
Data Quality
3 sources
Confidence: Low

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.2%
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

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.

Affected Products (CPE)NVD

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc6:*:*:*:*:*:*

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Image SLES-Azure-3P Image SLES-Azure-Basic Image SLES-Azure-Standard Image SLES-BYOS-Azure Image SLES-BYOS-EC2 Image SLES-BYOS-GCE Image SLES-CHOST-BYOS-Aliyun Image SLES-CHOST-BYOS-Azure Image SLES-CHOST-BYOS-EC2 Image SLES-CHOST-BYOS-GCE Image SLES-CHOST-BYOS-GDC Image SLES-CHOST-BYOS-SAP-CCloud Image SLES-EC2 Image SLES-EC2-ECS Image SLES-GCE Image SLES-GCE-3P Image SLES-Hardened-BYOS-Azure Image SLES-Hardened-BYOS-EC2 Image SLES-Hardened-BYOS-GCE Image SLES-SAPCAL-Azure Image SLES-SAPCAL-EC2 Image SLES-SAPCAL-GCE Affected
Image SLES-SAP-Azure Image SLES-SAP-Azure-3P Image SLES-SAP-BYOS-Azure Image SLES-SAP-BYOS-EC2 Image SLES-SAP-BYOS-GCE Image SLES-SAP-EC2 Image SLES-SAP-GCE Image SLES-SAP-GCE-3P Affected
SUSE Linux Enterprise High Availability Extension 16.0 Fixed
SUSE Linux Enterprise Server 16.0 Fixed
SUSE Linux Enterprise Server 16.1 Fixed

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