High severity · published Jun 19, 2024
CVE-2024-38587
speakup: Fix sizeof() vs ARRAY_SIZE() bug
7.8
CVSS
0.8%
EPSS
No
On KEV
Description
In the Linux kernel, the following vulnerability has been resolved:
speakup: Fix sizeof() vs ARRAY_SIZE() bug
The "buf" pointer is an array of u16 values. This code should be
using ARRAY_SIZE() (which is 256) instead of sizeof() (which is 512),
otherwise it can the still got out of bounds.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 56% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
4.19.313 before 4.19.316; 5.4.275 before 5.4.278; 5.10.216 before 5.10.219; 5.15.157 before 5.15.161; 6.1.88 before 6.1.93; 6.6.29 before 6.6.33; +2 more · source: NVD
LI
Linux · Linux
756c5cb7c09e537b87b5d3acafcb101b2ccf394f before 42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358; 8f6b62125befe1675446923e4171eac2c012959c before cd7f3978c2ec741aedd1d860b2adb227314cf996; 6401038acfa24cba9c28cce410b7505efadd0222 before 07ef95cc7a579731198c93beed281e3a79a0e586; 0d130158db29f5e0b3893154908cf618896450a8 before 504178fb7d9f6cdb0496d5491efb05f45597e535; 89af25bd4b4bf6a71295f07e07a8ae7dc03c6595 before 3726f75a1ccc16cd335c0ccfad1d92ee08ecba5e; 8defb1d22ba0395b81feb963b96e252b097ba76f before c6e1650cf5df1bd6638eeee231a683ef30c7d4eb; +11 more · source: vendor
RR
RUGGEDCOM RST2428P · Siemens
before V3.1 · source: CISA
SX
SCALANCE XCM-/XRM-/XCH-/XRH-300 family · Siemens
before V3.1 · source: CISA
SS
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem · Siemens
before V1.1.1 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-38587
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-38587
Patch
https://git.kernel.org/stable/c/008ab3c53bc4f0b2f20013c8f6c204a3203d0b8b
Patch
https://git.kernel.org/stable/c/07ef95cc7a579731198c93beed281e3a79a0e586
Patch
https://git.kernel.org/stable/c/3726f75a1ccc16cd335c0ccfad1d92ee08ecba5e
Patch
https://git.kernel.org/stable/c/42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358
Patch
https://git.kernel.org/stable/c/504178fb7d9f6cdb0496d5491efb05f45597e535
Patch
https://git.kernel.org/stable/c/c6e1650cf5df1bd6638eeee231a683ef30c7d4eb
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
