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.
Published: 2026-05-28
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel media driver for the ov5647 camera module was modified to fix a reference‑count leak that could cause the runtime power management to accumulate unreleased references across three control cases: AUTOGAIN, EXPOSURE_AUTO, and ANALOGUE_GAIN. Because the driver returned early without decrementing the runtime PM counter, repeated use of these controls could inflate the reference count permanently, locking the device in a powered‑on state or exhausting kernel resources. This flaw is a classic resource‑leak weakness, reflected in NVD-CWE-Other and is also associated with CWE‑911.

Affected Systems

Any system running the Linux kernel with the ov5647 I2C driver prior to the application of the fix is potentially affected. The vendor of the affected component is the Linux Kernel project; no specific kernel release range is given in the advisory, so all kernel versions that incorporated the vulnerable driver code before the patch should be considered at risk.

Risk and Exploitability

The exploitation of this vulnerability is constrained to environments where the flawed driver code can be exercised. It is inferred that an attacker with privileged or local access could trigger the problematic controls repeatedly to accumulate reference counts until the runtime PM subsystem can no longer release the device, effectively causing a denial‑of‑service. The EPSS score of 0.00024 indicates a very low probability of exploitation, and the vulnerability is not listed in CISA’s KEV catalog, but the potential for a local resource exhaustion attack remains.

Generated by OpenCVE AI on June 10, 2026 at 23:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that contains the patch which changes the return logic to ensure pm_runtime_put() is always called
  • As a temporary workaround, disable the AUTOGAIN, EXPOSURE_AUTO, and ANALOGUE_GAIN controls in the driver or via user‑space configuration to prevent the reference leak
  • Periodically monitor runtime PM reference counts and device availability during heavy use to detect any abnormal persistence of active references

Generated by OpenCVE AI on June 10, 2026 at 23:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 10 Jun 2026 21:15:00 +0000

Type Values Removed Values Added
Weaknesses NVD-CWE-Other
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Sat, 30 May 2026 02:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Sat, 30 May 2026 00:15:00 +0000


Thu, 28 May 2026 13:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Thu, 28 May 2026 10:15:00 +0000

Type Values Removed Values Added
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.
Title media: i2c: ov5647: Fix runtime PM refcount leak in s_ctrl
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-14T18:05:01.235Z

Reserved: 2026-05-13T15:03:33.107Z

Link: CVE-2026-46239

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-05-28T10:16:39.527

Modified: 2026-06-10T21:06:02.010

Link: CVE-2026-46239

cve-icon Redhat

Severity :

Publid Date: 2026-05-28T00:00:00Z

Links: CVE-2026-46239 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-10T23:15:28Z

Weaknesses