CVE-2024-46859

platform/x86: panasonic-laptop: Fix SINF array out of bounds accesses

State
Published
Severity
7.8 High
Published
Sep 27, 2024
Updated
Aug 5, 2026
Reserved
Sep 11, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6 to before b7c2f692307fe704be87ea80d7328782b33c3cefAffected
  • e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6 to before 9291fadbd2720a869b1d2fcf82305648e2e62a16Affected
  • e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6 to before 6821a82616f60aa72c5909b3e252ad97fb9f7e2aAffected
  • e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6 to before b38c19783286a71693c2194ed1b36665168c09c4Affected
  • e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6 to before f52e98d16e9bd7dd2b3aef8e38db5cbc9899d6a4Affected
LinuxLinux
  • 3.3Affected
  • before 3.3Not affected
  • 5.15.168 through 5.15.*Not affected
  • 6.1.111 through 6.1.*Not affected
  • 6.6.52 through 6.6.*Not affected
  • 6.10.11 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.