CVE-2020-36780

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-36780
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-36780.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-36780
Downstream
Related
Published
2024-02-28T09:15:36Z
Modified
2025-08-09T19:01:26Z
Summary
[none]
Details

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

i2c: sprd: fix reference leak when pmruntimeget_sync fails

The PM reference count is not expected to be incremented on return in sprdi2cmasterxfer() and sprdi2c_remove().

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

Replace it with pmruntimeresumeandget to keep usage counter balanced.

References

Affected packages