Lucene search

K
cveLinuxCVE-2020-36784
HistoryFeb 28, 2024 - 9:15 a.m.

CVE-2020-36784

2024-02-2809:15:36
Linux
web.nvd.nist.gov
74
cve-2020-36784
linux kernel
i2c
cadence
pm runtime fix
nvd

AI Score

6.2

Confidence

Low

EPSS

0

Percentile

15.5%

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

i2c: cadence: fix reference leak when pm_runtime_get_sync fails

The PM reference count is not expected to be incremented on
return in functions cdns_i2c_master_xfer and cdns_reg_slave.

However, pm_runtime_get_sync will increment pm usage counter
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 configurations

Vulners
Node
linuxlinux_kernelRange4.55.10.37
OR
linuxlinux_kernelRange5.11.05.11.21
OR
linuxlinux_kernelRange5.12.05.12.4
OR
linuxlinux_kernelRange5.13.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/i2c/busses/i2c-cadence.c"
    ],
    "versions": [
      {
        "version": "7fa32329ca03",
        "lessThan": "30410519328c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7fa32329ca03",
        "lessThan": "d57ff04e0ed6",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7fa32329ca03",
        "lessThan": "a45fc41beed8",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7fa32329ca03",
        "lessThan": "23ceb8462dc6",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/i2c/busses/i2c-cadence.c"
    ],
    "versions": [
      {
        "version": "4.5",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.5",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.37",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.11.21",
        "lessThanOrEqual": "5.11.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.12.4",
        "lessThanOrEqual": "5.12.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.13",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.2

Confidence

Low

EPSS

0

Percentile

15.5%