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 D19FE259C83 for ; Fri, 5 Sep 2025 17:22:26 +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=1757092946; cv=none; b=U9TnnGs2tYOHL6b82UnIk5vFqL52PhD0Flk4O5mY9YbPpn7Ar1Eeuhfaf2A/uiulesoYv6AcODGLwuMUHiNt83rDP7X2mihj/nSgmzyedfGIK0eatjSumIx46xwRr+taaKJavhHSZL7yH2FjWFjxEBukHE+JNF7PfEgGzJsKOMU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757092946; c=relaxed/simple; bh=naQ6HqAobu259ei4MLmFwanB0VOaO5MPxs69mZG1Yko=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DL3KkA2riJDd3ac4I8EncD3vP20s336dZvyAwSGhyadBnl9Qjp/kSizPiL05WAhngf+M14gj2K/8qSk8zAOL2YdHPkkAORS32gOIkwjJBk4CClSeyTIQAPCOEkOc/YTytE7XQW7WJ6pr1P206aFNW3zB2IIgMzDV7Vc5RFuSd4Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=aH+FurL9; 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="aH+FurL9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5829DC4CEF1; Fri, 5 Sep 2025 17:22:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757092946; bh=naQ6HqAobu259ei4MLmFwanB0VOaO5MPxs69mZG1Yko=; h=From:To:Cc:Subject:Date:Reply-to:From; b=aH+FurL9dZfzMFNcG6CVxwBL/muP0TsnU/+uiOMMQWPcqsGqKAuoW7PMYQ0UVx4sE NdoTH2zkRFsuceN5QQbBRzD+LSzN4F74L8nRTvmatbC1afRMwOHFclcUPwW3sI6gG1 0A99/fMw3IuqzMsEtV1sUZ3WgXQ7NPhF/WZ6rFD4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-39687: iio: light: as73211: Ensure buffer holes are zeroed Date: Fri, 5 Sep 2025 19:21:01 +0200 Message-ID: <2025090546-CVE-2025-39687-538e@gregkh> X-Mailer: git-send-email 2.51.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=3012; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pGFOiYw71Jhz32WnXRJ1P0ExeYPmu/hjfopvqZWclfI=; b=owGbwMvMwCRo6H6F97bub03G02pJDBm7pd+Zqs5jzmNKT33xbIvWv5Od3K4TFoo9eyL2aNHrC b9XJ20s6YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJfC5imF9y4XxX5Yy3RREl bgvXzv1zecm5vR8YFpxaLXGm+swG+RVev6ZZLOz+5NV4QQIA 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: iio: light: as73211: Ensure buffer holes are zeroed Given that the buffer is copied to a kfifo that ultimately user space can read, ensure we zero it. The Linux kernel CVE team has assigned CVE-2025-39687 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit 403e5586b52e466893ce3a7b7f3a3ecdc4c82d3e and fixed in 5.10.241 with commit fd441fd972067f80861a0b66605c0febb0d038dd Issue introduced in 5.10 with commit 403e5586b52e466893ce3a7b7f3a3ecdc4c82d3e and fixed in 5.15.190 with commit d8c5d87a431596e0e02bd7fe3bff952b002a03bb Issue introduced in 5.10 with commit 403e5586b52e466893ce3a7b7f3a3ecdc4c82d3e and fixed in 6.1.149 with commit 83f14c4ca1ad78fcfb3e0de07d6d8a0c59550fc2 Issue introduced in 5.10 with commit 403e5586b52e466893ce3a7b7f3a3ecdc4c82d3e and fixed in 6.6.103 with commit 99b508340d0d1b9de0856c48c77898b14c0df7cf Issue introduced in 5.10 with commit 403e5586b52e466893ce3a7b7f3a3ecdc4c82d3e and fixed in 6.12.44 with commit cce55ca4e7a221d5eb2c0b757a868eacd6344e4a Issue introduced in 5.10 with commit 403e5586b52e466893ce3a7b7f3a3ecdc4c82d3e and fixed in 6.16.4 with commit 8acd9a0eaa8c9a28e385c0a6a56bb821cb549771 Issue introduced in 5.10 with commit 403e5586b52e466893ce3a7b7f3a3ecdc4c82d3e and fixed in 6.17-rc3 with commit 433b99e922943efdfd62b9a8e3ad1604838181f2 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-2025-39687 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/iio/light/as73211.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/fd441fd972067f80861a0b66605c0febb0d038dd https://git.kernel.org/stable/c/d8c5d87a431596e0e02bd7fe3bff952b002a03bb https://git.kernel.org/stable/c/83f14c4ca1ad78fcfb3e0de07d6d8a0c59550fc2 https://git.kernel.org/stable/c/99b508340d0d1b9de0856c48c77898b14c0df7cf https://git.kernel.org/stable/c/cce55ca4e7a221d5eb2c0b757a868eacd6344e4a https://git.kernel.org/stable/c/8acd9a0eaa8c9a28e385c0a6a56bb821cb549771 https://git.kernel.org/stable/c/433b99e922943efdfd62b9a8e3ad1604838181f2