media: i2c: ov5647: Fix runtime PM refcount leak in s_ctrl
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s ov5647 media driver leaks a runtime power-management reference when certain controls are handled. The input does not describe an attacker action or specify network access, authentication, or user-interaction conditions.
Engineers running Linux kernels with the ov5647 driver should check their kernel version; affected versions are not specified.