Description
In the Linux kernel, the following vulnerability has been resolved:

mlxsw: spectrum_flower: Fix port range register leak in tmplt_create()

mlxsw_sp_flower_tmplt_create() parses a flow_cls_offload template
into a stack-local struct mlxsw_sp_acl_rule_info purely to compute
rulei.values.elusage. Parsing can acquire port range registers via
mlxsw_sp_flower_parse_ports_range(), but since this rulei never goes
through mlxsw_sp_acl_rulei_destroy(), those registers were never
released, including through chain template deletion.

Factor out of mlxsw_sp_acl_rulei_destroy() the code to actually
release the necessary resources and call from
mlxsw_sp_flower_tmplt_create() to plug the leak.

The issue was found during a review of Wentao Liang's patch referenced
below.
Published: 2026-10-23
Score: 2.3 Low
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via resource exhaustion
Action: Patch
AI Analysis

Impact

The flaw occurs in the mlxsw_sp_flower_tmplt_create() function, where port range registers allocated during template parsing are never released because the cleanup path is missing. The leak accumulates each time a template is created, so on a busy system it can exhaust the limited pool of port range registers, causing further template creation to fail and potentially affecting networking functionality. This is a denial‑of‑service issue affecting the kernel, not a direct code‑execution flaw.

Affected Systems

The vulnerability exists in the Linux kernel in the mlxsw driver for Spectrum flower network devices. Any kernel that loads this module and provides flow offload templates is affected, regardless of the exact kernel version, as the patch that fixes the leak changes only the driver code.

Risk and Exploitability

The EPSS score is < 1%, indicating a low probability of exploitation, and the vulnerability is not listed in CISA KEV, so there is no evidence of widespread exploitation. The flaw could be triggered by privileged users or applications that create a large number of flow templates, leading to exhaustion of resources and a denial of service. Based on the description, it is inferred that the attacker must have the capability to create flow templates, which typically requires elevated privileges or local interaction with the kernel. Because the flaw is confined to kernel internal functions, it requires local or privileged access and there is no known network‑side or user‑land attack vector. The CVSS score of 2.3 indicates a low severity, but the potential for service disruption suggests a moderate‑to‑high concern for systems running this driver.

Generated by OpenCVE AI on October 29, 2026 at 22:00 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that incorporates the commit (c8e934287debb29c6ded86b21e49fc72e186d15e) which releases the leaked port range registers.
  • If a kernel update is not immediately possible, limit the use of flow templates that specify port range registers and delete existing templates when they are no longer needed.
  • Disable the mlxsw driver or spectrum flower functionality on systems that do not require it.

Generated by OpenCVE AI on October 29, 2026 at 22:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 29 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

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

Type Values Removed Values Added
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 17:00:00 +0000

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

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

Type Values Removed Values Added
Weaknesses CWE-401
CWE-772

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

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: mlxsw: spectrum_flower: Fix port range register leak in tmplt_create() mlxsw_sp_flower_tmplt_create() parses a flow_cls_offload template into a stack-local struct mlxsw_sp_acl_rule_info purely to compute rulei.values.elusage. Parsing can acquire port range registers via mlxsw_sp_flower_parse_ports_range(), but since this rulei never goes through mlxsw_sp_acl_rulei_destroy(), those registers were never released, including through chain template deletion. Factor out of mlxsw_sp_acl_rulei_destroy() the code to actually release the necessary resources and call from mlxsw_sp_flower_tmplt_create() to plug the leak. The issue was found during a review of Wentao Liang's patch referenced below.
Title mlxsw: spectrum_flower: Fix port range register leak in tmplt_create()
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:19:08.043Z

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

Link: CVE-2026-98948

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-98948

cve-icon Redhat

Severity : Low

Publid Date: 2026-10-23T12:19:08Z

Links: CVE-2026-98948 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-29T22:00:09Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime