CVE-2024-50197

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
08/11/2024
Last modified:
01/10/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> pinctrl: intel: platform: fix error path in device_for_each_child_node()<br /> <br /> The device_for_each_child_node() loop requires calls to<br /> fwnode_handle_put() upon early returns to decrement the refcount of<br /> the child node and avoid leaking memory if that error path is triggered.<br /> <br /> There is one early returns within that loop in<br /> intel_platform_pinctrl_prepare_community(), but fwnode_handle_put() is<br /> missing.<br /> <br /> Instead of adding the missing call, the scoped version of the loop can<br /> be used to simplify the code and avoid mistakes in the future if new<br /> early returns are added, as the child node is only used for parsing, and<br /> it is never assigned.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.8 (including) 6.11.5 (excluding)
cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:*