ASoC: rockchip: Fix PM usage reference of rockchip_i2s_tdm_resume
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 |
|
|
5.16.195.17.25.18In the Linux kernel, the following vulnerability has been resolved:
ASoC: rockchip: Fix PM usage reference of rockchip_i2s_tdm_resume
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 pm_runtime_resume_and_get to keep usage counter balanced.
From the CVE record · Linux
The Linux kernel’s rockchip_i2s_tdm_resume function can leak a power-management usage reference when pm_runtime_get_sync fails. The input does not establish how an attacker could trigger the issue or whether access or user interaction is required.
Engineers running Linux kernels with the Rockchip ASoC component should check their versions against the vendor advisory; affected versions were not provided.