Bug 2365026 (CVE-2025-37831) - CVE-2025-37831 kernel: cpufreq: apple-soc: Fix null-ptr-deref in apple_soc_cpufreq_get_rate()
Summary: CVE-2025-37831 kernel: cpufreq: apple-soc: Fix null-ptr-deref in apple_soc_cp...
Keywords:
Status: NEW
Alias: CVE-2025-37831
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-08 07:02 UTC by OSIDB Bzimport
Modified: 2025-05-08 11:04 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-08 07:02:15 UTC
In the Linux kernel, the following vulnerability has been resolved:

cpufreq: apple-soc: Fix null-ptr-deref in apple_soc_cpufreq_get_rate()

cpufreq_cpu_get_raw() can return NULL when the target CPU is not present
in the policy->cpus mask. apple_soc_cpufreq_get_rate() does not check
for this case, which results in a NULL pointer dereference.

Comment 1 Avinash Hanwate 2025-05-08 10:58:14 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025050824-CVE-2025-37831-af34@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.