VULNERABILITY INTELLIGENCE

CVE-2024-36931

CVSS score7.1 HIGH
EPSS probability0.23%
CISA KEVNot currently listed
Published2024-05-30
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Description

In the Linux kernel, the following vulnerability has been resolved: s390/cio: Ensure the copied buf is NUL terminated Currently, we allocate a lbuf-sized kernel buffer and copy lbuf from userspace to that buffer. Later, we use scanf on this buffer but we don't ensure that the string is terminated inside the buffer, this can lead to OOB read when using scanf. Fix this issue by using memdup_user_nul instead.

Weakness classification

  • nvd@nist.gov: CWE-125

Primary references