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.
Published: 2026-09-25
Score: 7 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Immediate Patch
AI Analysis

Impact

The Linux kernel BCM‑SF2 device driver contains a flaw that fails to bound the number of Channel Flow Pattern (CFP) rules copied to a user buffer. When an ETHTOOL_GRXCLSRLALL ioctl is issued, the driver walks the entire CFP bitmap and writes each rule location to the caller’s array without respecting the rule count supplied by the user. A local user can therefore request fewer slots than actually exist, causing the driver to copy beyond the allocated buffer or dereference a NULL pointer when zero slots are requested. This memory corruption can trigger a kernel panic, resulting in a denial of service.

Affected Systems

Systems running Linux kernels that include the bcm_sf2 network driver and have CFP rule configuration enabled are impacted. Users can trigger the vulnerability via the ETHTOOL_GRXCLSRLALL ioctl, which does not require CAP_NET_ADMIN. Any distribution that has not applied the committed patch to the bcm_sf2 driver is vulnerable. Kernel configurations that never load the bcm_sf2 module or do not support CFP rule configuration are not affected.

Risk and Exploitability

The flaw is triggered by a local ioctl that does not require privileged capabilities; thus any authenticated local user can invoke it after CFP rules have been installed. The EPSS score indicates a very low exploitation probability. The vulnerability is not listed in the CISA KEV catalog. The CVSS score of 7 signals high severity. The combination of a local trigger, lack of privilege checks, and the potential for kernel memory corruption makes this a high‑risk vector for denial of service.

Generated by OpenCVE AI on September 30, 2026 at 14:08 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the bcm_sf2 patch referenced in the provided git commits
  • If an immediate kernel upgrade is not possible, restrict access to the ETHTOOL_GRXCLSRLALL ioctl by limiting it with a kernel policy or by disabling CFP rule configuration entirely
  • Apply a runtime kernel module blacklist or adjust module parameters to prevent the bcm_sf2 module from loading when the CF platform is not required

Generated by OpenCVE AI on September 30, 2026 at 14:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4841-1 linux security update
Debian DSA Debian DSA DSA-6528-1 linux security update
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
History

Sat, 03 Oct 2026 11:15:00 +0000


Tue, 29 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-122

Tue, 29 Sep 2026 13:15:00 +0000


Sat, 26 Sep 2026 00:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-122

Fri, 25 Sep 2026 22:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-476

Fri, 25 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-476

Fri, 25 Sep 2026 15:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
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.
Title net: dsa: bcm_sf2: bound the CFP rule dump by the caller's buffer size
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:12:35.325Z

Reserved: 2026-09-25T10:19:56.070Z

Link: CVE-2026-98030

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:31.673

Modified: 2026-10-19T10:17:56.990

Link: CVE-2026-98030

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-98030 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T14:15:16Z

Weaknesses