speakup: Fix sizeof() vs ARRAY_SIZE() bug

Summary

CVECVE-2024-38587
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-06-19 14:15:18 UTC
Updated2026-05-12 12:16:53 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 5.3 MEDIUM from ADP

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Problem Types: CWE-129 | CWE-noinfo Not enough information


VersionSourceTypeScoreSeverityVector
3.1ADPDECLARED5.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary5.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 756c5cb7c09e537b87b5d3acafcb101b2ccf394f 42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358 git Not specified
CNA Linux Linux affected 8f6b62125befe1675446923e4171eac2c012959c cd7f3978c2ec741aedd1d860b2adb227314cf996 git Not specified
CNA Linux Linux affected 6401038acfa24cba9c28cce410b7505efadd0222 07ef95cc7a579731198c93beed281e3a79a0e586 git Not specified
CNA Linux Linux affected 0d130158db29f5e0b3893154908cf618896450a8 504178fb7d9f6cdb0496d5491efb05f45597e535 git Not specified
CNA Linux Linux affected 89af25bd4b4bf6a71295f07e07a8ae7dc03c6595 3726f75a1ccc16cd335c0ccfad1d92ee08ecba5e git Not specified
CNA Linux Linux affected 8defb1d22ba0395b81feb963b96e252b097ba76f c6e1650cf5df1bd6638eeee231a683ef30c7d4eb git Not specified
CNA Linux Linux affected 0efb15c14c493263cb3a5f65f5ddfd4603d19a76 eb1ea64328d4cc7d7a912c563f8523d5259716ef git Not specified
CNA Linux Linux affected c8d2f34ea96ea3bce6ba2535f867f0d4ee3b22e1 d52c04474feac8e305814a5228e622afe481b2ef git Not specified
CNA Linux Linux affected c8d2f34ea96ea3bce6ba2535f867f0d4ee3b22e1 008ab3c53bc4f0b2f20013c8f6c204a3203d0b8b git Not specified
CNA Linux Linux affected 6.9 Not specified
CNA Linux Linux unaffected 6.9 semver Not specified
CNA Linux Linux unaffected 4.19.316 4.19.* semver Not specified
CNA Linux Linux unaffected 5.4.278 5.4.* semver Not specified
CNA Linux Linux unaffected 5.10.219 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.161 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.93 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.33 6.6.* semver Not specified
CNA Linux Linux unaffected 6.8.12 6.8.* semver Not specified
CNA Linux Linux unaffected 6.9.3 6.9.* semver Not specified
CNA Linux Linux unaffected 6.10 * original_commit_for_fix Not specified
ADP Siemens RUGGEDCOM RST2428P affected V3.1 custom Not specified
ADP Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 Family unaffected * custom Not specified
ADP Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 Family affected V3.1 custom Not specified
ADP Siemens SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem affected * custom Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/504178fb7d9f6cdb0496d5491efb05f45597e535 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/eb1ea64328d4cc7d7a912c563f8523d5259716ef af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/d52c04474feac8e305814a5228e622afe481b2ef af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/cd7f3978c2ec741aedd1d860b2adb227314cf996 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
cert-portal.siemens.com/productcert/html/ssa-265688.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
git.kernel.org/stable/c/3726f75a1ccc16cd335c0ccfad1d92ee08ecba5e af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/07ef95cc7a579731198c93beed281e3a79a0e586 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
cert-portal.siemens.com/productcert/html/ssa-613116.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
git.kernel.org/stable/c/008ab3c53bc4f0b2f20013c8f6c204a3203d0b8b af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
lists.debian.org/debian-lts-announce/2024/06/msg00020.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
git.kernel.org/stable/c/c6e1650cf5df1bd6638eeee231a683ef30c7d4eb af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report