7.5Hoch

CVE-2024-38573cppc_cpufreq: Fix possible null pointer dereference

Linux Linux; linux linux_kernel; linux acrn Veröffentlicht: (vor 2 Jahren)

Beschreibung

In the Linux kernel, the following vulnerability has been resolved: cppc_cpufreq: Fix possible null pointer dereference cppc_cpufreq_get_rate() and hisi_cppc_cpufreq_get_rate() can be called from different places with various parameters. So cpufreq_cpu_get() can return null as 'policy' in some circumstances. Fix this bug by adding null return check. Found by Linux Verification Center (linuxtesting.org) with SVACE.

Schwachstellentyp (CWE): CWE-476

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
linux acrn a28b2bfc099c – < cf7de25878a1
Linux Linux 5.11
linux linux_kernel a28b2bfc099c – < 9a185cc5a79b

Referenzen und Patches