Vulnerabilities

CVE-2024-38587

High 7.8 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2024-06-19
Last modified
2026-10-15
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Probability of exploitation
1.1 % higher than 63 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Linux Linux Kernel ≥ 4.19.313, < 4.19.316 Affected
Linux Linux Kernel ≥ 5.10.216, < 5.10.219 Affected
Linux Linux Kernel ≥ 5.15.157, < 5.15.161 Affected
Linux Linux Kernel ≥ 5.4.275, < 5.4.278 Affected
Linux Linux Kernel ≥ 6.1.88, < 6.1.93 Affected
Linux Linux Kernel ≥ 6.6.29, < 6.6.33 Affected
Linux Linux Kernel ≥ 6.8.8, < 6.8.12 Affected
Linux Linux Kernel ≥ 6.9, < 6.9.3 Affected

Weakness type

  • CWE-129: Improper Validation of Array Index

    The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array.

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities