CVE-2020-36782

i2c: imx-lpi2c: fix reference leak when pm_runtime_get_sync fails

State
Published
Severity
Not scored
Published
Feb 28, 2024
Updated
May 11, 2026
Reserved
Feb 26, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

i2c: imx-lpi2c: fix reference leak when pm_runtime_get_sync fails

The PM reference count is not expected to be incremented on return in lpi2c_imx_master_enable.

However, pm_runtime_get_sync will increment the PM reference count even failed. Forgetting to putting operation will result in a reference leak here.

Replace it with pm_runtime_resume_and_get to keep usage counter balanced.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 13d6eb20fc79a1e606307256dad4098375539a09 to before 815859cb1d2302e74f11bf6894bceace9ca9eb4aAffected
  • 13d6eb20fc79a1e606307256dad4098375539a09 to before cc49d206414240483bb93ffa3d80243e6a776916Affected
  • 13d6eb20fc79a1e606307256dad4098375539a09 to before bb300acc867e937edc2a6898e92b21f88e4e4e66Affected
  • 13d6eb20fc79a1e606307256dad4098375539a09 to before b100650d80cd2292f6c152f5f2943b5944b3e8ceAffected
  • 13d6eb20fc79a1e606307256dad4098375539a09 to before 278e5bbdb9a94fa063c0f9bcde2479d0b8042462Affected
LinuxLinux
  • 4.16Affected
  • before 4.16Not affected
  • 5.4.119 through 5.4.*Not affected
  • 5.10.37 through 5.10.*Not affected
  • 5.11.21 through 5.11.*Not affected
  • 5.12.4 through 5.12.*Not affected
  • 5.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.