s390/monwriter: Reject buffer reuse with different data length
3Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackepss 0.2%
probabilidade de exploração
0.2%top 89% das CVEs
exploração observada
nãonenhuma fonte reporta
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.
Produtos afetados
Linux · LinuxReferências
https://git.kernel.org/stable/c/01f3ce411711c2c919598ea25320a5a48f71edbchttps://git.kernel.org/stable/c/036bc5661060702e798d215e81bb46da530965b3https://git.kernel.org/stable/c/096dff1247037d329c04b3a5be0ecdfb1c5c7ac6https://git.kernel.org/stable/c/2995ccec260caa9e85b3301a4aba1e66ed80ad74https://git.kernel.org/stable/c/759d91378203ea35fa9bca6726dcf0010de081fbhttps://git.kernel.org/stable/c/ae5347f3db1782c6118f6cc0d9fd8b1d43397db3https://git.kernel.org/stable/c/d39cf4a6d721b1ae21eb53bbf3e8cd984253d7abhttps://git.kernel.org/stable/c/f0745496f7c171271cafd9457df3b914a483ddeb