Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2024-50012

cpufreq: Avoid a bad reference count on CPU node

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 8486a32dd484a7d7ec25295c7439094608f54915 to < 2b846344b15f933a56903b7cdba9080f06c725ffaffected
  • 8486a32dd484a7d7ec25295c7439094608f54915 to < 6c3d8387839252f1a0fc6367f314446e4a2ebd0baffected
  • 8486a32dd484a7d7ec25295c7439094608f54915 to < 0f41f383b5a61a2bf6429a449ebba7fb08179d81affected
  • 8486a32dd484a7d7ec25295c7439094608f54915 to < 77f88b17387a017416babf1e6488fa17682287e2affected
  • 8486a32dd484a7d7ec25295c7439094608f54915 to < 47cb1d9278f179df8250304ec41009e3e836a926affected
  • 8486a32dd484a7d7ec25295c7439094608f54915 to < c0f02536fffbbec71aced36d52a765f8c4493dc2affected

Linux Linux

Default version status: affected

  • 5.15affected
  • 0 to < 5.15unaffected
  • 5.15.209 to ≤ 5.15.*unaffected
  • 6.1.116 to ≤ 6.1.*unaffected
  • 6.6.55 to ≤ 6.6.*unaffected
  • 6.10.14 to ≤ 6.10.*unaffected
  • 6.11.3 to ≤ 6.11.*unaffected
  • 6.12 to ≤ *unaffected

References