Skip to contentSkip to conversation

CVE-2026-53379: media: i2c: ov8856: free control handler on error in ov8856_init_controls()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jul 19

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

media: i2c: ov8856: free control handler on error in ov8856_init_controls()

The control handler wasn't freed if adding controls failed, add an error exit label and convert the existing error return to use it.

The Linux kernel CVE team has assigned CVE-2026-53379 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.1 with commit 879347f0c258cffe27b9e28bd4f1f55fc019f857 and fixed in 5.15.209 with commit c13721040a566d832ee8a20ecf04b7ef288a1525
	Issue introduced in 5.1 with commit 879347f0c258cffe27b9e28bd4f1f55fc019f857 and fixed in 6.1.175 with commit d1b3811c6b0f67fb7f0acfe09bf8244aa8b12465
	Issue introduced in 5.1 with commit 879347f0c258cffe27b9e28bd4f1f55fc019f857 and fixed in 6.6.140 with commit fd10fb4c33bdc9c25c9b9d5e7e39f635e34c44a3
	Issue introduced in 5.1 with commit 879347f0c258cffe27b9e28bd4f1f55fc019f857 and fixed in 6.12.90 with commit ba9e9274c4ecfc039c45752dd6055137eaa5f08e
	Issue introduced in 5.1 with commit 879347f0c258cffe27b9e28bd4f1f55fc019f857 and fixed in 6.18.32 with commit 791598484fd558bb426ef5e051effa5c227d5390
	Issue introduced in 5.1 with commit 879347f0c258cffe27b9e28bd4f1f55fc019f857 and fixed in 7.0.9 with commit f727e3251ceee91f3d6e6d87e323aaf070f0de8e
	Issue introduced in 5.1 with commit 879347f0c258cffe27b9e28bd4f1f55fc019f857 and fixed in 7.1 with commit f75e160745663ce9b13362ae6e90bd439c58df69

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-53379

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/i2c/ov8856.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/c13721040a566d832ee8a20ecf04b7ef288a1525
	https://git.kernel.org/stable/c/d1b3811c6b0f67fb7f0acfe09bf8244aa8b12465
	https://git.kernel.org/stable/c/fd10fb4c33bdc9c25c9b9d5e7e39f635e34c44a3
	https://git.kernel.org/stable/c/ba9e9274c4ecfc039c45752dd6055137eaa5f08e
	https://git.kernel.org/stable/c/791598484fd558bb426ef5e051effa5c227d5390
	https://git.kernel.org/stable/c/f727e3251ceee91f3d6e6d87e323aaf070f0de8e
	https://git.kernel.org/stable/c/f75e160745663ce9b13362ae6e90bd439c58df69