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 />
&#39;new_map&#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().
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
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:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



