Skip to contentSkip to conversation

CVE-2026-23079: gpio: cdev: Fix resource leaks on errors in lineinfo_changed_notify()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Feb 4

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

gpio: cdev: Fix resource leaks on errors in lineinfo_changed_notify()

On error handling paths, lineinfo_changed_notify() doesn't free the allocated resources which results leaks. Fix it.

The Linux kernel CVE team has assigned CVE-2026-23079 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.18 with commit d4cd0902c156b2ca60fdda8cd8b5bcb4b0e9ed64 and fixed in 6.18.8 with commit 16414341b0dd58b650b5df45c79115bc5977bb76
	Issue introduced in 6.18 with commit d4cd0902c156b2ca60fdda8cd8b5bcb4b0e9ed64 and fixed in 6.19-rc7 with commit 70b3c280533167749a8f740acaa8ef720f78f984
	Issue introduced in 6.17.10 with commit dccc6daa8afa0f64c432e4c867f275747e3415e1

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-23079

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/gpio/gpiolib-cdev.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/16414341b0dd58b650b5df45c79115bc5977bb76
	https://git.kernel.org/stable/c/70b3c280533167749a8f740acaa8ef720f78f984