Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +3 more
A null pointer dereference vulnerability has been identified in the Linux kernel's CW2015 battery driver. The issue arises in the 'cw_bat_probe' function, which calls 'create_singlethread_workqueue' without checking the return value. If this function fails, it can lead to a null pointer dereference when the code attempts to access the workqueue flags. The vulnerability affects the Linux kernel stable tree.
Exploitation of this vulnerability leads to a null pointer dereference, causing a kernel crash.
The vulnerability can be reproduced by loading the CW2015 battery driver into the Linux kernel. The 'cw_bat_probe' function will be executed, where the 'create_singlethread_workqueue' call will fail, returning a NULL value. The subsequent attempt to queue delayed work will then access the NULL workqueue pointer, leading to a null pointer dereference.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.