CVE-2026-90340
Last modified
CVE-2026-90340 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: pinctrl: generic: free maps on pinctrl_generic_to_map() failure pinctrl_generic_to_map() parses DT configuration and allocates pinctrl maps via pinctrl_utils_reserve_map(). If subsequent steps (such as pinctrl_utils_add_map_mux(), pinctrl_generic_add_group(), pinconf_generic_parse_dt_config(), or pinctrl_utils_add_map_configs()) return an error, *maps may contain partially allocated map entries. Returning the error directly without freeing *maps leaks the allocated mapping memory across all drivers that rely on pinctrl_generic_to_map(). Fix this by calling pinctrl_utils_free_map() and resetting *maps, *num_maps, and *num_reserved_maps in the error path of pinctrl_generic_to_map()..
Description
In the Linux kernel, the following vulnerability has been resolved: pinctrl: generic: free maps on pinctrl_generic_to_map() failure pinctrl_generic_to_map() parses DT configuration and allocates pinctrl maps via pinctrl_utils_reserve_map(). If subsequent steps (such as pinctrl_utils_add_map_mux(), pinctrl_generic_add_group(), pinconf_generic_parse_dt_config(), or pinctrl_utils_add_map_configs()) return an error, *maps may contain partially allocated map entries. Returning the error directly without freeing *maps leaks the allocated mapping memory across all drivers that rely on pinctrl_generic_to_map(). Fix this by calling pinctrl_utils_free_map() and resetting *maps, *num_maps, and *num_reserved_maps in the error path of pinctrl_generic_to_map().
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= aaaf31be04260316036f50a05b7d015c0d36b55a, < 09f47abc95ee9e819e7e93cd68c1c23abe11c842; >= aaaf31be04260316036f50a05b7d015c0d36b55a, < 17007cd700601777d9ee203a13d97e64ece3a10f |
| Linux | Linux | 7.2 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-90340?
How severe is CVE-2026-90340?
How do I fix CVE-2026-90340?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-90335In the Linux kernel, the following vulnerability has been re…
- CVE-2026-90336In the Linux kernel, the following vulnerability has been re…
- CVE-2026-90337In the Linux kernel, the following vulnerability has been re…
- CVE-2026-90338In the Linux kernel, the following vulnerability has been re…
- CVE-2026-90339In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9034Use After Free vulnerability in Arm Ltd Bifrost GPU Userspac…7.8
- CVE-2026-90341In the Linux kernel, the following vulnerability has been re…7.7
- CVE-2026-90342In the Linux kernel, the following vulnerability has been re…
- CVE-2026-90343In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-90344In the Linux kernel, the following vulnerability has been re…
- CVE-2026-90345In the Linux kernel, the following vulnerability has been re…
- CVE-2026-90346In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-90340?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
