Shellfeed logo Shellfeed

CVE-2026-72025 · UNKNOWN

Summary: s390/monwriter: Reject buffer reuse with different data length

Details

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.

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [31b58088292c7f00f0b81088bfb557285b0b6247 – 096dff1247037d329c04b3a5be0ecdfb1c5c7ac6]
  • Linux Kernel [2.6.19 – 5.10.261] [5.11.0 – 5.15.212] [5.16.0 – 6.1.178] [6.2.0 – 6.6.145] [6.7.0 – 6.12.97] [6.13.0 – 6.18.40] [6.19.0 – 7.1.5]

References