# CVE-2026-98948: mlxsw: spectrum\_flower: Fix port range register leak in tmplt\_create()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-10-23T12:19:08.043Z
- **Modified:** 2026-10-23T13:17:15.893Z

## Who should check

- Anyone running Linux \>= fe22f7410527c2077223b5fd0fc0458db912f0db, \< 41ad5bcf0219aaebf8ffb052c5e8177479330cde; \>= fe22f7410527c2077223b5fd0fc0458db912f0db, \< c8e934287debb29c6ded86b21e49fc72e186d15e; \>= fe22f7410527c2077223b5fd0fc0458db912f0db, \< 3938430f0237c59ca08d6a366e7657b2b7f8d0bb; \>= fe22f7410527c2077223b5fd0fc0458db912f0db, \< 4eaf1285b5c1e42f80e47f9fe0d391e70418db02; \>= fe22f7410527c2077223b5fd0fc0458db912f0db, \< 7ea07afb230f1342ab0f9365edd0aae137f425d3
- Anyone running Linux 6.6

## 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

- Linux: \>= fe22f7410527c2077223b5fd0fc0458db912f0db, \< 41ad5bcf0219aaebf8ffb052c5e8177479330cde; \>= fe22f7410527c2077223b5fd0fc0458db912f0db, \< c8e934287debb29c6ded86b21e49fc72e186d15e; \>= fe22f7410527c2077223b5fd0fc0458db912f0db, \< 3938430f0237c59ca08d6a366e7657b2b7f8d0bb; \>= fe22f7410527c2077223b5fd0fc0458db912f0db, \< 4eaf1285b5c1e42f80e47f9fe0d391e70418db02; \>= fe22f7410527c2077223b5fd0fc0458db912f0db, \< 7ea07afb230f1342ab0f9365edd0aae137f425d3 (cvelist)
- Linux: 6.6 (cvelist)

## Mitigation

- Upgrade Linux to 7ea07afb230f1342ab0f9365edd0aae137f425d3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- other: <https://git.kernel.org/stable/c/41ad5bcf0219aaebf8ffb052c5e8177479330cde>
- other: <https://git.kernel.org/stable/c/c8e934287debb29c6ded86b21e49fc72e186d15e>
- other: <https://git.kernel.org/stable/c/3938430f0237c59ca08d6a366e7657b2b7f8d0bb>
- other: <https://git.kernel.org/stable/c/4eaf1285b5c1e42f80e47f9fe0d391e70418db02>
- other: <https://git.kernel.org/stable/c/7ea07afb230f1342ab0f9365edd0aae137f425d3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98948>

HTML: <https://flawdb.com/CVE-2026-98948> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98948>
