What’s Vulnerable › Vulnerabilities

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

How to fix

Upgrade to a fixed version: Linux kernel 4.19.316, 5.10.219, 5.15.161, 5.4.278. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-38587 or the next vulnerability affects your stack