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: 5.5 Medium
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 a CVSS score of 5.5 and an EPSS score of < 1%; it is not listed in the CISA KEV catalog. Based on the description, it is inferred that exploitation would require accessing /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 18, 2026 at 00:21 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 18, 2026 at 00:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 17 Aug 2026 21:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Mon, 17 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


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-18T06:56:09.214Z

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-18T07:16:52.647

Link: CVE-2026-72025

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72025 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T00:30:05Z

Weaknesses