CVE-2024-50071

Severity CVSS v4.0:
Pending analysis
Type:
CWE-415 Double Free
Publication date:
29/10/2024
Last modified:
01/10/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> pinctrl: nuvoton: fix a double free in ma35_pinctrl_dt_node_to_map_func()<br /> <br /> &amp;#39;new_map&amp;#39; is allocated using devm_* which takes care of freeing the<br /> allocated data on device removal, call to<br /> <br /> .dt_free_map = pinconf_generic_dt_free_map<br /> <br /> double frees the map as pinconf_generic_dt_free_map() calls<br /> pinctrl_utils_free_map().<br /> <br /> Fix this by using kcalloc() instead of auto-managed devm_kcalloc().

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.11 (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:*:*:*:*:*:*