CVE-2020-36778

published 28 Feb 2024 · updated 11 May 2026

i2c: xiic: fix reference leak when pm_runtime_get_sync fails

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel a42ac16e6573f19c78f556ea292f5b534fcc4514, Kernel a85c5c7a3aa8041777ff691400b4046e56149fd3, Kernel c977426db644ba476938125597947979e8aba725 and 1 more.

In the Linux kernel, the following vulnerability has been resolved: i2c: xiic: fix reference leak when pm_runtime_get_sync fails The PM reference count is not expected to be incremented on return in xiic_xfer and xiic_i2c_remove. 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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.6, >=10b17004a74c384c6f410af355b0d6d7a168f613 <a42ac16e6573f19c78f556ea292f5b534fcc4514, >=10b17004a74c384c6f410af355b0d6d7a168f613 <a85c5c7a3aa8041777ff691400b4046e56149fd3, >=10b17004a74c384c6f410af355b0d6d7a168f613 <c977426db644ba476938125597947979e8aba725, >=10b17004a74c384c6f410af355b0d6d7a168f613 <e2ba996577eaea423694dc69ae43d56f1410a22ba42ac16e6573f19c78f556ea292f5b534fcc4514, a85c5c7a3aa8041777ff691400b4046e56149fd3, c977426db644ba476938125597947979e8aba725, e2ba996577eaea423694dc69ae43d56f1410a22b

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2020-36778 severity on Zeptric[![CVE-2020-36778](https://zeptric.io/badge/cve/CVE-2020-36778.svg)](https://zeptric.io/cve/CVE-2020-36778)