AZL-110753: CVE-2026-98948 affecting package kernel 6.6.157.1-1
In the Linux kernel, the following vulnerability has been resolved:
mlxsw: spectrumflower: Fix port range register leak in tmpltcreate()
mlxswspflowertmpltcreate() parses a flowclsoffload template into a stack-local struct mlxswspaclruleinfo purely to compute rulei.values.elusage. Parsing can acquire port range registers via mlxswspflowerparseportsrange(), but since this rulei never goes through mlxswspaclruleidestroy(), those registers were never released, including through chain template deletion.
Factor out of mlxswspaclruleidestroy() the code to actually release the necessary resources and call from mlxswspflowertmpltcreate() to plug the leak.
The issue was found during a review of Wentao Liang's patch referenced below.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
kernelto a version that resolves this vulnerability.Patch mlxsw: spectrum_flower: Fix port range register leak in tmplt_create()