CVE-2024-38587
kernel: speakup: Fix sizeof() vs ARRAY_SIZE() bug
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · June 19, 2024
Updated · October 20, 2026
Description
A flaw was found in the Linux kernel speakup console driver. A buffer of u16 values is bounded with sizeof() instead of ARRAY_SIZE(), so the limit is twice the number of elements. A local user of the speakup interface can access memory past the end of that buffer.
Statement
Red Hat Enterprise Linux is not vulnerable to this CVE, as it does not affect the versions or configurations of the Linux kernel used in its distributions.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-787 · Out-of-bounds Write