CVE-2026-23237
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of service disruption.
- Exploit odds
- 0.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.2% in the next 30 days (EPSS).
- Severity: 5.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.2% · EPSS, next 30 days
- Weakness
- CWE-476 · NULL pointer dereference
- Record status
- Analyzed
Affected
- Linux Kernel < 5.10.251
- Linux Kernel < 5.15.201
- Linux Kernel < 6.1.164
- Linux Kernel < 6.6.127
- Linux Kernel < 6.12.74
- Linux Kernel < 6.18.13
- Linux Kernel 2.6.33
- Linux Kernel 6.19
Attack profile CVSS 3.1 · 5.5
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2026-23237.md and follow it. Check whether this project is affected by CVE-2026-23237. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://git.kernel.org/stable/c/97528b1622b8f129574d29a571c32a3c85eafa3c
- https://git.kernel.org/stable/c/993708fc18d0d0919db438361b4e8c1f980a8d1b
- https://git.kernel.org/stable/c/9cf4b9b8ad09d6e05307abc4e951cabdff4be652
- https://git.kernel.org/stable/c/af673209d43b46257540997aba042b90ef3258c0
- https://git.kernel.org/stable/c/da6e06a5fdbabea3870d18c227734b5dea5b3be6
- https://git.kernel.org/stable/c/eb214804f03c829decf10998e9b7dd26f4c8ab9e
- https://git.kernel.org/stable/c/fe747d7112283f47169e9c16e751179a9b38611e
References
- https://git.kernel.org/stable/c/97528b1622b8f129574d29a571c32a3c85eafa3c
- https://git.kernel.org/stable/c/993708fc18d0d0919db438361b4e8c1f980a8d1b
- https://git.kernel.org/stable/c/9cf4b9b8ad09d6e05307abc4e951cabdff4be652
- https://git.kernel.org/stable/c/af673209d43b46257540997aba042b90ef3258c0
- https://git.kernel.org/stable/c/da6e06a5fdbabea3870d18c227734b5dea5b3be6
- https://git.kernel.org/stable/c/eb214804f03c829decf10998e9b7dd26f4c8ab9e
- https://git.kernel.org/stable/c/fe747d7112283f47169e9c16e751179a9b38611e