{"id":"CVE-2026-45868","aliases":["CVE-2026-45868"],"related":[],"kind":"vulnerability","state":"published","title":"pinctrl: single: fix refcount leak in pcs_add_gpio_func()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: single: fix refcount leak in pcs_add_gpio_func()\n\nof_parse_phandle_with_args() returns a device_node pointer with refcount\nincremented in gpiospec.np. The loop iterates through all phandles but\nnever releases the reference, causing a refcount leak on each iteration.\n\nAdd of_node_put() calls to release the reference after extracting the\nneeded arguments and on the error path when devm_kzalloc() fails.\n\nThis bug was detected by our static analysis tool and verified by my\ncode review.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: single: fix refcount leak in pcs_add_gpio_func()\n\nof_parse_phandle_with_args() returns a device_node pointer with refcount\nincremented in gpiospec.np. The loop iterates through all phandles but\nnever releases the reference, causing a refcount leak on each iteration.\n\nAdd of_node_put() calls to release the reference after extracting the\nneeded arguments and on the error path when devm_kzalloc() fails.\n\nThis bug was detected by our static analysis tool and verified by my\ncode review.","source":"cvelist"}],"published":"2026-05-27T12:15:48.311Z","modified":"2026-06-25T21:06:34.607Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a1a277eb76b3507df7c41774048a644aa4dfd096","fixed":"191bfd5710d6a7f48ba4315d8d3e908dcc15243c","status":"affected"},{"type":"git","introduced":"a1a277eb76b3507df7c41774048a644aa4dfd096","fixed":"3e3b28bb0b6ddc521a4fdd1c1ba0d35017a0796b","status":"affected"},{"type":"git","introduced":"a1a277eb76b3507df7c41774048a644aa4dfd096","fixed":"456a60d06c09a92680dc35fabca68024badcc28e","status":"affected"},{"type":"git","introduced":"a1a277eb76b3507df7c41774048a644aa4dfd096","fixed":"99cc7352156c65201c675f750e0e77c4c73d93f5","status":"affected"},{"type":"git","introduced":"a1a277eb76b3507df7c41774048a644aa4dfd096","fixed":"7814b1431848854b56717086e2b61bea3c59753d","status":"affected"},{"type":"git","introduced":"a1a277eb76b3507df7c41774048a644aa4dfd096","fixed":"e2e367e56bacb93ce5ac73f0b3297d5c83d38dd4","status":"affected"},{"type":"git","introduced":"a1a277eb76b3507df7c41774048a644aa4dfd096","fixed":"5b9e84d27e310f22c4ba45fedbc4f5baf43dd823","status":"affected"},{"type":"git","introduced":"a1a277eb76b3507df7c41774048a644aa4dfd096","fixed":"353353309b0f7afa407df29e455f9d15b5acc296","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.10","status":"unaffected"},{"type":"semver","introduced":"5.10.252","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.202","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.165","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.128","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.75","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.14","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.4","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.10","fixed":"5.10.252"},{"status":"affected","introduced":"5.11","fixed":"5.15.202"},{"status":"affected","introduced":"5.16","fixed":"6.1.165"},{"status":"affected","introduced":"6.2","fixed":"6.6.128"},{"status":"affected","introduced":"6.7","fixed":"6.12.75"},{"status":"affected","introduced":"6.13","fixed":"6.18.14"},{"status":"affected","introduced":"6.19","fixed":"6.19.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/191bfd5710d6a7f48ba4315d8d3e908dcc15243c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3e3b28bb0b6ddc521a4fdd1c1ba0d35017a0796b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/456a60d06c09a92680dc35fabca68024badcc28e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/99cc7352156c65201c675f750e0e77c4c73d93f5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7814b1431848854b56717086e2b61bea3c59753d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e2e367e56bacb93ce5ac73f0b3297d5c83d38dd4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5b9e84d27e310f22c4ba45fedbc4f5baf43dd823","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/353353309b0f7afa407df29e455f9d15b5acc296","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45868","url":"https://www.cve.org/CVERecord?id=CVE-2026-45868","licence":"CVE Terms of Use","modified":"2026-05-27T12:15:48.311Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45868","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45868","licence":"Public domain","modified":"2026-06-25T21:06:34.607Z"}],"updatedAt":"2026-11-25T22:59:22.481Z","epss":{"score":0.0016,"percentile":0.05457,"date":"2026-12-01T12:00:22.000Z"}}