Cloudanix VulnDB

CVE-2025-38484

None

CVSS

—

EPSS

0.2%

Published

Jul 28, 2025

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A programming mistake lets specially crafted input overwrite memory outside its intended storage area, which could make programs using the component crash or behave incorrectly until fixed.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Moderate
Impact
Full Compromise
Component
OS kernel
Class
Buffer Overflow
Remediation
Patch
Effort
Medium
Patch risk
Low

What it actually does

Out-of-bounds write of a string terminator byte beyond an 80-character buffer after count truncation in simple_write_to_buffer without a subsequent boundary check.

Why it matters to the business

Memory corruption in affected systems can lead to crashes, unexpected behavior, or potential code execution, increasing operational risk and requiring urgent patching across deployed instances.

How an attack unfolds

An attacker supplies more than 80 characters to the affected write path; the count is truncated but the subsequent null terminator is written at the original count offset, corrupting adjacent memory and enabling further exploitation such as control-flow hijacking.

How to fix it

Upgrade chromium on Debian 12 to version 138.0.7204.168-1~deb12u1 or later; apply the kernel patch that adds the size check before writing the terminator; rebuild and redeploy any custom kernels containing the iio backend code.

How to confirm the fix worked

Confirm the installed package version matches or exceeds the fixed release; inspect the source for the added boundary check before the null terminator write; run regression tests exercising the write path with inputs larger than 80 characters.

Typical attack path

  1. Identify a caller that invokes the vulnerable write interface with oversized input
  2. Supply a buffer exceeding 80 characters to trigger truncation
  3. Trigger the unconditional null terminator write at the unvalidated offset
  4. Leverage the resulting one-byte out-of-bounds write for memory corruption primitives
  5. Escalate to arbitrary code execution or denial of service

How to detect it

Review system and kernel logs for unexpected crashes or memory errors near iio backend write operations; examine audit trails for processes writing oversized buffers to affected interfaces; correlate with any post-exploitation artifacts such as anomalous memory mappings.

What your security team should do

  • Immediately schedule the listed package upgrade on all Debian 12 systems
  • Prioritize systems with direct exposure to untrusted input to the iio backend
  • Monitor for post-patch stability issues in affected drivers
  • Update vulnerability scanning policies to flag pre-fix versions

The record

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.

Affected packages

Ecosystem Package Introduced Fixed
Debian:13 linux 0 6.12.41-1
Debian:14 linux 0 No fix
Debian:14 linux 0 6.16.3-1
Linux Kernel 0 6.12.40
openSUSE:Leap 16.0 dtb-aarch64 0 6.12.0-160000.6.1
openSUSE:Leap 16.0 kernel-64kb 0 6.12.0-160000.6.1
openSUSE:Leap 16.0 kernel-default 0 6.12.0-160000.6.1
openSUSE:Leap 16.0 kernel-default-base 0 6.12.0-160000.6.1.160000.2.4
openSUSE:Leap 16.0 kernel-docs 0 6.12.0-160000.6.1
openSUSE:Leap 16.0 kernel-kvmsmall 0 6.12.0-160000.6.1
openSUSE:Leap 16.0 kernel-obs-build 0 6.12.0-160000.6.1
openSUSE:Leap 16.0 kernel-obs-qa 0 6.12.0-160000.6.1
openSUSE:Leap 16.0 kernel-rt 0 6.12.0-160000.6.1
openSUSE:Leap 16.0 kernel-source 0 6.12.0-160000.6.1
openSUSE:Leap 16.0 kernel-syms 0 6.12.0-160000.6.1
openSUSE:Leap 16.0 kernel-zfcpdump 0 6.12.0-160000.6.1

Related vulnerabilities