cpufreq: Avoid a bad reference count on CPU node (Linux Linux)

CVE-2024-50012
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: Avoid a bad reference count on CPU node In the parse_perf_domain function, if the call to of_parse_phandle_with_args returns an error, then the reference to the CPU device node that was acquired at the start of the function would not be properly decremented. Address this by declaring the variable with the __free(device_node) cleanup attribute.

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 8486a32dd484a7d7ec25295c7439094608f54915 < 2b846344b15f933a56903b7cdba9080f06c725ff ; affected 8486a32dd484a7d7ec25295c7439094608f54915 < 6c3d8387839252f1a0fc6367f314446e4a2ebd0b ; affected 8486a32dd484a7d7ec25295c7439094608f54915 < 0f41f383b5a61a2bf6429a449ebba7fb08179d81 ; affected 8486a32dd484a7d7ec25295c7439094608f54915 < 77f88b17387a017416babf1e6488fa17682287e2 ; affected 8486a32dd484a7d7ec25295c7439094608f54915 < 47cb1d9278f179df8250304ec41009e3e836a926 ; affected 8486a32dd484a7d7ec25295c7439094608f54915 < c0f02536fffbbec71aced36d52a765f8c4493dc2
Linux · Linuxaffected 5.15 ; unaffected 0 < 5.15 ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.116 ≤ 6.1.* ; unaffected 6.6.55 ≤ 6.6.* ; unaffected 6.10.14 ≤ 6.10.*

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