{"id":"CVE-2025-37831","summary":"cpufreq: apple-soc: Fix null-ptr-deref in apple_soc_cpufreq_get_rate()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncpufreq: apple-soc: Fix null-ptr-deref in apple_soc_cpufreq_get_rate()\n\ncpufreq_cpu_get_raw() can return NULL when the target CPU is not present\nin the policy-\u003ecpus mask. apple_soc_cpufreq_get_rate() does not check\nfor this case, which results in a NULL pointer dereference.","modified":"2026-04-16T04:33:37.803612210Z","published":"2025-05-08T06:26:22.328Z","related":["SUSE-SU-2025:01919-1","SUSE-SU-2025:01951-1","SUSE-SU-2025:01964-1","SUSE-SU-2025:01965-1","SUSE-SU-2025:01967-1","SUSE-SU-2025:01972-1","SUSE-SU-2025:02000-1","SUSE-SU-2025:20408-1","SUSE-SU-2025:20413-1","SUSE-SU-2025:20419-1","SUSE-SU-2025:20421-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37831.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/01e86ea22610d98ae6141e428019a6916e79f725"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1053dcf8a504d4933bb3f73df22bc363298d194b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9992649f6786921873a9b89dafa5e04d8c5fef2b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fbdba5f37413dbc09d82ad7235e5b7a2fb8e0f75"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37831.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37831"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6286bbb40576ffadfde206c332b61345c19af57f"},{"fixed":"1053dcf8a504d4933bb3f73df22bc363298d194b"},{"fixed":"fbdba5f37413dbc09d82ad7235e5b7a2fb8e0f75"},{"fixed":"01e86ea22610d98ae6141e428019a6916e79f725"},{"fixed":"9992649f6786921873a9b89dafa5e04d8c5fef2b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37831.json"}}],"schema_version":"1.7.5"}