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 EAD62438FFB for ; Wed, 6 May 2026 11:34:39 +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=1778067280; cv=none; b=g6QPasg9DziH2ZCLOMxMZr1YFYm+o3n24kZeZiT3U6cO0SHu1dj5i5EtcNM0SEyPWHfJQ6YOiHRyvGV+Js+PdVJV+UQL0MRJLK5YviuN/sIhEXnQboeBKJ093YAXFp5LSZ6MQwchmwMt+qy5Gb8igJ97kIvS9YcoGPeb78glheM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067280; c=relaxed/simple; bh=a9ML9IZZuznhczyQKuhklfoi9cIdPlDcxmw0HimE0RI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ScYX0s5qXOWFNSNhy7if4PZfQCKJihm/Z1muxjG30diZDfHuEutH+48fHrAFsSI0mPeLjBEj1jech7CwCmDjl+FdzYclUPrdXrwf5B3Hm5u/JKX2zG2WDqr2aowCOfJdH1zvsF0Rj3ASfJ4arRVKeOEVu9sL1u4/OoUgIosHRGA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zqyv22su; 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="zqyv22su" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 81DEBC2BCB8; Wed, 6 May 2026 11:34:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778067279; bh=a9ML9IZZuznhczyQKuhklfoi9cIdPlDcxmw0HimE0RI=; h=From:To:Cc:Subject:Date:Reply-To:From; b=zqyv22suK0pa9FtnO9CE7cvlD/tIyxylWjigjzr7OWuWiIGFZld/74pl9AhU1qGsH mpjvu0Hx+SlDg6obYepXXRnRH93STXI8Kce2AOAU8H090cU/tLANtnYm7ELoNWe61A 2WkoJllGhKeRtCXo5CXhYaCWQwAiXn1zCfyWIGvE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43256: media: qcom: camss: vfe: Fix out-of-bounds access in vfe_isr_reg_update() Date: Wed, 6 May 2026 13:29:32 +0200 Message-ID: <2026050605-CVE-2026-43256-cc2e@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=3154; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ke2PlCFGzGBAxNutaHXWyxRIsKtRbCKp48u4KcEGJ+E=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/VY9auD39f+QB/yPmiz/W5pYu8hN888FZ5vu9Cptzv +aaeur/7IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJHPnPMD+SaXbP6hlcazi2 /5Pvky7R+ZLzMJZhwZTP8aY3T03mO2fQzPGm+kDS3OYn2gA= 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: media: qcom: camss: vfe: Fix out-of-bounds access in vfe_isr_reg_update() vfe_isr() iterates using MSM_VFE_IMAGE_MASTERS_NUM(7) as the loop bound and passes the index to vfe_isr_reg_update(). However, vfe->line[] array is defined with VFE_LINE_NUM_MAX(4): struct vfe_line line[VFE_LINE_NUM_MAX]; When index is 4, 5, 6, the access to vfe->line[line_id] exceeds the array bounds and resulting in out-of-bounds memory access. Fix this by using separate loops for output lines and write masters. The Linux kernel CVE team has assigned CVE-2026-43256 to this issue. Affected and fixed versions =========================== Issue introduced in 5.18 with commit 4edc8eae715cecf5f8bf12a0c77c281f336c37db and fixed in 6.1.167 with commit e6cbf765686fb6c1d8f2530b3daf6c66efc92f5d Issue introduced in 5.18 with commit 4edc8eae715cecf5f8bf12a0c77c281f336c37db and fixed in 6.6.128 with commit 0c074e80921fd18984b75836730d76c768c84f65 Issue introduced in 5.18 with commit 4edc8eae715cecf5f8bf12a0c77c281f336c37db and fixed in 6.12.75 with commit 1b103307df6d461a0731be25aca69ad0335b0933 Issue introduced in 5.18 with commit 4edc8eae715cecf5f8bf12a0c77c281f336c37db and fixed in 6.18.16 with commit fade67c88870f497a13ed450ba01f7236c92dd9b Issue introduced in 5.18 with commit 4edc8eae715cecf5f8bf12a0c77c281f336c37db and fixed in 6.19.6 with commit e7a38ecda2498e7ce998793ac2a46ca47317635d Issue introduced in 5.18 with commit 4edc8eae715cecf5f8bf12a0c77c281f336c37db and fixed in 7.0 with commit d965919af524e68cb2ab1a685872050ad2ee933d 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-43256 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/media/platform/qcom/camss/camss-vfe-480.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/e6cbf765686fb6c1d8f2530b3daf6c66efc92f5d https://git.kernel.org/stable/c/0c074e80921fd18984b75836730d76c768c84f65 https://git.kernel.org/stable/c/1b103307df6d461a0731be25aca69ad0335b0933 https://git.kernel.org/stable/c/fade67c88870f497a13ed450ba01f7236c92dd9b https://git.kernel.org/stable/c/e7a38ecda2498e7ce998793ac2a46ca47317635d https://git.kernel.org/stable/c/d965919af524e68cb2ab1a685872050ad2ee933d