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 529BE3BB699 for ; Mon, 8 Jun 2026 15:42:00 +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=1780933321; cv=none; b=QIFfDMvLskCvu3vAg0fhv2ImoedJLpUXdulUQTPF30Bgi6S8SU/IBGzTaUquv7kgLf2andihCZKb4O/TOg1XCktx0BXn++XXEMt9KypYEfu41Ea/OUwfwBVYP53+5OZqS4qx3XC80WqwVkg3L7xTJ9XYX2YtohtLuLunxmWqioc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780933321; c=relaxed/simple; bh=N8pn/mK20MCpEE1YHhBM0X9GWFFaFxjNWlv1wUxYuCo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PQcAn80K5lx517GSsQrmAwA0HUSsXd4W0CiVx4IIxj9cbirwZlquqSq34VtvaKs/TyTqeAWNQxrzWMfVw0YVvBPNHxKbRtQlL3DQxi6f5tA5jb4FhWrVr5Vioo2cwhqgsJs70QXfOJP8XAWFXKDg61rnnkL3Nh/9YxyGfFomrCk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pCD2I+cJ; 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="pCD2I+cJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5903F1F00893; Mon, 8 Jun 2026 15:41:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780933320; bh=QtvVRBhRnOWHSkuLBEKyjgOfvV8SjYJkdehIzjwJY8o=; h=From:To:Cc:Subject:Date:Reply-To; b=pCD2I+cJUXffhIEhVv/F23v4eKdpD+BoY4V8OKRh7P//hPitx8p1y8XTX8QhtoHz3 +4EoOc4OWBCR8UIIjAJeGo6l5+5HtjYWh6vvJVD9Vmi/w56aEd6THRVoeTWnIkkv3x W6OTxPONyCnXfeDTuxv6MNrEQ5efPfGJInJzdhIc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46286: leds: qcom-lpg: Check for array overflow when selecting the high resolution Date: Mon, 8 Jun 2026 17:40:50 +0200 Message-ID: <2026060843-CVE-2026-46286-b3d1@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=2398; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ja7Nm5hU2GM2oEXUtubxUwBl39ejbEDhDVoa2t3B36c=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlqj6or9IzuKZ06wVj7cwmf13rLWY9/aM6+lbc5nP3IH Pfrn68EdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBETsxmWLD6PkNa8X3jr9En /n9Uc5m1QrijXJFhwb5p+4oSpbkPm3cltD+oaImx2BTpBgA= 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: leds: qcom-lpg: Check for array overflow when selecting the high resolution When selecting the high resolution values from the array, FIELD_GET() is used to pull from a 3 bit register, yet the array being indexed has only 5 values in it. Odds are the hardware is sane, but just to be safe, properly check before just overflowing and reading random data and then setting up chip values based on that. The Linux kernel CVE team has assigned CVE-2026-46286 to this issue. Affected and fixed versions =========================== Fixed in 6.6.140 with commit 28a2e047d03721e0517c67ee726eaa6621c30e5f Fixed in 6.12.86 with commit 36ce3094dc50598f38fd961b46688cd533940efc Fixed in 6.18.27 with commit 438e357b3cc6cd6900df271e4bc567bfe1142281 Fixed in 7.0.4 with commit f67a24e75d3251ba42538738120b6b659c0dca7d Fixed in 7.1-rc1 with commit d45963a93c1495e9f1338fde91d0ebba8fd22474 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-46286 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/leds/rgb/leds-qcom-lpg.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/28a2e047d03721e0517c67ee726eaa6621c30e5f https://git.kernel.org/stable/c/36ce3094dc50598f38fd961b46688cd533940efc https://git.kernel.org/stable/c/438e357b3cc6cd6900df271e4bc567bfe1142281 https://git.kernel.org/stable/c/f67a24e75d3251ba42538738120b6b659c0dca7d https://git.kernel.org/stable/c/d45963a93c1495e9f1338fde91d0ebba8fd22474