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

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2024-11-08T05:24:00.205Z
- Modified: 2026-06-17T08:03:47.897Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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]

(As written by CVE List.)

## Affected

- Linux Linux: from ccf51454145bffd98e31cdbe54a4262473c609e2 before 2f78e4a6d2702ac03c2bf2ed3a0e344e1fa9f967; from ccf51454145bffd98e31cdbe54a4262473c609e2 before 2b7ec33e534f7a10033a5cf07794acf48b182bbe; 6.11 (not affected: before 6.11; from 6.11.3 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: before 6.11.3

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/2f78e4a6d2702ac03c2bf2ed3a0e344e1fa9f967> (patch)
- <https://git.kernel.org/stable/c/2b7ec33e534f7a10033a5cf07794acf48b182bbe> (patch)

## Sources

- CVE List: [CVE-2024-50178](https://www.cve.org/CVERecord?id=CVE-2024-50178), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-50178](https://nvd.nist.gov/vuln/detail/CVE-2024-50178), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-50178 · Whole record: https://cve.day/CVE-2024-50178.json · Rebuilt by cve.day 2026-11-25T22:58:47.901Z
