CVE-2024-46859 platform/x86: panasonic-laptop: Fix SINF array out of bounds accesses
A missing bounds check in the Panasonic laptop kernel driver allows out-of-bounds array access, potentially causing a system crash or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-46859?
CVE-2024-46859 is a high-severity vulnerability in Debian Debian Linux, published on 27 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-129
Which versions are affected by CVE-2024-46859?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2024-46859?
Apply the vendor's patch.
Is CVE-2024-46859 being exploited?
There is no known exploitation of CVE-2024-46859 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-49884, AZL-49890, BELL-CVE-2024-46859, DEBIAN-CVE-2024-46859, GHSA-r56c-c546-6wvj, ROOT-OS-DEBIAN-11-CVE-2024-46859 and 1 more.