Junglewise Threat Intelligence

CVE-2026-45868: Linux kernel reference count leak in pinctrl-single

CVE-2026-45868 · Severity: info · CVSS 0 · Published 2026-05-27

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A memory management issue was identified in the Linux kernel's pinctrl subsystem, which manages how hardware pins are configured. A technical error causes the system to fail to release certain internal references, leading to a 'resource leak' that could gradually consume system memory. While this is primarily a stability concern, it could potentially lead to system slowdowns or crashes over long periods of operation.

Technical details

A reference count leak exists in the 'pinctrl-single' driver within the 'pcs_add_gpio_func()' function. The vulnerability is caused by the use of 'of_parse_phandle_with_args()', which increments the reference count of a device node ('gpiospec.np'). The implementation failed to call 'of_node_put()' to decrement this count during normal loop iterations or on error paths (specifically when 'devm_kzalloc' fails). This results in a persistent leak of 'device_node' references. The fix involves adding 'of_node_put()' calls to ensure proper resource cleanup. This is a local resource leak with low exploitability, primarily impacting system stability.

Affected products

  • Linux Linux kernel All versions prior to the fix in 2026

Timeline

  • 2026-01-20: other: Patch submitted by developer
  • 2026-05-27: advisory: CVE published to NVD

References

Related threats