dpaa2-switch: Fix memory leak in dpaa2_switch_acl_entry_add() and dpaa2_switch_acl_entry_remove() (Linux Linux)

CVE-2022-48957
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 14 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: 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 happened in dpaa2_switch_acl_entry_add() and dpaa2_switch_acl_entry_remove().

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 1110318d83e8011c4dfcb2f7dd343bcfb1623c5f < 54d830e24247fa8361b016dd2069362866f45cb6 ; affected 1110318d83e8011c4dfcb2f7dd343bcfb1623c5f < 785ee7a82297e1512d9061aae91699212ed65796 ; affected 1110318d83e8011c4dfcb2f7dd343bcfb1623c5f < 4fad22a1281c500f15b172c9d261eff347ca634b
Linux · Linuxaffected 5.13 ; unaffected 0 < 5.13 ; unaffected 5.15.83 ≤ 5.15.* ; unaffected 6.0.13 ≤ 6.0.* ; unaffected 6.1 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD