CVE-2024-50071
pinctrl: nuvoton: fix a double free in ma35_pinctrl_dt_node_to_map_func()
Mitigation
- Upgrade Linux to 3fd976afe9743110f20a23f93b7ff9693f2be4bf or later.
Who should check
- Anyone running Linux >= f805e356313bbcafef48808c14eb9ce7f4ff2560, < 6441d9c3d71b59c8fd27d4e381c7471a32ac1a68; >= f805e356313bbcafef48808c14eb9ce7f4ff2560, < 3fd976afe9743110f20a23f93b7ff9693f2be4bf
- Anyone running Linux 6.11
Vulnerability facts
- Affected
- Linux >= f805e356313bbcafef48808c14eb9ce7f4ff2560, < 6441d9c3d71b59c8fd27d4e381c7471a32ac1a68; >= f805e356313bbcafef48808c14eb9ce7f4ff2560, < 3fd976afe9743110f20a23f93b7ff9693f2be4bf; Linux 6.11
- Fixed in
- Linux 6441d9c3d71b59c8fd27d4e381c7471a32ac1a68, Linux 3fd976afe9743110f20a23f93b7ff9693f2be4bf
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- CWE
- CWE-415
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: pinctrl: nuvoton: fix a double free in ma35_pinctrl_dt_node_to_map_func() 'new_map' is allocated using devm_* which takes care of freeing the allocated data on device removal, call to .dt_free_map = pinconf_generic_dt_free_map double frees the map as pinconf_generic_dt_free_map() calls pinctrl_utils_free_map(). Fix this by using kcalloc() instead of auto-managed devm_kcalloc().
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-50071. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-50071.md Affected: Linux >= f805e356313bbcafef48808c14eb9ce7f4ff2560, < 6441d9c3d71b59c8fd27d4e381c7471a32ac1a68; >= f805e356313bbcafef48808c14eb9ce7f4ff2560, < 3fd976afe9743110f20a23f93b7ff9693f2be4bf; Linux 6.11 Fixed in: Linux 6441d9c3d71b59c8fd27d4e381c7471a32ac1a68, Linux 3fd976afe9743110f20a23f93b7ff9693f2be4bf Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2024-50071 being exploited?
There is no confirmed exploitation: CVE-2024-50071 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-50071?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-50071?
Linux >= f805e356313bbcafef48808c14eb9ce7f4ff2560, < 6441d9c3d71b59c8fd27d4e381c7471a32ac1a68; >= f805e356313bbcafef48808c14eb9ce7f4ff2560, < 3fd976afe9743110f20a23f93b7ff9693f2be4bf; Linux 6.11.
Is there a fix for CVE-2024-50071?
Yes. Fixed in Linux 6441d9c3d71b59c8fd27d4e381c7471a32ac1a68, Linux 3fd976afe9743110f20a23f93b7ff9693f2be4bf. Upgrade Linux to 3fd976afe9743110f20a23f93b7ff9693f2be4bf or later.
How do I check if I'm affected by CVE-2024-50071?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.