CVE-2022-48709

ice: switch: fix potential memleak in ice_add_adv_recipe()

State
Published
Severity
Not scored
Published
May 21, 2024
Updated
May 11, 2026
Reserved
May 3, 2024

Read the record on cve.org

Description

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

ice: switch: fix potential memleak in ice_add_adv_recipe()

When ice_add_special_words() fails, the 'rm' is not released, which will lead to a memory leak. Fix this up by going to 'err_unroll' label.

Compile tested only.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 8b032a55c1bd5d47527263445aba9dc45144b00d to before 47f4ff6f23f00f5501ff2d7054c1a37c170a7aa0Affected
  • 8b032a55c1bd5d47527263445aba9dc45144b00d to before 4a606ce68426c88ff2563382b33cc34f3485fe57Affected
LinuxLinux
  • 5.16Affected
  • before 5.16Not affected
  • 6.1.12 through 6.1.*Not affected
  • 6.2 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.