CVE-2024-46859

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-46859
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46859.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-46859
Downstream
Related
Published
2024-09-27T12:42:49.801Z
Modified
2025-11-27T19:35:05.494515Z
Summary
platform/x86: panasonic-laptop: Fix SINF array out of bounds accesses
Details

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 - SINFCURBRIGHT(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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/ee626f5d79d5817bb21d6f048dc0da4c4e383443/cves/2024/46xxx/CVE-2024-46859.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6
Fixed
b7c2f692307fe704be87ea80d7328782b33c3cef
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6
Fixed
9291fadbd2720a869b1d2fcf82305648e2e62a16
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6
Fixed
6821a82616f60aa72c5909b3e252ad97fb9f7e2a
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6
Fixed
b38c19783286a71693c2194ed1b36665168c09c4
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6
Fixed
f52e98d16e9bd7dd2b3aef8e38db5cbc9899d6a4

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.3.0
Fixed
5.15.168
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.111
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.52
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.10.11