CVE-2026-98948
What it is
A flaw in the Linux kernel's driver for Mellanox Spectrum network switches: setting up a template for traffic rules that use port ranges takes up a limited hardware resource that is never given back, even when the template is deleted. The record does not describe an attack.
Written in plain English by AI from the official record. Show the official wording
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.
Chance of being attacked in the next 30 days: 0.2 % (EPSS).
What it affects, and the version that fixes it
- Linux Kernel Each release has its own fixed version: 6.6.160, 6.12.113, 6.18.57, 7.2.11, 7.3.
The official vulnerability database has not reviewed this record yet, so this comes from the vendor's own listing and may be incomplete.