Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-98029

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-98029

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "9eb03bb1c035ff6e2c3a34046419446588253dda",
        "lessThan": "82812583b9c69c241da6da4186f14e9df2516488",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "9eb03bb1c035ff6e2c3a34046419446588253dda",
        "lessThan": "a7e023c63e855761c1426cee8d17c2bca32aa339",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "9eb03bb1c035ff6e2c3a34046419446588253dda",
        "lessThan": "ecebfdaab72a504c10f4907bd00fc3b705ec3b12",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "9eb03bb1c035ff6e2c3a34046419446588253dda",
        "lessThan": "f1986bf87b0709c95126fe196cf39e5b8c8453a1",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.8"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.8",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.12.111",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.53",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.7",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-98029

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#38154 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement