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 86241153518 for ; Wed, 3 Apr 2024 17:34:07 +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=1712165647; cv=none; b=eDZOCwgiYYTKQiLJQ6db2zJv7dQ92jHYTkHeo+G62ylTtAHJe4j3KzffwJ2+WdQfHw7svSHPVsLHdRGRfQCaK2gmH4w309Nj3IurUW2NpnTR5O0Jzl3TXnZQnPM2zVvAi5As5PPUrVnPybGnB4BHsfLCD7RxH2nNcMW5RvBnfEQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712165647; c=relaxed/simple; bh=dKTJFrLNc3o78KZa2iPpEkNxzNxMLN8cKeqGSxkSvDE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=k1sBm3s1UuIiu/BHs79e1QPaW4cHl/BY86HDoxCCaLb5+ZGx/bU5Uud9FFZuWPS9JmE9ZPoVwftBjhBI8aKoc1SjOFPx7ZHFawOnA3DANe/rpChStN4f893MjRO4ThwfugfA85nwYSexlS4l/M0SGHGM0Bqn4QewU5NDpj0vMwE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=AwFlF5Fq; 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="AwFlF5Fq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9CF3AC433F1; Wed, 3 Apr 2024 17:34:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712165647; bh=dKTJFrLNc3o78KZa2iPpEkNxzNxMLN8cKeqGSxkSvDE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=AwFlF5FqZq3sqBxIeg62fWDVdQ9tA9IFe9+eb7wx6swKdxQISX5O8sx8U1fbmgKCJ kw1cQq7fYvrtfH7vpPIUBMltiDitnE6iY/n72Xfi3DnpSeH8ltTRVOmk10QOJ/9RY6 AD9+53d7f3HDRqAw0xwpXPZQIVRZ8FtWiSj6uq/0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26751: ARM: ep93xx: Add terminator to gpiod_lookup_table Date: Wed, 3 Apr 2024 19:31:18 +0200 Message-ID: <2024040302-CVE-2024-26751-fd31@gregkh> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2863; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dKTJFrLNc3o78KZa2iPpEkNxzNxMLN8cKeqGSxkSvDE=; b=owGbwMvMwCRo6H6F97bub03G02pJDGm8k8LEt1bsXDxfdLLBusuXElPaqt8cOv1bxtLk6jnmU K3CWeYXOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi//4wLFj/3HIPA9P3L1/Y CzISjN5d36Aq5M+wYO76NZUL531jLHSVklI6c8M3i2PtUgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: ARM: ep93xx: Add terminator to gpiod_lookup_table Without the terminator, if a con_id is passed to gpio_find() that does not exist in the lookup table the function will not stop looping correctly, and eventually cause an oops. The Linux kernel CVE team has assigned CVE-2024-26751 to this issue. Affected and fixed versions =========================== Issue introduced in 4.15 with commit b2e63555592f and fixed in 4.19.308 with commit 9e200a06ae2a Issue introduced in 4.15 with commit b2e63555592f and fixed in 5.4.270 with commit 999a8bb70da2 Issue introduced in 4.15 with commit b2e63555592f and fixed in 5.10.211 with commit 70d92abbe296 Issue introduced in 4.15 with commit b2e63555592f and fixed in 5.15.150 with commit eec6cbbfa1e8 Issue introduced in 4.15 with commit b2e63555592f and fixed in 6.1.80 with commit 786f089086b5 Issue introduced in 4.15 with commit b2e63555592f and fixed in 6.6.19 with commit 97ba7c1f9c0a Issue introduced in 4.15 with commit b2e63555592f and fixed in 6.7.7 with commit 6abe0895b63c Issue introduced in 4.15 with commit b2e63555592f and fixed in 6.8 with commit fdf87a0dc26d 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-2024-26751 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: arch/arm/mach-ep93xx/core.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/9e200a06ae2abb321939693008290af32b33dd6e https://git.kernel.org/stable/c/999a8bb70da2946336327b4480824d1691cae1fa https://git.kernel.org/stable/c/70d92abbe29692a3de8697ae082c60f2d21ab482 https://git.kernel.org/stable/c/eec6cbbfa1e8d685cc245cfd5626d0715a127a48 https://git.kernel.org/stable/c/786f089086b505372fb3f4f008d57e7845fff0d8 https://git.kernel.org/stable/c/97ba7c1f9c0a2401e644760d857b2386aa895997 https://git.kernel.org/stable/c/6abe0895b63c20de06685c8544b908c7e413efa8 https://git.kernel.org/stable/c/fdf87a0dc26d0550c60edc911cda42f9afec3557