Skip to content
Heist/ feed
Back to feed
UnratedFix available

net: marvell: prestera: Add missing of_node_put() in prestera_switch_set_base_mac_addr

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: net: marvell: prestera: Add missing of_node_put() in prestera_switch_set_base_mac_addr This node pointer is returned by of_find_compatible_node() with refcount incremented. Calling of_node_put() to aovid the refcount leak.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.29, 5.16.15
CVEs
CVE-2022-48859
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:16 UTC · Revision 1

Source evidence

net: marvell: prestera: Add missing of_node_put() in prestera_switch_set_base_mac_addr

core-osv · Original source

Published 16 Jul 2024, 12:25 UTC

In the Linux kernel, the following vulnerability has been resolved: net: marvell: prestera: Add missing of_node_put() in prestera_switch_set_base_mac_addr This node pointer is returned by of_find_compatible_node() with refcount incremented. Calling of_node_put() to aovid the refcount leak.

osv:CVE-2022-48859

Kernel

Fixed versions: 5.15.29, 5.16.15

Complete source record
{
  "id": "69581c4cbf445087b1aad9ce213785d40a89f49388ca28337289ac2f856d08b2",
  "url": "https://osv.dev/vulnerability/CVE-2022-48859",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "net: marvell: prestera: Add missing of_node_put() in prestera_switch_set_base_mac_addr",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: net: marvell: prestera: Add missing of_node_put() in prestera_switch_set_base_mac_addr This node pointer is returned by of_find_compatible_node() with refcount incremented. Calling of_node_put() to aovid the refcount leak.",
    "evidence": "osv:CVE-2022-48859",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.29",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.16.15",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-48859",
      "aliases": [
        "CVE-2022-48859"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "501ef3066c89d7f9045315e1be58749cf9e6814d"
                },
                {
                  "fixed": "b7c2fd1d126329340639adfb8dd2938fe4b65df7"
                },
                {
                  "fixed": "4cc66bf17220ff9631f9fa99b02a872e0ad5a08b"
                },
                {
                  "fixed": "c9ffa3e2bc451816ce0295e40063514fabf2bd36"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48859.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.10.0"
                },
                {
                  "fixed": "5.15.29"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "5.16.15"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48859.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.595318723Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/4cc66bf17220ff9631f9fa99b02a872e0ad5a08b",
        "https://git.kernel.org/stable/c/b7c2fd1d126329340639adfb8dd2938fe4b65df7",
        "https://git.kernel.org/stable/c/c9ffa3e2bc451816ce0295e40063514fabf2bd36",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48859.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-48859",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48859.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-48859",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 504544,
  "published_at": "2024-07-16T12:25:23.799+00:00"
}