CVE-2026-23237

platform/x86: classmate-laptop: Add missing NULL pointer checks

MEDIUM
5.5
CVSS Score
Published: March 4, 2026 at 02:38 PM UTC
Updated: June 17, 2026 at 10:21 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.33 ≤ v < 5.10.2512.6.33 ≤ v < 5.15.2012.6.33 ≤ v < 6.1.1642.6.33 ≤ v < 6.12.742.6.33 ≤ v < 6.18.132.6.33 ≤ v < 6.192.6.33 ≤ v < 6.6.1272.6.33.1 ≤ v < 5.10.2515.11 ≤ v < 5.15.2015.16 ≤ v < 6.1.1646.13 ≤ v < 6.18.136.2 ≤ v < 6.6.1276.7 ≤ v < 6.12.742.6.332.6.33 rc22.6.33 rc32.6.33 rc42.6.33 rc52.6.33 rc62.6.33 rc72.6.33 rc8529aa8cb0a59367d08883f818e8c47028e819d0d6.19 rc16.19 rc26.19 rc36.19 rc46.19 rc56.19 rc66.19 rc76.19 rc8
Vendor states this is fixed in 97528b1622b8f129574d29a571c32a3c85eafa3c (fixed)
Vendor states this is fixed in 993708fc18d0d0919db438361b4e8c1f980a8d1b (fixed)
Vendor states this is fixed in 9cf4b9b8ad09d6e05307abc4e951cabdff4be652 (fixed)
Vendor states this is fixed in af673209d43b46257540997aba042b90ef3258c0 (fixed)
Vendor states this is fixed in da6e06a5fdbabea3870d18c227734b5dea5b3be6 (fixed)
Vendor states this is fixed in eb214804f03c829decf10998e9b7dd26f4c8ab9e (fixed)
Vendor states this is fixed in fe747d7112283f47169e9c16e751179a9b38611e (fixed)
Vendor states this is fixed in 2.6.33 (unaffected)
Vendor states this is fixed in 5.10.251 (unaffected)
Vendor states this is fixed in 5.15.201 (unaffected)
Vendor states this is fixed in 6.1.164 (unaffected)
Vendor states this is fixed in 6.12.74 (unaffected)
Vendor states this is fixed in 6.18.13 (unaffected)
Vendor states this is fixed in 6.19 (unaffected)
Vendor states this is fixed in 6.6.127 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card