CVE-2024-46859CWE-129

CVE-2024-46859

High · published September 27, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
11.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00217 · 11.5th percentile
Weakness
CWE-129 · Improper Validation of Array Index
Published
2024-09-27T17:15Z
Affected products (12)
ProductVersionsFixed in
debian/debian_linuxall versions—
linux/linux_kernel≥ 3.3, < 5.15.1685.15.168
linux/linux_kernel≥ 5.16, < 6.1.1116.1.111
linux/linux_kernel≥ 6.2, < 6.6.526.6.52
linux/linux_kernel≥ 6.7, < 6.10.116.10.11
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (6)
EPSS history
Timeline
  • 27 SEP 12:42Z
    platform/x86: panasonic-laptop: Fix SINF array out of bounds accesses
    cvelistv5