# CVE-2026-98030: net: dsa: bcm\_sf2: bound the CFP rule dump by the caller's buffer size

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

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 2, 2026-11-26)
- **Published:** 2026-09-25T10:23:46.959Z
- **Modified:** 2026-10-19T10:17:56.990Z

## Who should check

- Anyone running Linux \>= 7318166cacad158b46240f66250d7cc5a481653b, \< ca49c526291d7cd3a5cb49b0edd7f50a5ae7176e; \>= 7318166cacad158b46240f66250d7cc5a481653b, \< 8e41ce02589c92356bfd8ef62f6ceff840546e1a; \>= 7318166cacad158b46240f66250d7cc5a481653b, \< f2cf4ef2d94fc15fd2e21c131fc1ab3f76125bf4; \>= 7318166cacad158b46240f66250d7cc5a481653b, \< f5e93162b3dd195bfda815e8f7a39aaf1d45437b; \>= 7318166cacad158b46240f66250d7cc5a481653b, \< f1a2869b3629c0e8394b77b38cb9f19a018c653c; \>= 7318166cacad158b46240f66250d7cc5a481653b, \< fd1a78c16b1f6978c09cf048e15f349732e4c707; \>= 7318166cacad158b46240f66250d7cc5a481653b, \< b231b6d8516d3fe0d4bba549908e08d26a4531a5; \>= 7318166cacad158b46240f66250d7cc5a481653b, \< cdb719f4b8596d9ccee2d56d204c2c4dce982f46
- Anyone running Linux 4.11

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: dsa: bcm\_sf2: bound the CFP rule dump by the caller's buffer size

bcm\_sf2\_cfp\_rule\_get\_all() walks the whole cfp.unique bitmap into
rule\_locs\[\] without consulting nfc-\>rule\_cnt, which is how many entries
the caller had room for.  ETHTOOL\_GRXCLSRLALL requires no CAP\_NET\_ADMIN
and the ioctl sizes the buffer from the rule\_cnt userspace passes in, so
once an admin has installed CFP rules any user can ask for fewer slots
than there are rules and run off the end of the allocation.  A rule\_cnt
of 0 leaves the buffer pointer NULL and the walk dereferences it.

## Affected and fixed versions

- Linux: \>= 7318166cacad158b46240f66250d7cc5a481653b, \< ca49c526291d7cd3a5cb49b0edd7f50a5ae7176e; \>= 7318166cacad158b46240f66250d7cc5a481653b, \< 8e41ce02589c92356bfd8ef62f6ceff840546e1a; \>= 7318166cacad158b46240f66250d7cc5a481653b, \< f2cf4ef2d94fc15fd2e21c131fc1ab3f76125bf4; \>= 7318166cacad158b46240f66250d7cc5a481653b, \< f5e93162b3dd195bfda815e8f7a39aaf1d45437b; \>= 7318166cacad158b46240f66250d7cc5a481653b, \< f1a2869b3629c0e8394b77b38cb9f19a018c653c; \>= 7318166cacad158b46240f66250d7cc5a481653b, \< fd1a78c16b1f6978c09cf048e15f349732e4c707; \>= 7318166cacad158b46240f66250d7cc5a481653b, \< b231b6d8516d3fe0d4bba549908e08d26a4531a5; \>= 7318166cacad158b46240f66250d7cc5a481653b, \< cdb719f4b8596d9ccee2d56d204c2c4dce982f46 (cvelist)
- Linux: 4.11 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98030. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98030.md
Affected: Linux >= 7318166cacad158b46240f66250d7cc5a481653b, < ca49c526291d7cd3a5cb49b0edd7f50a5ae7176e; >= 7318166cacad158b46240f66250d7cc5a481653b, < 8e41ce02589c92356bfd8ef62f6ceff840546e1a; >= 7318166cacad158b46240f66250d7cc5a481653b, < f2cf4ef2d94fc15fd2e21c131fc1ab3f76125bf4; >= 7318166cacad158b46240f6…
Fixed in: Linux 8e41ce02589c92356bfd8ef62f6ceff840546e1a

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-98030 being exploited?

There is no confirmed exploitation: CVE-2026-98030 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98030?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-98030?

Linux \>= 7318166cacad158b46240f66250d7cc5a481653b, \< ca49c526291d7cd3a5cb49b0edd7f50a5ae7176e; \>= 7318166cacad158b46240f66250d7cc5a481653b, \< 8e41ce02589c92356bfd8ef62f6ceff840546e1a; \>= 7318166cacad158b46240f66250d7cc5a481653b, \< f2cf4ef2d94fc15fd2e21c131fc1ab3f76125bf4; \>= 7318166cacad158b46240f66250d7cc5a481653b, \< f5e93162b3dd195bfda815e8f7a39aaf1d45437b; \>= 7318166cacad158b46240f66250d7cc5a481653b, \< f1a2869b3629c0e8394b77b38cb9f19a018c653c; \>= 7318166cacad158b46240f66250d7cc5a481653b, \< fd1a78c16b1f6978c09cf048e15f349732e4c707; \>= 7318166cacad158b46240f66250d7cc5a481653b, \< b231b6d8516d3fe0d4bba549908e08d26a4531a5; \>= 7318166cacad158b46240f66250d7cc5a481653b, \< cdb719f4b8596d9ccee2d56d204c2c4dce982f46; Linux 4.11.

### Is there a fix for CVE-2026-98030?

Yes. Fixed in Linux 8e41ce02589c92356bfd8ef62f6ceff840546e1a. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-98030?

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/ca49c526291d7cd3a5cb49b0edd7f50a5ae7176e>
- other: <https://git.kernel.org/stable/c/8e41ce02589c92356bfd8ef62f6ceff840546e1a>
- other: <https://git.kernel.org/stable/c/f2cf4ef2d94fc15fd2e21c131fc1ab3f76125bf4>
- other: <https://git.kernel.org/stable/c/f5e93162b3dd195bfda815e8f7a39aaf1d45437b>
- other: <https://git.kernel.org/stable/c/f1a2869b3629c0e8394b77b38cb9f19a018c653c>
- other: <https://git.kernel.org/stable/c/fd1a78c16b1f6978c09cf048e15f349732e4c707>
- other: <https://git.kernel.org/stable/c/b231b6d8516d3fe0d4bba549908e08d26a4531a5>
- other: <https://git.kernel.org/stable/c/cdb719f4b8596d9ccee2d56d204c2c4dce982f46>

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

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