drm/rockchip: lvds: fix PM usage counter unbalance in poweron
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/rockchip: lvds: fix PM usage counter unbalance in poweron
pm_runtime_get_sync will increment pm usage counter even it failed. Forgetting to putting operation will result in reference leak here. We fix it by replacing it with the newest pm_runtime_resume_and_get to keep usage counter balanced.
From the CVE record · Linux
The Linux kernel’s Rockchip LVDS driver can leak a power-management usage reference when a runtime power-management call fails during power-on. The input does not specify whether an attacker can trigger the failure or whether access or user interaction is required.
Engineers running Linux kernels with the Rockchip LVDS driver should check their versions; affected versions are not specified.