CVE-2024-38587Published Jun 19, 2024 · Jun 19Updated 2d ago
speakup: Fix sizeof() vs ARRAY_SIZE() bug
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 8defb1d22ba0395b81feb963b96e252b097ba76f · < c6e1650cf5df1bd6638eeee231a683ef30c7d4eb| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's speakup component uses sizeof() where it should use ARRAY_SIZE() for a u16 buffer, allowing an out-of-bounds access. The input does not specify how an attacker could trigger it or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check their installations; affected versions are not specified.