Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 A55573BD659 for ; Fri, 26 Jun 2026 19:43:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782502984; cv=none; b=Pec2D5Uu0oWKakEsf/s7ekRbpGyzz/WnNV9Irhl3gsSwEiRpVE3M1Tx8abx+cnO/xjkMZdXpYAVet//mp06zT2aBnqKv+ENRv5kOXzMwgFKyEg56u10TzOJNAnAcmSne/htZSliWr1CqVlGXmBqTYuWws+vgVFQwvrejp7S8Xds= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782502984; c=relaxed/simple; bh=l6DW0GW34BWvdvhGQQNr0f/HyKKDa4YtucK5cnFysj8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BcHwEoqidc+j1owAyTJEHW8ZBB8uPLILMGBgdASDDY2swSCnZ++AWM+ZgdYRBEU5PWxS/xM9lrrLB+GKmli8JkvkptDR+7cGvHSmdZ8I5UWsbDYer/tKXKU3XFhyaq7waXbkMKxgGDAJwzi8AZ331+OKxVUe5BqgJ2AL/XghnIo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Vp/tAX8A; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Vp/tAX8A" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E8BE31F000E9; Fri, 26 Jun 2026 19:43:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782502983; bh=OvP7kDaCjpgjF5FWnc9U+ZwXXO/dE1LtpJ7R21xU11g=; h=From:To:Cc:Subject:Date:Reply-To; b=Vp/tAX8AiUE4fBznnfiJN6+Pt8s7C/YFUL5ik6CWEx8VH8FtB3vlUNuLEvpt3Mda0 d4i0v3qnhbBpgXyQS5jldpC1sI8qftlAR16Dx3EV/Z2G9cRhzaLZuOctGLAA6bb7TR D4LrjeR7BcX4dsMXzaew2+V3A+OrQNrZDjXaDFCw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53307: pinctrl: pinconf-generic: Fully validate 'pinmux' property Date: Fri, 26 Jun 2026 20:40:40 +0100 Message-ID: <2026062620-CVE-2026-53307-77ef@gregkh> X-Mailer: git-send-email 2.54.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=2340; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Mg/zM+lCxXwzB31X6GhcrJ54g4CIOEgGMicL3y6ciA0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFl2V5fcrG9ev0iavavnvGH8jPs+5ufYouamzGq9/fis4 mKPu6FvOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiTLMZ5uk93ZUsefjw6bfW csoPNn3u2P45PYJhDufElVlOcnGdCme8t0Wc1XNKdUp7CAA= 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: Fully validate 'pinmux' property The pinconf_generic_parse_dt_pinmux() assumes that the 'pinmux' property is not empty when present. This might be not true. With that, the allocator will give a special value in return and not NULL which lead to the crash when trying to access that (invalid) memory. Fix that by fully validating 'pinmux' value, including its length. The Linux kernel CVE team has assigned CVE-2026-53307 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit 7112c05fff83e15726dd60a10248b76474e3cdf9 and fixed in 6.18.33 with commit 6476aac13805721e16439bd71f0e1703a4154517 Issue introduced in 6.15 with commit 7112c05fff83e15726dd60a10248b76474e3cdf9 and fixed in 7.0.10 with commit b7842b722169359e7ffe4b838d2496e9e72ac996 Issue introduced in 6.15 with commit 7112c05fff83e15726dd60a10248b76474e3cdf9 and fixed in 7.1 with commit c98324ea7849b6e5baa1774f71709b375a2c2f9e 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-53307 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/6476aac13805721e16439bd71f0e1703a4154517 https://git.kernel.org/stable/c/b7842b722169359e7ffe4b838d2496e9e72ac996 https://git.kernel.org/stable/c/c98324ea7849b6e5baa1774f71709b375a2c2f9e