Linux · Linux Kernel · CVE-2024-50178
Name of the Vulnerable Software and Affected Versions:
Linux kernel (affected versions not specified)
Description:
The issue concerns the use of `smp processor id()` in preemptible code, which can lead to errors when the driver is enabled. The problem arises from the `loongson3 cpufreq probe()` function calling `do service request()`, where `smp processor id()` is used. This can cause bugs, as indicated by the error message "using `smp processor id()` in preemptible [00000000] code." The solution involves using `raw smp processor id()` instead of `smp processor id()` in `do service request()` to prevent these errors.
Recommendations:
At the moment, there is no information about a newer version that contains a fix for this vulnerability.