In the Linux kernel, the following vulnerability has been resolved: ice: ensure the copied buf is NUL terminated Currently, we allocate a count-sized kernel buffer and copy count bytes 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, 25 Sep 2024 19:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
Metrics cvssV3_1

{'score': 5.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:H'}

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-05-30T15:29:24.941Z

Updated: 2024-12-19T09:02:35.330Z

Reserved: 2024-05-30T15:25:07.071Z

Link: CVE-2024-36935

cve-icon Vulnrichment

Updated: 2024-06-12T19:15:00.866Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-05-30T16:15:16.640

Modified: 2024-11-21T09:22:51.360

Link: CVE-2024-36935

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-05-30T00:00:00Z

Links: CVE-2024-36935 - Bugzilla