CVE-2020-36781
published 2024-02-28CVE-2020-36781: In the Linux kernel, the following vulnerability has been resolved: i2c: imx: fix reference leak when pm_runtime_get_sync fails In i2c_imx_xfer() and…
PriorityP417medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.22%
12.9th percentile
In the Linux kernel, the following vulnerability has been resolved:
i2c: imx: fix reference leak when pm_runtime_get_sync fails
In i2c_imx_xfer() and i2c_imx_remove(), the pm reference count
is not expected to be incremented on return.
However, pm_runtime_get_sync will increment 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 | >= 3a5ee18d2a32bda6b9a1260136f6805848e3839d < 3a0cdd336d92c429b51a79bf4f64b17eafa0325d | 3a0cdd336d92c429b51a79bf4f64b17eafa0325d |
| linux | linux | >= 3a5ee18d2a32bda6b9a1260136f6805848e3839d < 1ecc0ebc2ebbad4a22a670a07d27a21fa0b59c77 | 1ecc0ebc2ebbad4a22a670a07d27a21fa0b59c77 |
| linux | linux | >= 3a5ee18d2a32bda6b9a1260136f6805848e3839d < ff406f6cd09c273337ab4854292e4aca48f8affd | ff406f6cd09c273337ab4854292e4aca48f8affd |
| linux | linux | >= 3a5ee18d2a32bda6b9a1260136f6805848e3839d < 47ff617217ca6a13194fcb35c6c3a0c57c080693 | 47ff617217ca6a13194fcb35c6c3a0c57c080693 |
| 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.7 < 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.
GHSA
GHSA-jm6x-683j-pm4v: In the Linux kernel, the following vulnerability has been resolved:
i2c: imx: fix reference leak when pm_runtime_get_sync fails
In i2c_imx_xfer() an
ghsa_unreviewed·2024-02-28
CVE-2020-36781 [MEDIUM] GHSA-jm6x-683j-pm4v: In the Linux kernel, the following vulnerability has been resolved:
i2c: imx: fix reference leak when pm_runtime_get_sync fails
In i2c_imx_xfer() an
In the Linux kernel, the following vulnerability has been resolved:
i2c: imx: fix reference leak when pm_runtime_get_sync fails
In i2c_imx_xfer() and i2c_imx_remove(), the pm reference count
is not expected to be incremented on return.
However, pm_runtime_get_sync will increment 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.
OSV
CVE-2020-36781: In the Linux kernel, the following vulnerability has been resolved: i2c: imx: fix reference leak when pm_runtime_get_sync fails In i2c_imx_xfer() and
osv·2024-02-28·CVSS 5.5
CVE-2020-36781 [MEDIUM] CVE-2020-36781: In the Linux kernel, the following vulnerability has been resolved: i2c: imx: fix reference leak when pm_runtime_get_sync fails In i2c_imx_xfer() and
In the Linux kernel, the following vulnerability has been resolved: i2c: imx: fix reference leak when pm_runtime_get_sync fails In i2c_imx_xfer() and i2c_imx_remove(), the pm reference count is not expected to be incremented on return. However, pm_runtime_get_sync will increment 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: imx: fix reference leak when pm_runtime_get_sync fails
vendor_redhat·2024-02-28·CVSS 5.5
CVE-2020-36781 [MEDIUM] CWE-402 kernel: i2c: imx: fix reference leak when pm_runtime_get_sync fails
kernel: i2c: imx: fix reference leak when pm_runtime_get_sync fails
In the Linux kernel, the following vulnerability has been resolved:
i2c: imx: fix reference leak when pm_runtime_get_sync fails
In i2c_imx_xfer() and i2c_imx_remove(), the pm reference count
is not expected to be incremented on return.
However, pm_runtime_get_sync will increment 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
Pac
Debian
CVE-2020-36781: linux - In the Linux kernel, the following vulnerability has been resolved: i2c: imx: f...
vendor_debian·2020·CVSS 5.5
CVE-2020-36781 [MEDIUM] CVE-2020-36781: linux - In the Linux kernel, the following vulnerability has been resolved: i2c: imx: f...
In the Linux kernel, the following vulnerability has been resolved: i2c: imx: fix reference leak when pm_runtime_get_sync fails In i2c_imx_xfer() and i2c_imx_remove(), the pm reference count is not expected to be incremented on return. However, pm_runtime_get_sync will increment 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/1ecc0ebc2ebbad4a22a670a07d27a21fa0b59c77https://git.kernel.org/stable/c/3a0cdd336d92c429b51a79bf4f64b17eafa0325dhttps://git.kernel.org/stable/c/47ff617217ca6a13194fcb35c6c3a0c57c080693https://git.kernel.org/stable/c/ff406f6cd09c273337ab4854292e4aca48f8affdhttps://git.kernel.org/stable/c/1ecc0ebc2ebbad4a22a670a07d27a21fa0b59c77https://git.kernel.org/stable/c/3a0cdd336d92c429b51a79bf4f64b17eafa0325dhttps://git.kernel.org/stable/c/47ff617217ca6a13194fcb35c6c3a0c57c080693https://git.kernel.org/stable/c/ff406f6cd09c273337ab4854292e4aca48f8affd
2024-02-28
Published