CVE-2026-98029

eth: nfp: bound the ntuple rule dump by the caller's buffer size

Published Sep 25, 2026 CVSS 3.1 · 7 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

eth: nfp: bound the ntuple rule dump by the caller's buffer size

nfp_net_get_fs_loc() dumps every entry of nn->fs.list into rule_locs[]
without consulting cmd->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 flow steering 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.

Bail out with -EMSGSIZE when the buffer fills up, the way the other
ntuple capable drivers do, and report how many locations were filled so
a shrinking rule list does not leave the caller reading stale slots.

Analysis

AI-generated

Technical impact

The vulnerability resides in the nfp network driver of the Linux kernel. It allows an attacker to invoke the ETHTOOL_GRXCLSRLALL ioctl to dump all flow steering ntuple rules into a caller-provided buffer, but the driver ignores the rule_cnt supplied by the caller and writes past the end of that buffer. The ioctl does not require CAP_NET_ADMIN, meaning any local user can trigger the overrun. Writing past the buffer boundary corrupts kernel memory, which can lead to a kernel panic, data corruption, or a local privilege escalation if the overwritten data influences kernel behavior.

Affected Systems

All Linux kernel releases that include the nfp driver and have not yet applied the bounds‑check patch are potentially affected. This includes every kernel version where the nfp driver is present and the official patch has not been applied. Specific vendor or distribution version details are not provided in the CNA data, so any kernel build that contains the vulnerable nfp implementation must be evaluated for patch status.

Risk and Exploitability

The CVSS score of 7 denotes moderate severity. The EPSS score of less than 1% indicates a very low probability of exploitation, and the vulnerability is not yet listed in the CISA KEV catalog. The attack can be performed by any local user through a standard ioctl call, with no elevated privileges required. An out‑of‑bounds write that corrupts kernel memory could result in a denial of service or facilitate privilege escalation if the attacker can manipulate the overwritten data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the system kernel to the latest version that contains the nfp driver bounds‑check patch.
  • If a kernel upgrade cannot be applied immediately, enforce stricter access controls on the ETHTOOL_GRXCLSRLALL ioctl, for example by configuring an SELinux or AppArmor policy that allows only privileged users to invoke the operation.
  • Monitor kernel logs for EMSGSIZE or other error messages that may indicate a buffer overrun attempt, and verify kernel integrity regularly through signed kernel verification tools.

Generated by OpenCVE AI on September 30, 2026 at 14:09 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 DSA Debian DSA DSA-6528-1 linux security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-125
Type Values Removed Values Added
Weaknesses CWE-125
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'}

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: eth: nfp: bound the ntuple rule dump by the caller's buffer size nfp_net_get_fs_loc() dumps every entry of nn->fs.list into rule_locs[] without consulting cmd->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 flow steering 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. Bail out with -EMSGSIZE when the buffer fills up, the way the other ntuple capable drivers do, and report how many locations were filled so a shrinking rule list does not leave the caller reading stale slots.
Title eth: nfp: bound the ntuple 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
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:12 AM
Reserved
Sep 25, 2026, 10:19 AM
Status
Received
Published
Sep 25, 2026, 11:17 AM
Modified
Oct 19, 2026, 10:17 AM
Severity
Moderate
Public date
Sep 25, 2026, 12:00 AM