CVEvulnerability

CVE-2024-46859

7.8 HIGH Published 2024-09-27 Modified 2026-08-04 Official page ↗
Status
Modified
Published
2024-09-27
Last modified
2026-08-04
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 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-129

Description

In the Linux kernel, the following vulnerability has been resolved: platform/x86: panasonic-laptop: Fix SINF array out of bounds accesses The panasonic laptop code in various places uses the SINF array with index values of 0 - SINF_CUR_BRIGHT(0x0d) without checking that the SINF array is big enough. Not all panasonic laptops have this many SINF array entries, for example the Toughbook CF-18 model only has 10 SINF array entries. So it only supports the AC+DC brightness entries and mute. Check that the SINF array has a minimum size which covers all AC+DC brightness entries and refuse to load if the SINF array is smaller. For higher SINF indexes hide the sysfs attributes when the SINF array does not contain an entry for that attribute, avoiding show()/store() accessing the array out of bounds and add bounds checking to the probe() and resume() code accessing these.

Affected configurations

• debian debian linux 11.0 • linux linux kernel (>= 3.3 < 5.15.168) • linux linux kernel (>= 5.16 < 6.1.111) • linux linux kernel (>= 6.2 < 6.6.52) • linux linux kernel (>= 6.7 < 6.10.11) • linux linux kernel 6.11

Related

Weakness · CWE (1)

  • CWE-129 Improper Validation of Array Index weakness

References