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

Medium 5.5 Published Updated

A missing NULL pointer check in the Linux kernel Classmate laptop driver allows local attackers to cause a system crash by accessing sysfs attributes prematurely.

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-2026-23237?

CVE-2026-23237 is a medium-severity vulnerability in Linux kernel, published on 4 Mar 2026. 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: 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.

Weakness: CWE-476

Which versions are affected by CVE-2026-23237?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-23237?

Apply the vendor's patch.

Is CVE-2026-23237 being exploited?

There is no known exploitation of CVE-2026-23237 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2026-23237, DEBIAN-CVE-2026-23237, GHSA-9438-9qfw-m4v5, ROOT-OS-DEBIAN-11-CVE-2026-23237, ROOT-OS-DEBIAN-12-CVE-2026-23237, ROOT-OS-DEBIAN-13-CVE-2026-23237 and 3 more.

Is CVE-2026-23237 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free