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

Published Sep 27, 2024
·
Updated

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.

Affected Software

20 affected componentsFixes available
Linux Linux kernel>=3.3<6.1.111
Linux Linux kernel>=6.2<6.6.52
Linux Linux kernel>=6.7<6.10.11
Linux Linux kernel=6.11-rc1
Linux Linux kernel=6.11-rc2
Linux Linux kernel=6.11-rc3
Linux Linux kernel=6.11-rc4
Linux Linux kernel=6.11-rc5
Linux Linux kernel=6.11-rc6
Linux Linux kernel=6.11-rc7
debian/linux<=5.10.223-1, <=5.10.234-1
6.1.129-16.1.135-16.12.25-1
debian/linux-6.1
6.1.129-1~deb11u1
Debian Debian Linux=11.0
Linux Linux kernel>=3.3<5.15.168
Linux Linux kernel>=5.16<6.1.111
Microsoft cbl2 kernel 5.15.180.1-1
Microsoft azl3 kernel 6.6.56.1-5<6.6.56.1-5
6.6.56.1-5
Microsoft azl3 kernel 6.6.51.1-5<6.6.56.1-5
6.6.56.1-5
Microsoft cbl2 kernel 5.15.176.3-1<5.15.176.3-1
5.15.176.3-1
Microsoft cbl2 kernel 5.15.180.1-1<5.15.176.3-1
5.15.176.3-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1
  2. Upgrade

    Upgrade debian/linux-6.1 to a version that resolves this vulnerability.

    Fixed in 6.1.129-1~deb11u1
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.56.1-5
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 5.15.176.3-1
  5. Upgrade

    Upgrade Linux kernel platform/x86: panasonic-laptop to a version that resolves this vulnerability.

    Patch platform/x86: panasonic-laptop: Fix SINF array out of bounds accesses
  6. Configuration

    In the panasonic-laptop driver, check that the SINF array minimum size covers all AC+DC brightness entries and mute; refuse to load if the SINF array is smaller.

    Linux kernel platform/x86: panasonic-laptop SINF array bounds (SINF_CUR_BRIGHT(0x0d) coverage) = Refuse to load if SINF array is smaller than the minimum size that covers all AC+DC brightness entries and mute
  7. Configuration

    When SINF indexes are higher than what exists in the SINF array, hide the corresponding sysfs attributes to avoid show()/store() accessing the array out of bounds.

    Linux kernel platform/x86: panasonic-laptop sysfs attributes exposure for SINF indexes beyond array contents = Hide sysfs attributes for higher SINF indexes when the SINF array does not contain an entry for that attribute
  8. Configuration

    Add bounds checking to the panasonic-laptop probe() and resume() code paths to prevent out-of-bounds SINF array accesses.

    Linux kernel platform/x86: panasonic-laptop bounds checking in probe() and resume() = Add bounds checking before accessing SINF array entries

Event History

Sep 27, 2024
CVE Published
via MITRE·12:42 PM
Data Sourced
via MITRE·12:42 PM
DescriptionSeverity
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 9, 2024
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:00 AM
SeverityAffected Software
Updated
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
DescriptionSeverity
May 5, 2025
Data Sourced
via Ubuntu·09:18 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-46859?

CVE-2024-46859 is classified as a moderate severity vulnerability affecting the Linux kernel.

2

How do I fix CVE-2024-46859?

To fix CVE-2024-46859, update to the recommended versions of the Linux kernel as specified in the documentation.

3

Which versions of the Linux kernel are affected by CVE-2024-46859?

CVE-2024-46859 affects various versions of the Linux kernel between 3.3 and 6.11-rc7.

4

What is the nature of the vulnerability in CVE-2024-46859?

CVE-2024-46859 relates to out of bounds accesses in the SINF array used in the Panasonic laptop code within the Linux kernel.

5

Is there a specific version of the Linux kernel that resolves CVE-2024-46859?

Yes, updating to specific remedied versions like 6.1.123-1 or 6.12.11-1 will resolve CVE-2024-46859.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203