◆ CVE Hub

CVE-2026-99029

net: sparx5: free the matchall entry on destroy

Published
2026-10-23
Last modified
2026-10-23
CNA
Linux
NVD status
Received

Fetching some sources has been requested. Reload in about a minute to see them.

CVSS v3.1 (listed by NVD)
—
Not scored
CVSS v4.0 (listed by NVD)
—
Not scored
CVSS (listed by CVE.org)
—
Not scored
EPSS exploit probability
0.2%
Percentile 10.5%
as of 2026-10-24
CISA KEV
—
Not listed

Description

NVD

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.

Affected products and packages

CNA (CVE.org)

VendorProductVersions
LinuxLinux
affected: 1ede4acf045ced70d9b72465e2e968aec71e0a42 … < fa0c27d9e17ee2e46d4b8274a6fde706f0d6725e
affected: 1ede4acf045ced70d9b72465e2e968aec71e0a42 … < cc7cc5955d22ea90555f09a680d4bf56d4a0c24a
affected: 1ede4acf045ced70d9b72465e2e968aec71e0a42 … < 44efb6d92dd5a2b1dd9553d92ef0eebde135fc6e
affected: 1ede4acf045ced70d9b72465e2e968aec71e0a42 … < 2b82e16d6084cbc651e3c902198f1945408ee1a5
default: unaffected
LinuxLinux
affected: 6.10
unaffected: 0 … < 6.10
unaffected: 6.12.113 … <= 6.12.*
unaffected: 6.18.57 … <= 6.18.*
unaffected: 7.2.11 … <= 7.2.*
unaffected: 7.3 … <= *
default: affected

Open-source packages (GitHub Advisory / OSV)

net: sparx5: free the matchall entry on destroy

EcosystemPackageAffected versionsFixed in
>= 1ede4acf045ced70d9b72465e2e968aec71e0a42, < fa0c27d9e17ee2e46d4b8274a6fde706f0d6725e; < cc7cc5955d22ea90555f09a680d4bf56d4a0c24a; < 44efb6d92dd5a2b1dd9553d92ef0eebde135fc6e; < 2b82e16d6084cbc651e3c902198f1945408ee1a5fa0c27d9e17ee2e46d4b8274a6fde706f0d6725e, cc7cc5955d22ea90555f09a680d4bf56d4a0c24a, 44efb6d92dd5a2b1dd9553d92ef0eebde135fc6e, 2b82e16d6084cbc651e3c902198f1945408ee1a5
LinuxKernel>= 6.10.0, < 6.12.113; >= 6.13.0, < 6.18.57; >= 6.19.0, < 7.2.116.12.113, 6.18.57, 7.2.11

Linux distribution status

Red Hat ↗ Fetching

Debian ↗

ReleasePackageStatusFixed version / notes
bookwormlinuxnot-affected unimportant
forkylinuxresolved not yet assigned7.2.11-1
sidlinuxresolved not yet assigned7.2.11-1
trixielinuxresolved not yet assigned6.12.113-1

Ubuntu ↗ Fetching

References (7)