speakup: Fix sizeof() vs ARRAY_SIZE() bug
Summary
| CVE | CVE-2024-38587 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-06-19 14:15:18 UTC |
| Updated | 2026-05-12 12:16:53 UTC |
| 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. |
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
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ADP | DECLARED | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
LowCVSS: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)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| 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
| Reference | Source | Link | Tags |
|---|---|---|---|
| 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 |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.