Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-48709

ice: switch: fix potential memleak in ice_add_adv_recipe()

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 8b032a55c1bd5d47527263445aba9dc45144b00d to < 47f4ff6f23f00f5501ff2d7054c1a37c170a7aa0affected
  • 8b032a55c1bd5d47527263445aba9dc45144b00d to < 4a606ce68426c88ff2563382b33cc34f3485fe57affected

Linux Linux

Default version status: affected

  • 5.16affected
  • 0 to < 5.16unaffected
  • 6.1.12 to ≤ 6.1.*unaffected
  • 6.2 to ≤ *unaffected

References