CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

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]

Classification

CVE ID: CVE-2024-50178

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 11.64% (scored less or equal to compared to others)

EPSS Date: 2025-02-14 (when was this score calculated)

References

https://git.kernel.org/stable/c/2f78e4a6d2702ac03c2bf2ed3a0e344e1fa9f967
https://git.kernel.org/stable/c/2b7ec33e534f7a10033a5cf07794acf48b182bbe

Timeline