CVE-2020-36778
published 2024-02-28CVE-2020-36778: 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…
PriorityP417medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.22%
13.3th percentile
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
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.10.38-1 (bookworm) | linux 5.10.38-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 10b17004a74c384c6f410af355b0d6d7a168f613 < c977426db644ba476938125597947979e8aba725 | c977426db644ba476938125597947979e8aba725 |
| linux | linux | >= 10b17004a74c384c6f410af355b0d6d7a168f613 < e2ba996577eaea423694dc69ae43d56f1410a22b | e2ba996577eaea423694dc69ae43d56f1410a22b |
| linux | linux | >= 10b17004a74c384c6f410af355b0d6d7a168f613 < a42ac16e6573f19c78f556ea292f5b534fcc4514 | a42ac16e6573f19c78f556ea292f5b534fcc4514 |
| linux | linux | >= 10b17004a74c384c6f410af355b0d6d7a168f613 < a85c5c7a3aa8041777ff691400b4046e56149fd3 | a85c5c7a3aa8041777ff691400b4046e56149fd3 |
| linux | linux_kernel | >= 0 < 5.10.38-1 | 5.10.38-1 |
| linux | linux_kernel | >= 0 < 5.10.38-1 | 5.10.38-1 |
| linux | linux_kernel | >= 0 < 5.10.38-1 | 5.10.38-1 |
| linux | linux_kernel | >= 0 < 5.10.38-1 | 5.10.38-1 |
| linux | linux_kernel | >= 5.11 < 5.11.21 | 5.11.21 |
| linux | linux_kernel | >= 5.12 < 5.12.4 | 5.12.4 |
| linux | linux_kernel | >= 5.6 < 5.10.37 | 5.10.37 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2020-36778: In the Linux kernel, the following vulnerability has been resolved: i2c: xiic: fix reference leak when pm_runtime_get_sync fails The PM reference coun
osv·2024-02-28·CVSS 5.5
CVE-2020-36778 [MEDIUM] CVE-2020-36778: In the Linux kernel, the following vulnerability has been resolved: i2c: xiic: fix reference leak when pm_runtime_get_sync fails The PM reference coun
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.
GHSA
GHSA-f66f-jmx2-2jjm: In the Linux kernel, the following vulnerability has been resolved:
i2c: xiic: fix reference leak when pm_runtime_get_sync fails
The PM reference co
ghsa_unreviewed·2024-02-28
CVE-2020-36778 [MEDIUM] GHSA-f66f-jmx2-2jjm: In the Linux kernel, the following vulnerability has been resolved:
i2c: xiic: fix reference leak when pm_runtime_get_sync fails
The PM reference co
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.
Red Hat
kernel: i2c: xiic: fix reference leak when pm_runtime_get_sync fails
vendor_redhat·2024-02-28·CVSS 5.5
CVE-2020-36778 [MEDIUM] CWE-402 kernel: i2c: xiic: fix reference leak when pm_runtime_get_sync fails
kernel: i2c: xiic: fix reference leak when pm_runtime_get_sync fails
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.
Package: kernel (Red Hat Enterprise Linux 6) - Out of support scope
Package: kernel (Red Hat Enterprise Linux 7) - Out of support scope
Package: kernel-rt (Red Hat Enterprise Linux 7) - Out of support scope
Package: kernel (Red Hat Enterprise Linux 8) - Not affected
Pack
Debian
CVE-2020-36778: linux - In the Linux kernel, the following vulnerability has been resolved: i2c: xiic: ...
vendor_debian·2020·CVSS 5.5
CVE-2020-36778 [MEDIUM] CVE-2020-36778: linux - In the Linux kernel, the following vulnerability has been resolved: i2c: xiic: ...
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.
Scope: local
bookworm: resolved (fixed in 5.10.38-1)
bullseye: resolved (fixed in 5.10.38-1)
forky: resolved (fixed in 5.10.38-1)
sid: resolved (fixed in 5.10.38-1)
trixie: resolved (fixed in 5.10.38-1)
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/a42ac16e6573f19c78f556ea292f5b534fcc4514https://git.kernel.org/stable/c/a85c5c7a3aa8041777ff691400b4046e56149fd3https://git.kernel.org/stable/c/c977426db644ba476938125597947979e8aba725https://git.kernel.org/stable/c/e2ba996577eaea423694dc69ae43d56f1410a22bhttps://git.kernel.org/stable/c/a42ac16e6573f19c78f556ea292f5b534fcc4514https://git.kernel.org/stable/c/a85c5c7a3aa8041777ff691400b4046e56149fd3https://git.kernel.org/stable/c/c977426db644ba476938125597947979e8aba725https://git.kernel.org/stable/c/e2ba996577eaea423694dc69ae43d56f1410a22b
2024-02-28
Published