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 5352C413623 for ; Tue, 9 Jun 2026 12:36:29 +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=1781008591; cv=none; b=YHt4+SAkc2oncC9Y/XrZFN2JYMUnIX9lhzAkuKwvC8sfZ4S3LNBGnd5ndNf/Hyvdi4xMx4zsJcrixBnOaNJOJSkRIemyMA9AM7Zj+SqPRVMBkGCO24veayZDtHnY3KiGf9iHAIxP7BezLE7CzGe0447lQ8PcKnYo/3lafRQdbsk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781008591; c=relaxed/simple; bh=IcNGseaMPjGnAQIqZJLN5Yi73qwqw+hqPsHybPH7meA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LI3dx8Ru/bGZ2z2cKutbvO4UbP5YJoAId1th+e5OSqSYetjQREdWArhtG1XimrQZv6GDf6ac+kRnKoi/ZHnCpHZ+5jM2tOTWpAgQiGb2mtoCLsJq3hmIMsFLm6mf+AIF6Weo0rv3rniwLRzmWzJY03P2o6CKS2/93qrU6EtNsco= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=cdx8jWET; 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="cdx8jWET" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 598F11F00893; Tue, 9 Jun 2026 12:36:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1781008589; bh=BPBhFTGRdbghUOaJuUAcnov5a0lZS2aI6WPY5Wyy+lM=; h=From:To:Cc:Subject:Date:Reply-To; b=cdx8jWETviKiW6zpAWoaRSwGuO7LzcK4MqWmItueMk97oS9cTtfQGUJQKvSYDKSvq v54qhb0nAEC7hJphneuqeO6Ti/yMWlvbJ1UjYt9m+wDZUPg0o03pwdCEjQXYM5QIXk kB4xdwSm14YAjA69fgjQbZaAG9WGWdp4Hjeth7LU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-52907: media: rockchip: rkcif: fix off by one bugs Date: Tue, 9 Jun 2026 14:35:16 +0200 Message-ID: <2026060914-CVE-2026-52907-99ac@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=1973; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=TKMV0giM44lM4X5Axw+oidwI2CHyOZ2JBX8IgmiEDgc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkaHE0Hpu4TzD704cSTZcvevpsqL5j7fALn7Y6kb56HW KxVDH41dcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEnkxkmM3qWvd/kcK/aeu9 Jjc5H2c/u8k0oZBhwZZ6l4OyKyVl1mbYrLj/jvXfIccFAgA= 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: rockchip: rkcif: fix off by one bugs Change these comparisons from > vs >= to avoid accessing one element beyond the end of the arrays. While at it, use ARRAY_SIZE instead of the _MAX enum values. [fix cosmetic issues] The Linux kernel CVE team has assigned CVE-2026-52907 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 1f2353f5a1af995efbf7bea44341aa0d03460b28 and fixed in 7.0.4 with commit 73e119036b3a799170ed89907b4273c07306d611 Issue introduced in 6.19 with commit 1f2353f5a1af995efbf7bea44341aa0d03460b28 and fixed in 7.1-rc1 with commit e4056b84af0fc18c84b4e5741df04ecd8ca17973 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-52907 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/rockchip/rkcif/rkcif-capture-mipi.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/73e119036b3a799170ed89907b4273c07306d611 https://git.kernel.org/stable/c/e4056b84af0fc18c84b4e5741df04ecd8ca17973