CVE Catalog

CVE-2024-38587

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
1.14%

63th percentile - higher than 63% of all known CVEs

Summary

In the Linux kernel, the speakup module has a bug where sizeof() is used instead of ARRAY_SIZE() for the buf pointer, which is an array of u16 values. This can lead to out-of-bounds access, potentially causing malfunction or security issues.

Risk Assessment

The bug can lead to out-of-bounds memory access, potentially causing system crashes or privilege escalation.

Recommendation

Update the Linux kernel to a version that includes the fix using ARRAY_SIZE() instead of sizeof().

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS