CVE-2026-23237 Details
Description
In the Linux kernel, the following vulnerability has been resolved: platform/x86: classmate-laptop: Add missing NULL pointer checks In a few places in the Classmate laptop driver, code using the accel object may run before that object's address is stored in the driver data of the input device using it. For example, cmpc_accel_sensitivity_store_v4() is the "show" method of cmpc_accel_sensitivity_attr_v4 which is added in cmpc_accel_add_v4(), before calling dev_set_drvdata() for inputdev->dev. If the sysfs attribute is accessed prematurely, the dev_get_drvdata(&inputdev->dev) call in in cmpc_accel_sensitivity_store_v4() returns NULL which leads to a NULL pointer dereference going forward. Moreover, sysfs attributes using the input device are added before initializing that device by cmpc_add_acpi_notify_device() and if one of them is accessed before running that function, a NULL pointer dereference will occur. For example, cmpc_accel_sensitivity_attr_v4 is added before calling cmpc_add_acpi_notify_device() and if it is read prematurely, the dev_get_drvdata(&acpi->dev) call in cmpc_accel_sensitivity_show_v4() returns NULL which leads to a NULL pointer dereference going forward. Fix this by adding NULL pointer checks in all of the relevant places.
A vulnerability in the Classmate laptop driver of the Linux kernel can lead to a NULL pointer dereference. This issue arises because the driver may access the 'accel' object before its address is properly stored in the input device's driver data. For instance, the 'cmpc_accel_sensitivity_store_v4()' function, which is the 'show' method for a specific sysfs attribute, can be called before the input device is fully initialized. If this attribute is accessed too early, it results in a NULL pointer dereference. The vulnerability affects several versions of the Linux kernel.
Users can update to the latest version of the Linux kernel where this vulnerability has been addressed. Instructions for updating the kernel can be found in the official Linux kernel documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/97528b1622b8f129574d29a571c32a3c85eafa3c | kernel.org | Patch |
| https://git.kernel.org/stable/c/993708fc18d0d0919db438361b4e8c1f980a8d1b | kernel.org | Patch |
| https://git.kernel.org/stable/c/9cf4b9b8ad09d6e05307abc4e951cabdff4be652 | kernel.org | Patch |
| https://git.kernel.org/stable/c/af673209d43b46257540997aba042b90ef3258c0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/da6e06a5fdbabea3870d18c227734b5dea5b3be6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/eb214804f03c829decf10998e9b7dd26f4c8ab9e | kernel.org | Patch |
| https://git.kernel.org/stable/c/fe747d7112283f47169e9c16e751179a9b38611e | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 2.6.33.1, < 5.10.251 >= 5.11, < 5.15.201 >= 5.16, < 6.1.164 >= 6.2, < 6.6.127 >= 6.7, < 6.12.74 >= 6.13, < 6.18.13 2.6.33 - 2.6.33 rc2 2.6.33 rc3 2.6.33 rc4 2.6.33 rc5 2.6.33 rc6 2.6.33 rc7 2.6.33 rc8 6.19 rc1 6.19 rc2 6.19 rc3 6.19 rc4 6.19 rc5 6.19 rc6 6.19 rc7 6.19 rc8 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Mar 17, 2026 | Initial Analysis | [email protected] |
| Mar 4, 2026 | New CVE Received | kernel.org |