i2c: tegra: fix pm_runtime leak on mutex_lock failure
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:
i2c: tegra: fix pm_runtime leak on mutex_lock failure
If tegra_i2c_mutex_lock() fails, the function returns without calling pm_runtime_put(), leaking the runtime PM reference acquired by the preceding pm_runtime_get_sync(). This prevents the device from ever entering runtime suspend.
Add the missing pm_runtime_put() before returning on lock failure.
From the CVE record · Linux
In the Linux kernel's Tegra I2C driver, a mutex lock failure can leak a runtime power-management reference, preventing the device from entering runtime suspend. The input does not describe an attacker action or specify access, authentication, or user-interaction requirements.
Engineers running Linux kernels with the Tegra I2C driver should check their versions; affected versions are not specified.