Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2022-48656
HistoryApr 28, 2024 - 1:01 p.m.

CVE-2022-48656 dmaengine: ti: k3-udma-private: Fix refcount leak bug in of_xudma_dev_get()

2024-04-2813:01:04
Linux
github.com
4
linux kernel
vulnerability
dmaengine
ti
k3-udma-private

AI Score

6.7

Confidence

Low

EPSS

0

Percentile

15.5%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

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

dmaengine: ti: k3-udma-private: Fix refcount leak bug in of_xudma_dev_get()

We should call of_node_put() for the reference returned by
of_parse_phandle() in fail path or when it is not used anymore.
Here we only need to move the of_node_put() before the check.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/dma/ti/k3-udma-private.c"
    ],
    "versions": [
      {
        "version": "d70241913413",
        "lessThan": "aa11dae059a4",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "d70241913413",
        "lessThan": "dd5a6c5a0875",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "d70241913413",
        "lessThan": "a17df55bf6d5",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "d70241913413",
        "lessThan": "f9fdb0b86f08",
        "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/dma/ti/k3-udma-private.c"
    ],
    "versions": [
      {
        "version": "5.6",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.6",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.146",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.71",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.19.12",
        "lessThanOrEqual": "5.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.0",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.7

Confidence

Low

EPSS

0

Percentile

15.5%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial