# speakup: Fix sizeof() vs ARRAY_SIZE() bug

CVE record · `CVE-2024-38587`

- **Identifiers:** `CVE-2024-38587`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 19 Jun 2024
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 19 Jun 2024, 13:37 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `756c5cb7c09e537b87b5d3acafcb101b2ccf394f to before 42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358` (git)
  - affected: `8f6b62125befe1675446923e4171eac2c012959c to before cd7f3978c2ec741aedd1d860b2adb227314cf996` (git)
  - affected: `6401038acfa24cba9c28cce410b7505efadd0222 to before 07ef95cc7a579731198c93beed281e3a79a0e586` (git)
  - affected: `0d130158db29f5e0b3893154908cf618896450a8 to before 504178fb7d9f6cdb0496d5491efb05f45597e535` (git)
  - affected: `89af25bd4b4bf6a71295f07e07a8ae7dc03c6595 to before 3726f75a1ccc16cd335c0ccfad1d92ee08ecba5e` (git)
  - affected: `8defb1d22ba0395b81feb963b96e252b097ba76f to before c6e1650cf5df1bd6638eeee231a683ef30c7d4eb` (git)
  - affected: `0efb15c14c493263cb3a5f65f5ddfd4603d19a76 to before eb1ea64328d4cc7d7a912c563f8523d5259716ef` (git)
  - affected: `c8d2f34ea96ea3bce6ba2535f867f0d4ee3b22e1 to before d52c04474feac8e305814a5228e622afe481b2ef` (git)
  - affected: `c8d2f34ea96ea3bce6ba2535f867f0d4ee3b22e1 to before 008ab3c53bc4f0b2f20013c8f6c204a3203d0b8b` (git)
  - affected: `4.19.313 to before 4.19.316` (semver)
  - affected: `5.4.275 to before 5.4.278` (semver)
  - affected: `5.10.216 to before 5.10.219` (semver)
  - and 4 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.9`
  - unaffected: `before 6.9` (semver)
  - unaffected: `4.19.316 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.278 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.219 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.161 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.93 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.33 to 6.6.*, inclusive` (semver)
  - unaffected: `6.8.12 to 6.8.*, inclusive` (semver)
  - unaffected: `6.9.3 to 6.9.*, inclusive` (semver)
  - unaffected: `6.10 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux) (used for this record)
- 5.3 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0079, the 57th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 19 Jun 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2024-38587](https://www.cve.org/CVERecord?id=CVE-2024-38587)
- [NVD: CVE-2024-38587](https://nvd.nist.gov/vuln/detail/CVE-2024-38587)

### References from the CNA

- <https://git.kernel.org/stable/c/42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358>
- <https://git.kernel.org/stable/c/cd7f3978c2ec741aedd1d860b2adb227314cf996>
- <https://git.kernel.org/stable/c/07ef95cc7a579731198c93beed281e3a79a0e586>
- <https://git.kernel.org/stable/c/504178fb7d9f6cdb0496d5491efb05f45597e535>
- <https://git.kernel.org/stable/c/3726f75a1ccc16cd335c0ccfad1d92ee08ecba5e>
- <https://git.kernel.org/stable/c/c6e1650cf5df1bd6638eeee231a683ef30c7d4eb>
- <https://git.kernel.org/stable/c/eb1ea64328d4cc7d7a912c563f8523d5259716ef>
- <https://git.kernel.org/stable/c/d52c04474feac8e305814a5228e622afe481b2ef>
- <https://git.kernel.org/stable/c/008ab3c53bc4f0b2f20013c8f6c204a3203d0b8b>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-38587>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-38587/>. Everything for agents: <https://agentprime.io/llms.txt>.
