Back

MEDIUM

ice: switch: fix potential memleak in ice_add_adv_recipe()

Published May 21, 2024

Description

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

Remediation

No remediation recorded yet.

Weaknesses (2)

References (8)

Change history (0)

No recorded changes yet.

Sources

CVE.org / MITRE

Status PUBLISHED
Assigner Linux
Published May 21, 2024
Updated May 11, 2026
Reserved May 3, 2024

CISA Vulnrichment

Updated May 22, 2024

NVD

Status Analyzed
Modified Jun 17, 2026

Red Hat

Severity Low
Public date May 21, 2024
Bugzilla 2282606

ENISA EUVD

Assigner Linux
Published May 21, 2024
Updated May 11, 2026

GitHub

No data