CVE-2026-72025

s390/monwriter: Reject buffer reuse with different data length

State
Published
Severity
Not scored
Published
Aug 15, 2026
Updated
Aug 18, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 31b58088292c7f00f0b81088bfb557285b0b6247 to before 096dff1247037d329c04b3a5be0ecdfb1c5c7ac6Affected
  • 31b58088292c7f00f0b81088bfb557285b0b6247 to before d39cf4a6d721b1ae21eb53bbf3e8cd984253d7abAffected
  • 31b58088292c7f00f0b81088bfb557285b0b6247 to before 759d91378203ea35fa9bca6726dcf0010de081fbAffected
  • 31b58088292c7f00f0b81088bfb557285b0b6247 to before 036bc5661060702e798d215e81bb46da530965b3Affected
  • 31b58088292c7f00f0b81088bfb557285b0b6247 to before 01f3ce411711c2c919598ea25320a5a48f71edbcAffected
  • 31b58088292c7f00f0b81088bfb557285b0b6247 to before f0745496f7c171271cafd9457df3b914a483ddebAffected
  • 31b58088292c7f00f0b81088bfb557285b0b6247 to before ae5347f3db1782c6118f6cc0d9fd8b1d43397db3Affected
  • 31b58088292c7f00f0b81088bfb557285b0b6247 to before 2995ccec260caa9e85b3301a4aba1e66ed80ad74Affected
LinuxLinux
  • 2.6.19Affected
  • before 2.6.19Not affected
  • 5.10.261 through 5.10.*Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.