{"id":"CVE-2026-99029","title":"net: sparx5: free the matchall entry on destroy","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: sparx5: free the matchall entry on destroy\n\nsparx5_tc_matchall_replace() allocates a struct sparx5_mall_entry for\nevery offloaded matchall filter and adds it to sp…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 1ede4acf045ced70d9b72465e2e968aec71e0a42 < fa0c27d9e17ee2e46d4b8274a6fde706f0d6725e","Linux >= 1ede4acf045ced70d9b72465e2e968aec71e0a42 < cc7cc5955d22ea90555f09a680d4bf56d4a0c24a","Linux >= 1ede4acf045ced70d9b72465e2e968aec71e0a42 < 44efb6d92dd5a2b1dd9553d92ef0eebde135fc6e","Linux >= 1ede4acf045ced70d9b72465e2e968aec71e0a42 < 2b82e16d6084cbc651e3c902198f1945408ee1a5","Linux 6.10"],"published":"2026-10-23","updated":"2026-10-23","sourceUpdated":"2026-10-23T12:21:21.898Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-99029","references":[{"url":"https://git.kernel.org/stable/c/fa0c27d9e17ee2e46d4b8274a6fde706f0d6725e"},{"url":"https://git.kernel.org/stable/c/cc7cc5955d22ea90555f09a680d4bf56d4a0c24a"},{"url":"https://git.kernel.org/stable/c/44efb6d92dd5a2b1dd9553d92ef0eebde135fc6e"},{"url":"https://git.kernel.org/stable/c/2b82e16d6084cbc651e3c902198f1945408ee1a5"}],"tags":["cve.org"],"ingestedAt":"2026-10-23T13:24:55.532Z","slug":"CVE-2026-99029","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nnet: sparx5: free the matchall entry on destroy\n\nsparx5_tc_matchall_replace() allocates a struct sparx5_mall_entry for\nevery offloaded matchall filter and adds it to sparx5->mall_entries.\nsparx5_tc_matchall_destroy() removes the entry from the list, but never\nfrees it, so the entry of every deleted mirror and goto matchall filter\nis leaked.\n\nFree the entry after unlinking it.\n\nThe leak was discovered by an AI code review agent, and reproduced with\nkmemleak on a lan969x EV board (EV23X71A) by repeatedly adding and\ndeleting matchall mirror and goto filters. With the fix, kmemleak no\nlonger reports the leak.\n\n## Affected\n\n- `Linux >= 1ede4acf045ced70d9b72465e2e968aec71e0a42 < fa0c27d9e17ee2e46d4b8274a6fde706f0d6725e`\n- `Linux >= 1ede4acf045ced70d9b72465e2e968aec71e0a42 < cc7cc5955d22ea90555f09a680d4bf56d4a0c24a`\n- `Linux >= 1ede4acf045ced70d9b72465e2e968aec71e0a42 < 44efb6d92dd5a2b1dd9553d92ef0eebde135fc6e`\n- `Linux >= 1ede4acf045ced70d9b72465e2e968aec71e0a42 < 2b82e16d6084cbc651e3c902198f1945408ee1a5`\n- `Linux 6.10`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}