A vulnerability in the Linux kernel has been resolved, related to the hwmon coretemp module. The issue occurs when coretemp add core() encounters an error, causing pdata->core data[indx] to be NULL and kfreed. Passing this NULL value to sysfs remove group() results in a crash. This can lead to a kernel NULL pointer dereference, as seen in the error log with a BUG message and a call trace involving sysfs remove group() and coretemp cpu offline(). The estimated number of potentially affected devices worldwide is not available.