[PATCH 0/7] net/ice: fix memory leaks
Bruce Richardson
bruce.richardson at intel.com
Tue Oct 27 16:28:16 CET 2026
On Tue, Oct 27, 2026 at 10:51:30AM +0000, Anurag Mandal wrote:
> This series fixes memory leaks, and one double free, in the ice PMD.
>
> a. The DDP package copy was freed twice when hardware table
> initialization failed during probe.
>
> b. The switch filter management structures, the DDP package copy and
> any remaining VSI contexts were never freed on port close or
> reset.
>
> c. The DDP filename devarg string leaked on probe failure, and when
> the devarg was given more than once.
>
> d. The main VSI leaked when probe failed after PF setup.
>
> e. MAC and VLAN filter entries could stay allocated when a VSI was
> released.
>
> f. A failed flow director setup leaked the FDIR VSI, hash table, hash
> map and counter pools.
>
> g. The flow segment used to create the ACL profiles leaked on every
> ACL engine init.
>
> Anurag Mandal (7):
> net/ice: fix DDP package double free on init failure
> net/ice: fix memory leaks on port close
> net/ice: fix DDP filename leak
> net/ice: fix main VSI leak on init failure
> net/ice: fix MAC and VLAN filter leak on VSI release
> net/ice: fix FDIR resource leak on setup failure
> net/ice: fix ACL profile segment leak
>
See comments inline on each patch. Please respin with all patches CC'ed to
stable for backport, since all the underlying issues are present in earlier
releases.
Thanks,
/Bruce
More information about the dev
mailing list