From mboxrd@z Thu Jan 1 00:00:00 1970 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 08B263B7751 for ; Thu, 28 May 2026 09:45: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=1779961532; cv=none; b=SJn5cPV+mQGZO9kXKYOAwwvu+k0yGG6SR0EtYP4jUTNP6SzLb2gIcSLvTZ8FIBn/nRXcSL7visdIYDNflxzdq0Wy6KxbGHffqKT4qFW5NA/1LB9hVzQrA2BnrcI99D7mff1eghhzWbV9HxlXsBvzYgWqD3Vkl55P14A2orJlBm4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961532; c=relaxed/simple; bh=PzdmZmFe26cP+bYhc9CbZMWf+YMyDZCoqVKNbVJIyto=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ic1n1l1o8uhfkUYg2BH6NrWy6T03FcVWmFcxB+tgEFciv3KhEkuouLWZwlR62A8DcZ8AFu0/iTlcaTl89GNIN6xx/88cHSAynmtIUhnqvawHP1FZyqjTWISIpF45/MYMBNF/llgxO3sSmgk0MygnGCdcA8E9RJadIK+qAmJLNR4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gkTZKaxE; 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="gkTZKaxE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 048D91F000E9; Thu, 28 May 2026 09:45:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961528; bh=i2BGahcYsPX3/FrVVb0e2mroQX47Jdy3LePOqThHmLE=; h=From:To:Cc:Subject:Date:Reply-To; b=gkTZKaxEWJ1Zci4qxTrnkKniBNkqJo34kI7Ppj9UTKPhUJIO5axLh7vVmlVL76GDl g+1yROUmXgDInxPnib3B3VnvZ6BOZj95aCCUXEw778v6O3xWGwdn3GGbOed+LdtMFl iZBZrH13pooKmRTmId28UBBPDNf53XDVqDLLy/L4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46239: media: i2c: ov5647: Fix runtime PM refcount leak in s_ctrl Date: Thu, 28 May 2026 11:41:14 +0200 Message-ID: <2026052841-CVE-2026-46239-e83d@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=2054; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=eHJpnNlFGva9B6ESlAoeAMe34YiHQhxvQJZYKbdWb0o=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSvDOtH+1Raaw+wX3ocN6cjFmHzrbuSFX/o8vXcTFb5 M+d7f+sOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiGmIM84PaPf/57177UXju W/Y5p+537e8//ZdhwRTGN1NaQwz+vDi9nll/y65FMTOmfwQA 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: i2c: ov5647: Fix runtime PM refcount leak in s_ctrl Three control cases (AUTOGAIN, EXPOSURE_AUTO, ANALOGUE_GAIN) directly return without calling pm_runtime_put(), causing runtime PM reference count leaks. Change these cases from 'return' to 'ret = ... break' pattern to ensure pm_runtime_put() is always called before function exit. The Linux kernel CVE team has assigned CVE-2026-46239 to this issue. Affected and fixed versions =========================== Issue introduced in 7.0 with commit 4f66f36388d5668c215f107a4e1ce1a707251ff5 and fixed in 7.0.9 with commit 6b03ecf75bda5900b8e661eb75656f631b598bc2 Issue introduced in 7.0 with commit 4f66f36388d5668c215f107a4e1ce1a707251ff5 and fixed in 7.1-rc1 with commit f11ae9c04f8368a3b5a0280ef595198dace1c983 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-46239 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/ov5647.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/6b03ecf75bda5900b8e661eb75656f631b598bc2 https://git.kernel.org/stable/c/f11ae9c04f8368a3b5a0280ef595198dace1c983