CVE-2026-98948: mlxsw: spectrum_flower: Fix port range register leak in tmplt_create()

Published Oct 23, 2026
·
Updated

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

1 affected component
Linux Linux kernel

Event History

Oct 23, 2026
CVE Published
via MITRE·12:19 PM
Data Sourced
via MITRE·12:19 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203