Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DF0E93AD50E for ; Wed, 25 Mar 2026 10:29:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434596; cv=none; b=W04fHjinhJwXDSrt5yuK8zy9hJDUQQmckaTTZ/l9zTMI94Ub/QDcqW76aQLg1ze9U44EapGXFlvg3RkcX34zW2gmfw+uypmBgSTjHc1k5S7Zf7RgkTNjq7qVSPfxrrbXKqudTZ7Y93axXCVQI4L9t9fNSwadnMs1Qan2p7olon8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434596; c=relaxed/simple; bh=CBAxAmyT9OUHCIXpaVtmCB5h4L/3FDPUKo0esOoYhPc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jfIFZ1Z4PR5J+pxaB//DwAP9ag7wHEVgQ3lkvgERESOy+z0zyr4SRMMPDtAjMCvzI3vXVVnYMw4JmQGCF0mwvsI96vIvanTvffqb5jArJB3HOHnVvNVpSypF9WX8e5ORMQWLeRoWcnxHjqHXYZP8owRdWdJDDYln02qAYm5G3TU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dD12hqXX; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="dD12hqXX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3A82EC4CEF7; Wed, 25 Mar 2026 10:29:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774434596; bh=CBAxAmyT9OUHCIXpaVtmCB5h4L/3FDPUKo0esOoYhPc=; h=From:To:Cc:Subject:Date:Reply-To:From; b=dD12hqXXYgcZzQMgYjnyBZyL4g4YXdCqhK+56XfDqp01pMgywz5f5ZIEssSq9dpHX I+ONJEmhzYZKbUe1ogAu1XGt4Mj1TUyAp0dmkaJ8nOgUDNxeMS4oNJQQv/kCZ3US8r BLNd4JQnLa0CTY8hI0ytp5NllJ11SPAQaOqZDkKE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23337: pinctrl: pinconf-generic: Fix memory leak in pinconf_generic_parse_dt_config() Date: Wed, 25 Mar 2026 11:27:21 +0100 Message-ID: <2026032534-CVE-2026-23337-5018@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2064; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+yousW0dFkhnPJ2sdyTsercVDt04bWtgF9EpFBcQcKM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmHd0TJHFOM2uAvt2Z7nR9LbPDvY1Ez+/dxmFjc23qz2 d4v8smdjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIK0eGBZvSKhfUHvWYb/Xo 68PkTZPtKlgipzPMD3ih9Ke+5mHt75dXYrz33rwsH7kkFAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: pinctrl: pinconf-generic: Fix memory leak in pinconf_generic_parse_dt_config() In pinconf_generic_parse_dt_config(), if parse_dt_cfg() fails, it returns directly. This bypasses the cleanup logic and results in a memory leak of the cfg buffer. Fix this by jumping to the out label on failure, ensuring kfree(cfg) is called before returning. The Linux kernel CVE team has assigned CVE-2026-23337 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 90a18c512884adb49ddc2fb30e94594169aae808 and fixed in 6.19.7 with commit 63ee429780a5d43b5b4406c6128109b0f47cf2f1 Issue introduced in 6.19 with commit 90a18c512884adb49ddc2fb30e94594169aae808 and fixed in 7.0-rc3 with commit 7a648d598cb8e8c62af3f0e020a25820a3f3a9a7 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-23337 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/pinctrl/pinconf-generic.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/63ee429780a5d43b5b4406c6128109b0f47cf2f1 https://git.kernel.org/stable/c/7a648d598cb8e8c62af3f0e020a25820a3f3a9a7