Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2024-38587

speakup: Fix sizeof() vs ARRAY_SIZE() bug

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 756c5cb7c09e537b87b5d3acafcb101b2ccf394f to < 42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358affected
  • 8f6b62125befe1675446923e4171eac2c012959c to < cd7f3978c2ec741aedd1d860b2adb227314cf996affected
  • 6401038acfa24cba9c28cce410b7505efadd0222 to < 07ef95cc7a579731198c93beed281e3a79a0e586affected
  • 0d130158db29f5e0b3893154908cf618896450a8 to < 504178fb7d9f6cdb0496d5491efb05f45597e535affected
  • 89af25bd4b4bf6a71295f07e07a8ae7dc03c6595 to < 3726f75a1ccc16cd335c0ccfad1d92ee08ecba5eaffected
  • 8defb1d22ba0395b81feb963b96e252b097ba76f to < c6e1650cf5df1bd6638eeee231a683ef30c7d4ebaffected
  • 0efb15c14c493263cb3a5f65f5ddfd4603d19a76 to < eb1ea64328d4cc7d7a912c563f8523d5259716efaffected
  • c8d2f34ea96ea3bce6ba2535f867f0d4ee3b22e1 to < d52c04474feac8e305814a5228e622afe481b2efaffected
  • c8d2f34ea96ea3bce6ba2535f867f0d4ee3b22e1 to < 008ab3c53bc4f0b2f20013c8f6c204a3203d0b8baffected
  • 4.19.313 to < 4.19.316affected
  • 5.4.275 to < 5.4.278affected
  • 5.10.216 to < 5.10.219affected
  • 5.15.157 to < 5.15.161affected
  • 6.1.88 to < 6.1.93affected
  • 6.6.29 to < 6.6.33affected
  • 6.8.8 to < 6.8.12affected

Linux Linux

Default version status: affected

  • 6.9affected
  • 0 to < 6.9unaffected
  • 4.19.316 to ≤ 4.19.*unaffected
  • 5.4.278 to ≤ 5.4.*unaffected
  • 5.10.219 to ≤ 5.10.*unaffected
  • 5.15.161 to ≤ 5.15.*unaffected
  • 6.1.93 to ≤ 6.1.*unaffected
  • 6.6.33 to ≤ 6.6.*unaffected
  • 6.8.12 to ≤ 6.8.*unaffected
  • 6.9.3 to ≤ 6.9.*unaffected
  • 6.10 to ≤ *unaffected

References