i2c: sprd: fix reference leak when pm_runtime_get_sync fails
Published Feb 28, 2024
4.7
MEDIUMCVSS 3.1
EPSS 0.23%
Description
The PM reference count is not expected to be incremented on return in sprd_i2c_master_xfer() and sprd_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 products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 4.14StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<4.14
- Version 5.10.37StatusunaffectedConstraints<=5.10.*
- Version 5.11.21StatusunaffectedConstraints<=5.11.*
- Version 5.12.4StatusunaffectedConstraints<=5.12.*
- Version 5.13StatusunaffectedConstraints<=*
- Version 5.4.119StatusunaffectedConstraints<=5.4.*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| ||||||||||||||||||||||||
| Linux | Linux | affected |
|
- ≥ 4.14 · < 5.4.119
- ≥ 5.5 · < 5.10.37
- ≥ 5.11 · < 5.11.21
- ≥ 5.12 · < 5.12.4
No data.
Red Hat Enterprise Linux 6
kernel
Out of support scope
Red Hat Enterprise Linux 7
kernel
Out of support scope
Red Hat Enterprise Linux 7
kernel-rt
Out of support scope
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Out of support scope | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Mar 4, 2024 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2024–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (6 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.23% (0.00228) | 12.27th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.23% (0.00228) | 13.32th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.05% (0.00048) | 12.07th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00045) | 17.70th | v3 (v2023.03.01) |
| May 4, 2024 | 0.04% (0.00045) | 14.37th | v3 (v2023.03.01) |
| Feb 29, 2024 | 0.04% (0.00045) | 12.34th | v3 (v2023.03.01) |
References (10)
- https://access.redhat.com/security/cve/CVE-2020-36780 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2266944 Issue Tracking
- https://git.kernel.org/stable/c/3a4f326463117cee3adcb72999ca34a9aaafda93 Patch
- https://git.kernel.org/stable/c/7e1764312440c5df9dfe6b436035a03673b0c1b9 Patch
- https://git.kernel.org/stable/c/9223505e938ba3db5907e058f4209770cff2f2a7 Patch
- https://git.kernel.org/stable/c/d3406ab52097328a3bc4cbe124bfd8f6d51fb86f Patch
- https://git.kernel.org/stable/c/e547640cee7981fd751d2c9cde3a61bdb678b755 Patch
- https://lore.kernel.org/linux-cve-announce/2024022820-CVE-2020-36780-9637@gregkh/T/#u
- https://nvd.nist.gov/vuln/detail/CVE-2020-36780
- https://www.cve.org/CVERecord?id=CVE-2020-36780
Change history (0)
No recorded changes yet.