cpufreq: amd-pstate: add check for cpufreq_cpu_get's return value (Linux Linux)

CVE-2024-50009
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.23 % · percentile 14 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: cpufreq: amd-pstate: add check for cpufreq_cpu_get's return value cpufreq_cpu_get may return NULL. To avoid NULL-dereference check it and return in case of error. Found by Linux Verification Center (linuxtesting.org) with SVACE.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected ec437d71db77a181227bf6d0ac9d4a80e58ecf0f < 93f404a55ff06fb0978dfdc786139b8af4a531a8 ; affected ec437d71db77a181227bf6d0ac9d4a80e58ecf0f < cd9f7bf6cad8b2d3876105ce3c9fc63460a046f6 ; affected ec437d71db77a181227bf6d0ac9d4a80e58ecf0f < 5f250d44b8191d612355dd97b89b37bbc1b5d2cb ; affected ec437d71db77a181227bf6d0ac9d4a80e58ecf0f < 5493f9714e4cdaf0ee7cec15899a231400cb1a9f
Linux · Linuxaffected 5.17 ; unaffected 0 < 5.17 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.75 ≤ 6.6.* ; unaffected 6.11.3 ≤ 6.11.* ; unaffected 6.12 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD