CVE-2026-98948
mlxsw: spectrum_flower: Fix port range register leak in tmplt_create()
Mitigation
- Upgrade Linux to 7ea07afb230f1342ab0f9365edd0aae137f425d3 or later.
Who should check
- Anyone running Linux >= fe22f7410527c2077223b5fd0fc0458db912f0db, < 41ad5bcf0219aaebf8ffb052c5e8177479330cde; >= fe22f7410527c2077223b5fd0fc0458db912f0db, < c8e934287debb29c6ded86b21e49fc72e186d15e; >= fe22f7410527c2077223b5fd0fc0458db912f0db, < 3938430f0237c59ca08d6a366e7657b2b7f8d0bb; >= fe22f7410527c2077223b5fd0fc0458db912f0db, < 4eaf1285b5c1e42f80e47f9fe0d391e70418db02; >= fe22f7410527c2077223b5fd0fc0458db912f0db, < 7ea07afb230f1342ab0f9365edd0aae137f425d3
- Anyone running Linux 6.6
Vulnerability facts
- Affected
- Linux >= fe22f7410527c2077223b5fd0fc0458db912f0db, < 41ad5bcf0219aaebf8ffb052c5e8177479330cde; >= fe22f7410527c2077223b5fd0fc0458db912f0db, < c8e934287debb29c6ded86b21e49fc72e186d15e; >= fe22f7410527c2077223b5fd0fc0458db912f0db, < 3938430f0237c59ca08d6a366e7657b2b7f8d0bb; >= fe22f7410527c2077223b5fd0fc0458db912f0db, < 4eaf1285b5c1e42f80e47f9fe0d391e70418db02; >= fe22f7410527c2077223b5fd0fc0458db912f0db, < 7ea07afb230f1342ab0f9365edd0aae137f425d3; Linux 6.6
- Fixed in
- Linux 41ad5bcf0219aaebf8ffb052c5e8177479330cde, Linux 3938430f0237c59ca08d6a366e7657b2b7f8d0bb, Linux 4eaf1285b5c1e42f80e47f9fe0d391e70418db02, Linux 7ea07afb230f1342ab0f9365edd0aae137f425d3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= fe22f7410527c2077223b5fd0fc0458db912f0db, < 41ad5bcf0219aaebf8ffb052c5e8177479330cde; >= fe22f7410527c2077223b5fd0fc0458db912f0db, < c8e934287debb29c6ded86b21e49fc72e186d15e; >= fe22f7410527c2077223b5fd0fc0458db912f0db, < 3938430f0237c59ca08d6a366e7657b2b7f8d0bb; >= fe22f7410527c2077223b5fd0fc0458db912f0db, < 4eaf1285b5c1e42f80e47f9fe0d391e70418db02; >= fe22f7410527c2077223b5fd0fc0458db912f0db, < 7ea07afb230f1342ab0f9365edd0aae137f425d3 | — | cvelist |
| Linux | 6.6 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98948. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98948.md Affected: Linux >= fe22f7410527c2077223b5fd0fc0458db912f0db, < 41ad5bcf0219aaebf8ffb052c5e8177479330cde; >= fe22f7410527c2077223b5fd0fc0458db912f0db, < c8e934287debb29c6ded86b21e49fc72e186d15e; >= fe22f7410527c2077223b5fd0fc0458db912f0db, < 3938430f0237c59ca08d6a366e7657b2b7f8d0bb; >= fe22f7410527c2077223b5f… Fixed in: Linux 41ad5bcf0219aaebf8ffb052c5e8177479330cde, Linux 3938430f0237c59ca08d6a366e7657b2b7f8d0bb, Linux 4eaf1285b5c1e42f80e47f9fe0d391e70418db02, Linux 7ea07afb230f1342ab0f9365edd0aae137f425d3 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/41ad5bcf0219aaebf8ffb052c5e8177479330cde
- https://git.kernel.org/stable/c/c8e934287debb29c6ded86b21e49fc72e186d15e
- https://git.kernel.org/stable/c/3938430f0237c59ca08d6a366e7657b2b7f8d0bb
- https://git.kernel.org/stable/c/4eaf1285b5c1e42f80e47f9fe0d391e70418db02
- https://git.kernel.org/stable/c/7ea07afb230f1342ab0f9365edd0aae137f425d3
FAQ
Is CVE-2026-98948 being exploited?
There is no confirmed exploitation: CVE-2026-98948 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98948?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-98948?
Linux >= fe22f7410527c2077223b5fd0fc0458db912f0db, < 41ad5bcf0219aaebf8ffb052c5e8177479330cde; >= fe22f7410527c2077223b5fd0fc0458db912f0db, < c8e934287debb29c6ded86b21e49fc72e186d15e; >= fe22f7410527c2077223b5fd0fc0458db912f0db, < 3938430f0237c59ca08d6a366e7657b2b7f8d0bb; >= fe22f7410527c2077223b5fd0fc0458db912f0db, < 4eaf1285b5c1e42f80e47f9fe0d391e70418db02; >= fe22f7410527c2077223b5fd0fc0458db912f0db, < 7ea07afb230f1342ab0f9365edd0aae137f425d3; Linux 6.6.
Is there a fix for CVE-2026-98948?
Yes. Fixed in Linux 41ad5bcf0219aaebf8ffb052c5e8177479330cde, Linux 3938430f0237c59ca08d6a366e7657b2b7f8d0bb, Linux 4eaf1285b5c1e42f80e47f9fe0d391e70418db02, Linux 7ea07afb230f1342ab0f9365edd0aae137f425d3. Upgrade Linux to 7ea07afb230f1342ab0f9365edd0aae137f425d3 or later.
How do I check if I'm affected by CVE-2026-98948?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.