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

s390/monwriter: Reject buffer reuse with different data length

When data buffers are reused, e.g. for interval sample records, the
first record determines the data length, and the size of the buffer for
user copy. Current monwriter code does not check if the data length was
changed for subsequent records, which also would never happen for valid
user programs.

However, a malicious user could change the data length, resulting in out
of bounds user copy to the kernel buffer, and memory corruption. By
default, the monwriter misc device is created with root-only permissions,
so practical impact is typically low.

Fix this by checking for changed data length and rejecting such records.
Published: 2026-08-15
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The issue resides in the s390 monwriter subsystem of the Linux kernel. When a user‑space program reuses data buffers for interval sample records, the first record defines the data length used for copying data into a kernel buffer, and the code does not verify that later records use the same length. An attacker can modify a subsequent record’s data length, causing an out‑of‑bounds copy into kernel memory. This results in kernel memory corruption. While this flaw does not directly grant code execution, corrupted memory can be leveraged by an attacker with sufficient privilege to achieve privilege escalation or other malicious outcomes.

Affected Systems

All Linux kernel builds that target the s390 architecture and include the monwriter misc device prior to the upstream commit are affected. This encompasses virtually all major distribution kernels for s390 that have not been patched with commit 01f3ce4117… or its downstream equivalent. Any vendor delivering s390 kernel packages remains at risk until the patch is applied.

Risk and Exploitability

The vulnerability is a memory‑corruption flaw with no published CVSS score and an unavailable EPSS score; it is not listed in the CISA KEV catalog. Exploitation requires local access to /dev/monwriter, which by default is owned by root and not world‑writable. Thus, an attacker would need root or the ability to elevate privileges to exploit the flaw. The risk is considered low for deployments that have not changed the device’s permissions, but the potential for privileged memory corruption warrants prompt patching.

Generated by OpenCVE AI on August 15, 2026 at 20:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the monwriter buffer‑length check fix (commit 01f3ce4117…)
  • Verify that /dev/monwriter remains root‑only and is not world‑writable; adjust permissions if necessary.
  • If the monwriter subsystem is not required, disable or remove it from the system until the patch is applied.

Generated by OpenCVE AI on August 15, 2026 at 20:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 15 Aug 2026 21:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: s390/monwriter: Reject buffer reuse with different data length When data buffers are reused, e.g. for interval sample records, the first record determines the data length, and the size of the buffer for user copy. Current monwriter code does not check if the data length was changed for subsequent records, which also would never happen for valid user programs. However, a malicious user could change the data length, resulting in out of bounds user copy to the kernel buffer, and memory corruption. By default, the monwriter misc device is created with root-only permissions, so practical impact is typically low. Fix this by checking for changed data length and rejecting such records.
Title s390/monwriter: Reject buffer reuse with different data length
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-15T05:51:49.928Z

Reserved: 2026-08-09T03:40:39.900Z

Link: CVE-2026-72025

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:01.580

Modified: 2026-08-15T06:21:01.580

Link: CVE-2026-72025

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-15T21:00:04Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer