CVE-2026-139561

Not scored yetLast modified Nov 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

pinctrl: pinctrl-generic-mux: Fix provider resource leak on re-parse

The pinctrl core re-parses a consumer's pinctrl on every probe attempt (pinctrl_bind_pins() runs before the driver's probe(), and again on each deferred-probe retry or re-bind), so .dt_node_to_map() must be side-effect free and safe to call repeatedly.

mux_pinmux_dt_node_to_map() instead allocated provider-side resources on every call - the mux_pin_function, the group name table and a mux_state reference, plus a group name and a pinctrl_generic_add_group() registration via pinctrl_generic_to_map(). All of these are allocated with devm_*() against the provider device, so they live for the provider's lifetime and are only released when the provider itself is unbound. The .dt_free_map() path never touches them; it frees the per-consumer pinctrl_map only. Every re-parse therefore adds another set of provider-side allocations that are never reclaimed, so a consumer that repeatedly defers probe or is re-bound leaks memory and mux_state references on the provider without bound.

The groups and functions of a board-level mux are static and fully described by the device tree, so build them once at probe time in the new mux_pinctrl_probe_dt(). mux_pinmux_dt_node_to_map() then only looks up the already registered group and builds the per-consumer mux map, which the core frees via .dt_free_map. As the mux has no pin electrical configuration, no config map is emitted.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139562In the Linux kernel, the following vulnerability has been resolved: staging: sm750fb: free cmap on framebuffer release The cmap is allocatCVE-2026-139563In the Linux kernel, the following vulnerability has been resolved: drm/msm/dp: Initialize the debugfs connector pointer The debugfs cleanCVE-2026-139564In the Linux kernel, the following vulnerability has been resolved: s390/ism: Zerorize dmb at allocation Sashiko reported [1] that 'MissinCVE-2026-139565In the Linux kernel, the following vulnerability has been resolved: ice: size ring stats arrays from the final queue count The ring stats CVE-2026-139566In the Linux kernel, the following vulnerability has been resolved: ice: rebuild ring stats arrays instead of reallocating them in place iCVE-2026-139567In the Linux kernel, the following vulnerability has been resolved: ice: skip stats handling for channel VSIs on rebuild ice_vsi_alloc_staCVE-2026-139568In the Linux kernel, the following vulnerability has been resolved: ARM: mvebu: fix Cortex-A9 errata selection for Armada 38x Armada 38x uCVE-2026-139569In the Linux kernel, the following vulnerability has been resolved: f2fs: reject device aliasing without a multi-device configuration A maCVE-2026-139574.2Incorrect security UI in Extensions in Google Chrome prior to 150.0.7871.47 allowed an attacker who convinced a user to install a malicious CVE-2026-139570In the Linux kernel, the following vulnerability has been resolved: RDMA/hfi1: quiesce SDMA asynchronous cleanup on exit The SDMA state reCVE-2026-139571In the Linux kernel, the following vulnerability has been resolved: RDMA/hfi1: shut down the trap timer before unregistering MAD processinCVE-2026-139572In the Linux kernel, the following vulnerability has been resolved: RDMA/siw: Fix length of first chunk in siw_try_1seg() When a short-sin
CVE-2026-139561: Unscored | Vulnix