CVE-2024-36931

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-36931
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-36931.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-36931
Downstream
Related
Published
2024-05-30T16:15:16Z
Modified
2025-08-09T19:01:27Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

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 memdupusernul instead.

References

Affected packages