Skip to main content
← All vulnerabilities
CVE-2024-38587

speakup: Fix sizeof() vs ARRAY_SIZE() bug

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.19.316, 5.4.278, 5.10.219, 5.15.161, 6.1.93, and 3 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 756c5cb7c09e537b87b5d3acafcb101b2ccf394f · fixed in 42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358; From 8f6b62125befe1675446923e4171eac2c012959c · fixed in cd7f3978c2ec741aedd1d860b2adb227314cf996; From 6401038acfa24cba9c28cce410b7505efadd0222 · fixed in 07ef95cc7a579731198c93beed281e3a79a0e586; From 0d130158db29f5e0b3893154908cf618896450a8 · fixed in 504178fb7d9f6cdb0496d5491efb05f45597e535; From 89af25bd4b4bf6a71295f07e07a8ae7dc03c6595 · fixed in 3726f75a1ccc16cd335c0ccfad1d92ee08ecba5e; From 8defb1d22ba0395b81feb963b96e252b097ba76f · fixed in c6e1650cf5df1bd6638eeee231a683ef30c7d4eb; From 0efb15c14c493263cb3a5f65f5ddfd4603d19a76 · fixed in eb1ea64328d4cc7d7a912c563f8523d5259716ef; From c8d2f34ea96ea3bce6ba2535f867f0d4ee3b22e1 · fixed in d52c04474feac8e305814a5228e622afe481b2ef; From c8d2f34ea96ea3bce6ba2535f867f0d4ee3b22e1 · fixed in 008ab3c53bc4f0b2f20013c8f6c204a3203d0b8b; From 4.19.313 · fixed in 4.19.316; From 5.4.275 · fixed in 5.4.278; From 5.10.216 · fixed in 5.10.219; From 5.15.157 · fixed in 5.15.161; From 6.1.88 · fixed in 6.1.93; From 6.6.29 · fixed in 6.6.33; From 6.8.8 · fixed in 6.8.12

  • Linux Linux

    6.9

  • KernelLinux

    fixed in 4.19.316; From 4.20.0 · fixed in 5.4.278; From 5.5.0 · fixed in 5.10.219; From 5.11.0 · fixed in 5.15.161; From 5.16.0 · fixed in 6.1.93; From 6.2.0 · fixed in 6.6.33; From 6.7.0 · fixed in 6.8.12; From 6.9.0 · fixed in 6.9.3

References 9

git.kernel.org