From mboxrd@z Thu Jan 1 00:00:00 1970 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 8D3B181AC3 for ; Fri, 23 Feb 2024 14:48:31 +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=1708699711; cv=none; b=NALTvQwLnewqG12zGb9LnzmyXa4AiQp03Zh2hS0XVzus34/nbt3plvpWnS0SgsONKQPKvwksf9lAp5Q8BuyISn52gNAowyeAVN/7G0yKFYiVVpQXMIIctkidn3vqctX8o2zyTiAgi6G7LDl/MmZRGe0NPJnkFxBYJ4eFYuUOiSo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708699711; c=relaxed/simple; bh=qMajqU0xKTvwXNh1DINxDVAefoQk0ydzHhHAEKG/Lyg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GqY/OKxIdnfMOeSfSE2EX+QTLy6XKtrud79XW3OZvEurQFIbi9uB/qkTpKX/YIu9AaGq5fCHLoVu/sOoKg+TpfSLTX/KwOIeQ4S8D0OHZ4ZRsDNrg71k3sDD36bIFh1AFZS/uxHHv9DkSy0UYRx734wjIB4P057A4eN9JIJ+ygU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=veQkE9A2; 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="veQkE9A2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0CC27C433F1; Fri, 23 Feb 2024 14:48:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1708699711; bh=qMajqU0xKTvwXNh1DINxDVAefoQk0ydzHhHAEKG/Lyg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=veQkE9A2A+wyl7nBqS9LyQNmGauAAgVkz3kUq++qwaY3Skih35+pEvpY3r+u26tFn t4g0BLvS5AzqpUTOzdT25nFyZAUCvZuXzxSBi6WAHjZ2ROTdtuTeGowGoirV0O+o+y cESWUQOUKEnJtQwb54QyFY/HRhIKIN1hBA0nqqH0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26599: pwm: Fix out-of-bounds access in of_pwm_single_xlate() Date: Fri, 23 Feb 2024 15:47:39 +0100 Message-ID: <2024022338-CVE-2024-26599-cd65@gregkh> X-Mailer: git-send-email 2.43.2 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=2097; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qMajqU0xKTvwXNh1DINxDVAefoQk0ydzHhHAEKG/Lyg=; b=owGbwMvMwCRo6H6F97bub03G02pJDKk3NnDP+iwa6C+YrWk2sbNQ6eoPs38nt4srrwl6Kbbj4 pxXlR43OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiz0oYFqwTj3W6YjnppebU Z9MXv5iXpWz314lhwW63iuSnDjv8Fq0o/vJMe9GfVONSeQA= 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: pwm: Fix out-of-bounds access in of_pwm_single_xlate() With args->args_count == 2 args->args[2] is not defined. Actually the flags are contained in args->args[1]. The Linux kernel CVE team has assigned CVE-2024-26599 to this issue. Affected and fixed versions =========================== Issue introduced in 5.17 with commit 3ab7b6ac5d82 and fixed in 6.1.75 with commit 7b85554c7c2a Issue introduced in 5.17 with commit 3ab7b6ac5d82 and fixed in 6.6.14 with commit e5f2b4b62977 Issue introduced in 5.17 with commit 3ab7b6ac5d82 and fixed in 6.7.2 with commit bae45b7ebb31 Issue introduced in 5.17 with commit 3ab7b6ac5d82 and fixed in 6.8-rc1 with commit a297d07b9a1e Please see https://www.kernel.org or 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-26599 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/pwm/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/7b85554c7c2aee91171e038e4d5442ffa130b282 https://git.kernel.org/stable/c/e5f2b4b62977fb6c2efcbc5779e0c9dce18215f7 https://git.kernel.org/stable/c/bae45b7ebb31984b63b13c3519fd724b3ce92123 https://git.kernel.org/stable/c/a297d07b9a1e4fb8cda25a4a2363a507d294b7c9