CVE-2024-50071: pinctrl: nuvoton: fix a double free in ma35_pinctrl_dt_node_to_map_func()
In the Linux kernel, the following vulnerability has been resolved:
pinctrl: nuvoton: fix a double free in ma35pinctrldtnodetomapfunc()
'newmap' is allocated using devm which takes care of freeing the allocated data on device removal, call to
.dtfreemap = pinconfgenericdtfreemap
double frees the map as pinconfgenericdtfreemap() calls pinctrlutilsfreemap().
Fix this by using kcalloc() instead of auto-managed devmkcalloc().
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-50071?
CVE-2024-50071 has not been assigned a specific severity rating, but it involves a double free vulnerability in the Linux kernel.
How do I fix CVE-2024-50071?
To fix CVE-2024-50071, ensure you update to a patched version of the Linux kernel that addresses this vulnerability.
Which versions of the Linux kernel are affected by CVE-2024-50071?
CVE-2024-50071 affects Linux kernel versions from 6.11 to 6.12-rc3 inclusive.
Can CVE-2024-50071 lead to remote code execution?
CVE-2024-50071 is related to a double free issue, which could potentially lead to undefined behavior, but remote code execution is not explicitly indicated.
What should I do if I cannot immediately update my Linux kernel for CVE-2024-50071?
If you cannot update immediately, consider implementing temporary workarounds or configurations to mitigate the risk associated with CVE-2024-50071.