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.
History

Wed, 11 Sep 2024 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-06-19T13:35:29.555Z

Updated: 2024-12-19T09:04:33.726Z

Reserved: 2024-06-18T19:36:34.922Z

Link: CVE-2024-38560

cve-icon Vulnrichment

Updated: 2024-08-02T04:12:25.822Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-06-19T14:15:16.187

Modified: 2024-11-21T09:26:20.910

Link: CVE-2024-38560

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-06-19T00:00:00Z

Links: CVE-2024-38560 - Bugzilla