s2
--:--:--UTC

Searching APEX

Starting…

  1. ○ Searching Threats, IOCs & Threat Intelligence locally
  2. ○ Querying external providers
  3. ○ Asking AI Forensic Validator
  4. ○ Creating new entry from validated hit

0s elapsed

CVE-2026-98029

📛 CVE Title

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

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.

Overview

State
PUBLISHED
Assigner (CNA)
Linux
CVSS severity
HIGH
CVSS score
CVSS 7.0 / 10 7.0 7.0 / 10
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Effective score
7.0 / 10 HIGH source: CNA overview
CWE(s)
—
Reserved
2026-09-25
Published
2026-09-25 10:23 UTC
Last updated
2026-09-25 14:41 UTC
Source
https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/98xxx/CVE-2026-98029.json
Linked Threat
CVE-2026-98029 — eth: nfp: bound the ntuple rule dump by the caller's buffer size

NVD triage scoring NVD CVE 2.0

Layer NVD adds on top of the CNA's CVE record — published / last-modified timestamps, exploitability / impact subscores, and the FIRST.org EPSS probability that this CVE will be exploited in the wild in the next 30 days.

NVD published
2026-09-25 11:17:31 UTC
NVD last modified
2026-09-25 15:18:04 UTC
NVD CVSS v3.1
CVSS 7.0 / 10 7.0 7.0 / 10 HIGH source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Exploitability subscore
1.0 / 10
Impact subscore
5.9 / 10

NVD / KEV / EPSS data refreshed 2026-09-26 04:25 UTC. Re-run the 🛰 Backfill from NVD button above to refresh.

Affected products (2)

VendorProductVersionsPlatforms
Linux Linux 9eb03bb1c035ff6e2c3a34046419446588253dda (affected), 9eb03bb1c035ff6e2c3a34046419446588253dda (affected), 9eb03bb1c035ff6e2c3a34046419446588253dda (affected), 9eb03bb1c035ff6e2c3a34046419446588253dda (affected) —
Linux Linux 6.8 (affected), 0 (unaffected), 6.12.111 (unaffected), 6.18.53 (unaffected), 7.2.7 (unaffected), 7.3-rc3 (unaffected) —

Vendor references (4)

References embedded in the original CVE record by the assigning CNA.

Web references (0)

DuckDuckGo results ranked by threat-intel / vendor advisory domains. Generated by the 🔎 Find references (web) button above — same flow as the Remediations search.

No web references attached yet.

NVD-tagged references (4)

Reference list NVD curates from the CNA record, vendor advisories, and third-party reports. The tag chips below are NVD's analyst-assigned categories.

AI Forensic Analysis

Only Available for Registered Users. Sign in to view.

Raw JSON

The full cvelistV5 record. Download as CVE-2026-98029.json.

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "82812583b9c69c241da6da4186f14e9df2516488",
              "status": "affected",
              "version": "9eb03bb1c035ff6e2c3a34046419446588253dda",
              "versionType": "git"
            },
            {
              "lessThan": "a7e023c63e855761c1426cee8d17c2bca32aa339",
              "status": "affected",
              "version": "9eb03bb1c035ff6e2c3a34046419446588253dda",
              "versionType": "git"
            },
            {
              "lessThan": "ecebfdaab72a504c10f4907bd00fc3b705ec3b12",
              "status": "affected",
              "version": "9eb03bb1c035ff6e2c3a34046419446588253dda",
              "versionType": "git"
            },
            {
              "lessThan": "f1986bf87b0709c95126fe196cf39e5b8c8453a1",
              "status": "affected",
              "version": "9eb03bb1c035ff6e2c3a34046419446588253dda",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.8"
            },
            {
              "lessThan": "6.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.111",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.111",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.53",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.7",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc3",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\neth: nfp: bound the ntuple rule dump by the caller's buffer size\n\nnfp_net_get_fs_loc() dumps every entry of nn->fs.list into rule_locs[]\nwithout consulting cmd->rule_cnt, which is how many entries the caller\nhad room for.  ETHTOOL_GRXCLSRLALL requires no CAP_NET_ADMIN and the\nioctl sizes the buffer from the rule_cnt userspace passes in, so once an\nadmin has installed flow steering rules any user can ask for fewer slots\nthan there are rules and run off the end of the allocation.  A rule_cnt\nof 0 leaves the buffer pointer NULL and the walk dereferences it.\n\nBail out with -EMSGSIZE when the buffer fills up, the way the other\nntuple capable drivers do, and report how many locations were filled so\na shrinking rule list does not leave the caller reading stale slots."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The trigger is a local SIOCETHTOOL ioctl (ETHTOOL_GRXCLSRLALL) on a socket, reaching ethtool_get_rxnfc() -> nfp_net_get_rxnfc() -> nfp_net_get_fs_loc(). The rule_cnt that sizes the buffer comes from the local caller, not from any packet off the wire.\nAC:H - The overflow needs a non-empty nn->fs.list on an NFP NIC with NFP_NET_CFG_CTRL_FLOW_STEER. Only an admin can create those rules, via set_rxnfc/nfp_net_fs_add with CAP_NET_ADMIN on a physical init-netns device. The unprivileged attacker cannot create this state and must wait for it to exist.\nPR:L - dev_ethtool() lists ETHTOOL_GRXCLSRLALL among the commands anyone may run and skips the ns_capable(CAP_NET_ADMIN) check for it. Any local unprivileged user can call it with a small rule_cnt.\nUI:N - No victim action is needed. The attacker issues the ioctl whenever they like, once the rules exist as a standing configuration.\nS:U - Kernel heap corruption leading to local privilege escalation or a crash stays within the kernel's own security authority.\nC:H - ethtool_get_rxnfc() sizes rule_buf with kcalloc(rule_cnt), so the attacker chooses the slab cache. nfp_net_get_fs_loc() then writes up to ~4KB of u32 rule locations past it. That corrupts adjacent kmalloc objects, which can be leveraged into an information leak.\nI:H - This is an out-of-bounds heap write into neighbouring slab objects in a cache the attacker chooses, with an attacker-chosen overflow length (rule count minus rule_cnt). It is a memory corruption primitive usable against adjacent object fields.\nA:H - With rule_cnt=0, rule_buf stays NULL and rule_locs[0] = entry->loc writes through the NULL pointer, oopsing the kernel. Larger overflows corrupt the slab and can panic the kernel. Either can be repeated at will by an unprivileged user."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-25T14:41:53.865Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/82812583b9c69c241da6da4186f14e9df2516488"
        },
        {
          "url": "https://git.kernel.org/stable/c/a7e023c63e855761c1426cee8d17c2bca32aa339"
        },
        {
          "url": "https://git.kernel.org/stable/c/ecebfdaab72a504c10f4907bd00fc3b705ec3b12"
        },
        {
          "url": "https://git.kernel.org/stable/c/f1986bf87b0709c95126fe196cf39e5b8c8453a1"
        }
      ],
      "title": "eth: nfp: bound the ntuple rule dump by the caller's buffer size",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98029",
    "datePublished": "2026-09-25T10:23:46.347Z",
    "dateReserved": "2026-09-25T10:19:56.070Z",
    "dateUpdated": "2026-09-25T14:41:53.865Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}