Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2024-38560
VULNERABILITY

CVE-2024-38560

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

CVSS
7.1
Severity
HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Timeline

Published
Jun 19, 2024 14:15
Modified
Oct 15, 2026 01:18
Last observed
Oct 15, 2026 12:24

CWE

CWE-125

Affected product identifiers

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

References