Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-38587

HIGH 7.8EPSS 64%

speakup: Fix sizeof() vs ARRAY_SIZE() bug

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 756c5cb7c09e537b87b5d3acafcb101b2ccf394f, < 42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358; >= 8f6b62125befe1675446923e4171eac2c012959c, < cd7f3978c2ec741aedd1d860b2adb227314cf996; >= 6401038acfa24cba9c28cce410b7505efadd0222, < 07ef95cc7a579731198c93beed281e3a79a0e586; >= 0d130158db29f5e0b3893154908cf618896450a8, < 504178fb7d9f6cdb0496d5491efb05f45597e535; >= 89af25bd4b4bf6a71295f07e07a8ae7dc03c6595, < 3726f75a1ccc16cd335c0ccfad1d92ee08ecba5e; >= 8defb1d22ba0395b81feb963b96e252b097ba76f, < c6e1650cf5df1bd6638eeee231a683ef30c7d4eb; >= 0efb15c14c493263cb3a5f65f5ddfd4603d19a76, < eb1ea64328d4cc7d7a912c563f8523d5259716ef; >= c8d2f34ea96ea3bce6ba2535f867f0d4ee3b22e1, < d52c04474feac8e305814a5228e622afe481b2ef; >= c8d2f34ea96ea3bce6ba2535f867f0d4ee3b22e1, < 008ab3c53bc4f0b2f20013c8f6c204a3203d0b8b; >= 4.19.313, < 4.19.316; …
  • Anyone running Linux 6.9

Vulnerability facts

Affected
Linux >= 756c5cb7c09e537b87b5d3acafcb101b2ccf394f, < 42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358; >= 8f6b62125befe1675446923e4171eac2c012959c, < cd7f3978c2ec741aedd1d860b2adb227314cf996; >= 6401038acfa24cba9c28cce410b7505efadd0222, < 07ef95cc7a579731198c93beed281e3a79a0e586; >= 0d130158db29f5e0b3893154908cf618896450a8, < 504178fb7d9f6cdb0496d5491efb05f45597e535; >= 89af25bd4b4bf6a71295f07e07a8ae7dc03c6595, < 3726f75a1ccc16cd335c0ccfad1d92ee08ecba5e; >= 8defb1d22ba0395b81feb963b96e252b097ba76f, < c6e1650cf5df1bd6638eeee231a683ef30c7d4eb; >= 0efb15c14c493263cb3a5f65f5ddfd4603d19a76, < eb1ea64328d4cc7d7a912c563f8523d5259716ef; >= c8d2f34ea96ea3bce6ba2535f867f0d4ee3b22e1, < d52c04474feac8e305814a5228e622afe481b2ef; >= c8d2f34ea96ea3bce6ba2535f867f0d4ee3b22e1, < 008ab3c53bc4f0b2f20013c8f6c204a3203d0b8b; >= 4.19.313, < 4.19.316; …; Linux 6.9
Fixed in
Linux 42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358, Linux 07ef95cc7a579731198c93beed281e3a79a0e586, Linux 504178fb7d9f6cdb0496d5491efb05f45597e535, Linux 3726f75a1ccc16cd335c0ccfad1d92ee08ecba5e, Linux 008ab3c53bc4f0b2f20013c8f6c204a3203d0b8b, Linux 4.19.316
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
1.06% chance of exploitation in 30 days (percentile 64, 2026-11-26)
CWE
CWE-129
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Linux>= 756c5cb7c09e537b87b5d3acafcb101b2ccf394f, < 42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358; >= 8f6b62125befe1675446923e4171eac2c012959c, < cd7f3978c2ec741aedd1d860b2adb227314cf996; >= 6401038acfa24cba9c28cce410b7505efadd0222, < 07ef95cc7a579731198c93beed281e3a79a0e586; >= 0d130158db29f5e0b3893154908cf618896450a8, < 504178fb7d9f6cdb0496d5491efb05f45597e535; >= 89af25bd4b4bf6a71295f07e07a8ae7dc03c6595, < 3726f75a1ccc16cd335c0ccfad1d92ee08ecba5e; >= 8defb1d22ba0395b81feb963b96e252b097ba76f, < c6e1650cf5df1bd6638eeee231a683ef30c7d4eb; >= 0efb15c14c493263cb3a5f65f5ddfd4603d19a76, < eb1ea64328d4cc7d7a912c563f8523d5259716ef; >= c8d2f34ea96ea3bce6ba2535f867f0d4ee3b22e1, < d52c04474feac8e305814a5228e622afe481b2ef; >= c8d2f34ea96ea3bce6ba2535f867f0d4ee3b22e1, < 008ab3c53bc4f0b2f20013c8f6c204a3203d0b8b; >= 4.19.313, < 4.19.316; …—cvelist
Linux6.9—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-38587. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-38587.md
Affected: Linux >= 756c5cb7c09e537b87b5d3acafcb101b2ccf394f, < 42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358; >= 8f6b62125befe1675446923e4171eac2c012959c, < cd7f3978c2ec741aedd1d860b2adb227314cf996; >= 6401038acfa24cba9c28cce410b7505efadd0222, < 07ef95cc7a579731198c93beed281e3a79a0e586; >= 0d130158db29f5e0b389315…
Fixed in: Linux 42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358, Linux 07ef95cc7a579731198c93beed281e3a79a0e586, Linux 504178fb7d9f6cdb0496d5491efb05f45597e535, Linux 3726f75a1ccc16cd335c0ccfad1d92ee08ecba5e, Linux 008ab3c53bc4f0b2f20013c8f6c204a3203d0b8b, Linux 4.19.316

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-38587 being exploited?

There is no confirmed exploitation: CVE-2024-38587 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.06% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-38587?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-38587?

Linux >= 756c5cb7c09e537b87b5d3acafcb101b2ccf394f, < 42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358; >= 8f6b62125befe1675446923e4171eac2c012959c, < cd7f3978c2ec741aedd1d860b2adb227314cf996; >= 6401038acfa24cba9c28cce410b7505efadd0222, < 07ef95cc7a579731198c93beed281e3a79a0e586; >= 0d130158db29f5e0b3893154908cf618896450a8, < 504178fb7d9f6cdb0496d5491efb05f45597e535; >= 89af25bd4b4bf6a71295f07e07a8ae7dc03c6595, < 3726f75a1ccc16cd335c0ccfad1d92ee08ecba5e; >= 8defb1d22ba0395b81feb963b96e252b097ba76f, < c6e1650cf5df1bd6638eeee231a683ef30c7d4eb; >= 0efb15c14c493263cb3a5f65f5ddfd4603d19a76, < eb1ea64328d4cc7d7a912c563f8523d5259716ef; >= c8d2f34ea96ea3bce6ba2535f867f0d4ee3b22e1, < d52c04474feac8e305814a5228e622afe481b2ef; >= c8d2f34ea96ea3bce6ba2535f867f0d4ee3b22e1, < 008ab3c53bc4f0b2f20013c8f6c204a3203d0b8b; >= 4.19.313, < 4.19.316; …; Linux 6.9.

Is there a fix for CVE-2024-38587?

Yes. Fixed in Linux 42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358, Linux 07ef95cc7a579731198c93beed281e3a79a0e586, Linux 504178fb7d9f6cdb0496d5491efb05f45597e535, Linux 3726f75a1ccc16cd335c0ccfad1d92ee08ecba5e, Linux 008ab3c53bc4f0b2f20013c8f6c204a3203d0b8b, Linux 4.19.316. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2024-38587?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors