# CVE-2026-46239: media: i2c: ov5647: Fix runtime PM refcount leak in s_ctrl

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.10%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-05-28T09:41:07.609Z
- Modified: 2026-06-17T10:53:23.487Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 4f66f36388d5668c215f107a4e1ce1a707251ff5 before 6b03ecf75bda5900b8e661eb75656f631b598bc2; from 4f66f36388d5668c215f107a4e1ce1a707251ff5 before f11ae9c04f8368a3b5a0280ef595198dace1c983; 7.0 (not affected: before 7.0; from 7.0.9 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 7.0 before 7.0.9

## References

- <https://git.kernel.org/stable/c/6b03ecf75bda5900b8e661eb75656f631b598bc2> (patch)
- <https://git.kernel.org/stable/c/f11ae9c04f8368a3b5a0280ef595198dace1c983> (patch)

## Sources

- CVE List: [CVE-2026-46239](https://www.cve.org/CVERecord?id=CVE-2026-46239), CVE Terms of Use, modified 2026-06-14
- NVD: [CVE-2026-46239](https://nvd.nist.gov/vuln/detail/CVE-2026-46239), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-46239 · Whole record: https://cve.day/CVE-2026-46239.json · Rebuilt by cve.day 2026-11-25T22:59:22.900Z
