CVE-2024-38587

HighCVSS 7.8/10Last modified Oct 15, 2026

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.

Metrics

CVSS 3.1 7.8/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= 756c5cb7c09e537b87b5d3acafcb101b2ccf394f, < 42f0a3f67158ed6b2908d2b9ffbf7e96d23fd358; >= 8f6b62125befe1675446923e4171eac2c012959c, < cd7f3978c2ec741aedd1d860b2adb227314cf996; >= 6401038acfa24cba9c28cce410b7505efadd0222, < 07ef95cc7a579731198c93beed281e3a79a0e586; >= 0d130158db29f5e0b3893154908cf618896450a8, < 504178fb7d9f6cdb0496d5491efb05f45597e535; >= 89af25bd4b4bf6a71295f07e07a8ae7dc03c6595, < 3726f75a1ccc16cd335c0ccfad1d92ee08ecba5e; >= 8defb1d22ba0395b81feb963b96e252b097ba76f, < c6e1650cf5df1bd6638eeee231a683ef30c7d4eb; >= 0efb15c14c493263cb3a5f65f5ddfd4603d19a76, < eb1ea64328d4cc7d7a912c563f8523d5259716ef; >= c8d2f34ea96ea3bce6ba2535f867f0d4ee3b22e1, < d52c04474feac8e305814a5228e622afe481b2ef; >= c8d2f34ea96ea3bce6ba2535f867f0d4ee3b22e1, < 008ab3c53bc4f0b2f20013c8f6c204a3203d0b8b; >= 4.19.313, < 4.19.316; >= 5.4.275, < 5.4.278; >= 5.10.216, < 5.10.219; >= 5.15.157, < 5.15.161; >= 6.1.88, < 6.1.93; >= 6.6.29, < 6.6.33; >= 6.8.8, < 6.8.12
LinuxLinux6.9
SiemensRUGGEDCOM RST2428P< V3.1
SiemensSCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family—
SiemensSCALANCE XCM-/XRM-/XCH-/XRH-300 family< V3.1
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem< V1.1.1

References

Timeline

Published
Jun 19, 2024
Last modified
Oct 15, 2026
NVD status
Modified

Related CVEs from 2024

CVE-2024-385887.8In the Linux kernel, the following vulnerability has been resolved: ftrace: Fix possible use-after-free issue in ftrace_location() KASAN rCVE-2024-385895.5In the Linux kernel, the following vulnerability has been resolved: netrom: fix possible dead-lock in nr_rt_ioctl() syzbot loves netrom, aCVE-2024-38595.9On 32-bit versions there were integer-overflows that led to an out-of-bounds-read that potentially could be triggered by a malformed OpenTypCVE-2024-385905.5In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Modify the print level of CQE error Too much print may lead CVE-2024-385915.5In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Fix deadlock on SRQ async events. xa_lock for SRQ table may CVE-2024-385925.5In the Linux kernel, the following vulnerability has been resolved: drm/mediatek: Init `ddp_comp` with devm_kcalloc() In the case where `cCVE-2024-385935.5In the Linux kernel, the following vulnerability has been resolved: net: micrel: Fix receiving the timestamp in the frame for lan8841 The CVE-2024-385945.5In the Linux kernel, the following vulnerability has been resolved: net: stmmac: move the EST lock to struct stmmac_priv Reinitialize the CVE-2024-385955.5In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Fix peer devlink set for SF representor devlink port The citCVE-2024-385964.7In the Linux kernel, the following vulnerability has been resolved: af_unix: Fix data races in unix_release_sock/unix_stream_sendmsg A datCVE-2024-385975.5In the Linux kernel, the following vulnerability has been resolved: eth: sungem: remove .ndo_poll_controller to avoid deadlocks Erhard repCVE-2024-385985.5In the Linux kernel, the following vulnerability has been resolved: md: fix resync softlockup when bitmap size is less than array size Is
CVE-2024-38587: High severity, CVSS 7.8 | Vulnix