Kernel memory corruption via device-tree map double-free
Published Oct 29, 2024 · Updated May 11, 2026
Double-free in the Nuvoton MA35 pin-control driver in Linux 6.11 through 6.11.4 allows local users to corrupt kernel memory. ma35_pinctrl_dt_node_to_map_func() allocates new_map with device-managed memory, while pinconf_generic_dt_free_map() frees the same map before device teardown frees it again. Reachability is limited to systems using the Nuvoton MA35 pin controller and affected driver; the corruption can crash the kernel or enable code execution.
Summary
What happened
Double-free in the Nuvoton MA35 pin-control driver in Linux 6.11 through 6.11.4 allows local users to corrupt kernel memory. ma35_pinctrl_dt_node_to_map_func() allocates new_map with device-managed memory, while pinconf_generic_dt_free_map() frees the same map before device teardown frees it again. Reachability is limited to systems using the Nuvoton MA35 pin controller and affected driver; the corruption can crash the kernel or enable code execution.
The record
- CVE
- CVE-2024-50071
- Published
- Oct 29, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-415, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 29, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.11
- Affected versionversion=f805e356313bbcafef48808c14eb9ce7f4ff2560 <3fd976afe9743110f20a23f93b7ff9693f2be4bf
- Affected versionversion=f805e356313bbcafef48808c14eb9ce7f4ff2560 <6441d9c3d71b59c8fd27d4e381c7471a32ac1a68
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo