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.
Published: 2026-10-23
Score: 2.3 Low
EPSS: < 1% Very Low
KEV: No
Impact: Memory Leak in Linux sparx5 driver
Action: Patch immediately
AI Analysis

Impact

A kernel memory leak is caused by the Linux sparx5 network driver when destroying matchall filter entries. The function that removes a matchall entry from the internal list fails to free the allocated structure, leaving the memory resident in the kernel heap. This deficiency is a classic improper release vulnerability classified as CWE-772. The leak gradually consumes kernel memory space as filters are repeatedly added and deleted.

Affected Systems

The vulnerability exists in the sparx5 driver component of the Linux kernel, affecting any distribution that includes the unpatched kernel code. Embedded platforms such as the lan969x EV board (EV23X71A) that use the driver for offloaded matchall mirror and goto filters are explicitly impacted, but any system running a kernel version with the missing patch is susceptible.

Risk and Exploitability

The ability to add and remove matchall filters requires access to the traffic control subsystem, which typically demands local or elevated privileges; the likely attack vector is therefore local exploitation. No remote exploitation path is disclosed. The EPSS score is < 1% and the CVSS score is 2.3, indicating low severity; the vulnerability is not listed in CISA’s KEV catalog, suggesting no known widespread exploitation. An attacker with sufficient privilege who repeatedly executes the add/delete cycle could exhaust kernel memory, leading to instability or a kernel panic. The low severity score but potential for resource exhaustion still warrants prompt remediation.

Generated by OpenCVE AI on October 29, 2026 at 14:27 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel patch that frees the matchall entry after unlinking. This is the official solution released by the kernel maintainers.
  • Restart networking interfaces or reboot the system to ensure the updated driver is loaded and any leaked memory is cleared.
  • Monitor kernel memory usage with kmemleak or /proc/meminfo to confirm the absence of lingering leaks and validate the fix’s effectiveness.

Generated by OpenCVE AI on October 29, 2026 at 14:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 29 Oct 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 2.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L'}

threat_severity

Low


Fri, 23 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux

Fri, 23 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
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.
Title net: sparx5: free the matchall entry on destroy
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-23T12:21:21.898Z

Reserved: 2026-09-25T10:25:14.386Z

Link: CVE-2026-99029

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-23T13:17:25.963

Modified: 2026-10-23T13:17:25.963

Link: CVE-2026-99029

cve-icon Redhat

Severity : Low

Publid Date: 2026-10-23T00:00:00Z

Links: CVE-2026-99029 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-29T14:30:16Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime