VDB

CVE-2026-23237

CVE-2026-23237 PUBLISHED

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

Reported by linux · Published March 4, 2026

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 products

VendorProductVersions
LinuxLinux529aa8cb0a59367d08883f818e8c47028e819d0d, 529aa8cb0a59367d08883f818e8c47028e819d0d, 529aa8cb0a59367d08883f818e8c47028e819d0d
LinuxLinux2.6.33, 0, 5.10.251
linuxlinux_kernel2.6.33, 2.6.33, 2.6.33
LinuxLinux529aa8cb0a59367d08883f818e8c47028e819d0d, 529aa8cb0a59367d08883f818e8c47028e819d0d, 529aa8cb0a59367d08883f818e8c47028e819d0d

Timeline

  • Mar 4, 2026 CVE Published
  • Mar 5, 2026 EPSS Score (30 in total, the first dated here)
  • Mar 22, 2026 Coalition ESS Score (3 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (59 in total, the first dated here)
  • Aug 2, 2026 CVE Updated
  • Aug 11, 2026 Distribution Patch (55 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-23237
vulnetix vdb fixes CVE-2026-23237

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-23237/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›