CVE-2025-37830 cpufreq: scmi: Fix null-ptr-deref in scmi_cpufreq_get_rate()
설명
In the Linux kernel, the following vulnerability has been resolved: cpufreq: scmi: Fix null-ptr-deref in scmi_cpufreq_get_rate() cpufreq_cpu_get_raw() can return NULL when the target CPU is not present in the policy->cpus mask. scmi_cpufreq_get_rate() does not check for this case, which results in a NULL pointer dereference. Add NULL check after cpufreq_cpu_get_raw() to prevent this issue.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 4.17
해결 버전
- 4.17 미만
- 5.10.248 이상
- 5.15.181 이상
- 6.1.136 이상
- 6.6.89 이상
- 6.12.26 이상
- 6.14.5 이상
참고 자료 7건
- git.kernel.org https://git.kernel.org/stable/c/484d3f15cc6cbaa52541d6259778e715b2c83c54 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/4e3d1c1925d8e752992cd893d03d974e6807ac16 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/7ccfadfb2562337b4f0462a86a9746a6eea89718 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/bd1dcfba72aac4159c1d5e17cd861e702e6c19ac (새 창)
- git.kernel.org https://git.kernel.org/stable/c/cfaca93b8fe317b7faa9af732e0ba8c9081fa018 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/ea834c90aa7cc80a1b456f7a91432734d5087d16 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/f9c5423855e3687262d881aeee5cfb3bc8577bff (새 창)