What’s Vulnerable › Vulnerabilities

CVE-2024-50178: cpufreq: loongson3: Use raw_smp_processor_id() in do_service_request()

Description

In the Linux kernel, the following vulnerability has been resolved: cpufreq: loongson3: Use raw_smp_processor_id() in do_service_request() Use raw_smp_processor_id() instead of plain smp_processor_id() in do_service_request(), otherwise we may get some errors with the driver enabled: BUG: using smp_processor_id() in preemptible [00000000] code: (udev-worker)/208 caller is loongson3_cpufreq_probe+0x5c/0x250 [loongson3_cpufreq]

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.11.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-50178 or the next vulnerability affects your stack