Lucene search
K

CVE-2022-48957 dpaa2-switch: Fix memory leak in dpaa2_switch_acl_entry_add() and dpaa2_switch_acl_entry_remove()

🗓️ 21 Oct 2024 20:05:43Reported by LinuxType 
cvelist
 cvelist
🔗 www.cve.org👁 26 Views

CVE-2022-48957 dpaa2-switch: Fix memory leak in dpaa2_switch_acl_entry_add() and dpaa2_switch_acl_entry_remove(). The cmd_buff needs to be freed when error occurred

Related
Affected
Refs
[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-flower.c"
    ],
    "versions": [
      {
        "version": "1110318d83e8011c4dfcb2f7dd343bcfb1623c5f",
        "lessThan": "54d830e24247fa8361b016dd2069362866f45cb6",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1110318d83e8011c4dfcb2f7dd343bcfb1623c5f",
        "lessThan": "785ee7a82297e1512d9061aae91699212ed65796",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1110318d83e8011c4dfcb2f7dd343bcfb1623c5f",
        "lessThan": "4fad22a1281c500f15b172c9d261eff347ca634b",
        "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/dpaa2/dpaa2-switch-flower.c"
    ],
    "versions": [
      {
        "version": "5.13",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.13",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "5.15.83",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.0.13",
        "lessThanOrEqual": "6.0.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.1",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation