Skip to main content
← All vulnerabilities
CVE-2026-99029EUVD-2026-108824GHSA-V4VF-8PF4-46V5

net: sparx5: free the matchall entry on destroy

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.12.113, 6.18.57, 7.2.11
None on Exploit-DB, Metasploit or GitHub

Summary

In the Linux kernel, the following vulnerability has been resolved: net: sparx5: free the matchall entry on destroy sparx5_tc_matchall_replace() allocates a struct sparx5_mall_entry for every offloaded matchall filter and adds it to sparx5->mall_entries. sparx5_tc_matchall_destroy() 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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • Linux Linux

    From 1ede4acf045ced70d9b72465e2e968aec71e0a42 · fixed in fa0c27d9e17ee2e46d4b8274a6fde706f0d6725e; From 1ede4acf045ced70d9b72465e2e968aec71e0a42 · fixed in cc7cc5955d22ea90555f09a680d4bf56d4a0c24a; From 1ede4acf045ced70d9b72465e2e968aec71e0a42 · fixed in 44efb6d92dd5a2b1dd9553d92ef0eebde135fc6e; From 1ede4acf045ced70d9b72465e2e968aec71e0a42 · fixed in 2b82e16d6084cbc651e3c902198f1945408ee1a5

  • Linux Linux

    6.10

  • KernelLinux

    From 6.10.0 · fixed in 6.12.113; From 6.13.0 · fixed in 6.18.57; From 6.19.0 · fixed in 7.2.11

References 4

git.kernel.org