media: i2c: ov5647: Fix runtime PM refcount leak in s_ctrl
Published May 28, 2026
5.5
MEDIUMCVSS 3.1
EPSS 0.14%
Description
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.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 7.0StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<7.0
- Version 7.0.9StatusunaffectedConstraints<=7.0.*
- Version 7.1StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
- ≥ 7.0 · < 7.0.9
No data.
Red Hat Enterprise Linux 10
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (7)
- https://access.redhat.com/security/cve/CVE-2026-46239 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2482565 Issue Tracking
- https://git.kernel.org/stable/c/6b03ecf75bda5900b8e661eb75656f631b598bc2 Patch
- https://git.kernel.org/stable/c/f11ae9c04f8368a3b5a0280ef595198dace1c983 Patch
- https://lore.kernel.org/linux-cve-announce/2026052841-CVE-2026-46239-e83d@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2026-46239
- https://www.cve.org/CVERecord?id=CVE-2026-46239
Change history (0)
No recorded changes yet.