Lucene search

K
cvelistLinuxCVELIST:CVE-2022-48856
HistoryJul 16, 2024 - 12:25 p.m.

CVE-2022-48856 gianfar: ethtool: Fix refcount leak in gfar_get_ts_info

2024-07-1612:25:21
Linux
www.cve.org
7
linux
kernel
gianfar
ethtool
vulnerability
refcount
fix
cve-2022-48856
of_node_put

EPSS

0

Percentile

5.1%

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

gianfar: ethtool: Fix refcount leak in gfar_get_ts_info

The of_find_compatible_node() function returns a node pointer with
refcount incremented, We should use of_node_put() on it when done
Add the missing of_node_put() to release the refcount.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/ethernet/freescale/gianfar_ethtool.c"
    ],
    "versions": [
      {
        "version": "7349a74ea75c",
        "lessThan": "6263f2eb93a8",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7349a74ea75c",
        "lessThan": "f7b3b5203491",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7349a74ea75c",
        "lessThan": "21044e679ed5",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7349a74ea75c",
        "lessThan": "f49f646f9ec2",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7349a74ea75c",
        "lessThan": "0e1b9a2078e0",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7349a74ea75c",
        "lessThan": "2ac5b58e645c",
        "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/net/ethernet/freescale/gianfar_ethtool.c"
    ],
    "versions": [
      {
        "version": "4.18",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.18",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.235",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.185",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.106",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.29",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.16.15",
        "lessThanOrEqual": "5.16.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.17",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]