Lucene search

K
cveLinuxCVE-2022-48656
HistoryApr 28, 2024 - 1:15 p.m.

CVE-2022-48656

2024-04-2813:15:07
CWE-401
Linux
web.nvd.nist.gov
40
linux kernel
vulnerability
cve-2022-48656
resolved
fix
refcount leak
dmaengine
ti
k3-udma-private
of_xudma_dev_get
of_node_put
of_parse_phandle
fail path
nvd

CVSS3

5.5

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

15.5%

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.

Affected configurations

Nvd
Vulners
Node
linuxlinux_kernelRange5.6.05.10.146
OR
linuxlinux_kernelRange5.11.05.15.71
OR
linuxlinux_kernelRange5.16.05.19.12
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/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"
      }
    ]
  }
]

CVSS3

5.5

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

15.5%