VYPR
Medium severity5.5NVD Advisory· Published Mar 4, 2026· Updated Jun 17, 2026

CVE-2026-23237

CVE-2026-23237

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

20
  • Linux/Kernel19 versions
    cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*+ 18 more
    • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=2.6.33.1,<5.10.251
    • cpe:2.3:o:linux:linux_kernel:2.6.33:-:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:2.6.33:rc2:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:2.6.33:rc3:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:2.6.33:rc4:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:2.6.33:rc5:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:2.6.33:rc6:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:2.6.33:rc7:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:2.6.33:rc8:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.19:rc1:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.19:rc2:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.19:rc3:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.19:rc4:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.19:rc5:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.19:rc6:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.19:rc7:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.19:rc8:*:*:*:*:*:*
    • (no CPE)
    • (no CPE)range: 2.6.33
  • osv-coords
    Range: >= 2.6.33, < 5.10.251

Patches

Vulnerability mechanics

References

7

News mentions

0

No linked articles in our index yet.

CVE-2026-23237 · Medium · VYPR