CVEvulnerability

CVE-2024-38587

7.8 HIGH Published 2024-06-19 Modified 2026-10-15 Official page ↗
Status
Modified
Published
2024-06-19
Last modified
2026-10-15
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-129

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 configurations

• linux linux kernel (>= 4.19.313 < 4.19.316) • linux linux kernel (>= 5.4.275 < 5.4.278) • linux linux kernel (>= 5.10.216 < 5.10.219) • linux linux kernel (>= 5.15.157 < 5.15.161) • linux linux kernel (>= 6.1.88 < 6.1.93) • linux linux kernel (>= 6.6.29 < 6.6.33) • linux linux kernel (>= 6.8.8 < 6.8.12) • linux linux kernel (>= 6.9 < 6.9.3)

Related

Weakness · CWE (1)

  • CWE-129 Improper Validation of Array Index weakness

References