CVE Catalog

CVE-2024-38560

High
Published: Translated: NVD NIST

Summary

A vulnerability has been identified in the Linux kernel regarding improper string termination in a kernel buffer. The issue arises from copying data from user space without ensuring the string is NUL terminated, which can lead to out-of-bounds reads.

Risk Assessment

Exploitation of this vulnerability may lead to unauthorized memory reads, posing a risk of sensitive data exposure within the system. Organizations should be aware of the potential security threats associated with data integrity.

Recommendation

It is recommended to update the Linux kernel to a version that includes a fix for this vulnerability. Additionally, a code audit should be conducted to ensure that all buffer operations are properly secured.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS