CVE-2022-48957

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

State
Published
Severity
Not scored
Published
Oct 21, 2024
Updated
May 11, 2026
Reserved
Aug 22, 2024

Read the record on cve.org

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().

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1110318d83e8011c4dfcb2f7dd343bcfb1623c5f to before 54d830e24247fa8361b016dd2069362866f45cb6Affected
  • 1110318d83e8011c4dfcb2f7dd343bcfb1623c5f to before 785ee7a82297e1512d9061aae91699212ed65796Affected
  • 1110318d83e8011c4dfcb2f7dd343bcfb1623c5f to before 4fad22a1281c500f15b172c9d261eff347ca634bAffected
LinuxLinux
  • 5.13Affected
  • before 5.13Not affected
  • 5.15.83 through 5.15.*Not affected
  • 6.0.13 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.