CVE-2026-99029: net: sparx5: free the matchall entry on destroy
In the Linux kernel, the following vulnerability has been resolved:
net: sparx5: free the matchall entry on destroy
sparx5tcmatchallreplace() allocates a struct sparx5mallentry for every offloaded matchall filter and adds it to sparx5->mallentries. sparx5tcmatchalldestroy() removes the entry from the list, but never frees it, so the entry of every deleted mirror and goto matchall filter is leaked.
Free the entry after unlinking it.
The leak was discovered by an AI code review agent, and reproduced with kmemleak on a lan969x EV board (EV23X71A) by repeatedly adding and deleting matchall mirror and goto filters. With the fix, kmemleak no longer reports the leak.