# CVE-2026-99029: net: sparx5: free the matchall entry on destroy

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-10-23T12:21:21.898Z
- Modified: 2026-10-23T13:17:25.963Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1ede4acf045ced70d9b72465e2e968aec71e0a42 before fa0c27d9e17ee2e46d4b8274a6fde706f0d6725e; from 1ede4acf045ced70d9b72465e2e968aec71e0a42 before cc7cc5955d22ea90555f09a680d4bf56d4a0c24a; from 1ede4acf045ced70d9b72465e2e968aec71e0a42 before 44efb6d92dd5a2b1dd9553d92ef0eebde135fc6e; from 1ede4acf045ced70d9b72465e2e968aec71e0a42 before 2b82e16d6084cbc651e3c902198f1945408ee1a5; 6.10 (not affected: before 6.10; from 6.12.113 up to 6.12.*; from 6.18.57 up to 6.18.*; from 7.2.11 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/fa0c27d9e17ee2e46d4b8274a6fde706f0d6725e>
- <https://git.kernel.org/stable/c/cc7cc5955d22ea90555f09a680d4bf56d4a0c24a>
- <https://git.kernel.org/stable/c/44efb6d92dd5a2b1dd9553d92ef0eebde135fc6e>
- <https://git.kernel.org/stable/c/2b82e16d6084cbc651e3c902198f1945408ee1a5>

## Sources

- CVE List: [CVE-2026-99029](https://www.cve.org/CVERecord?id=CVE-2026-99029), CVE Terms of Use, modified 2026-10-23
- NVD: [CVE-2026-99029](https://nvd.nist.gov/vuln/detail/CVE-2026-99029), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-99029 · Whole record: https://cve.day/CVE-2026-99029.json · Rebuilt by cve.day 2026-11-25T22:59:46.953Z
