Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-98029 Overview
CVE-2026-98029 affects the Linux kernel's Netronome Flow Processor (nfp) Ethernet driver. The function nfp_net_get_fs_loc() writes every entry of nn->fs.list into the caller-provided rule_locs[] buffer without honoring cmd->rule_cnt, which represents the number of slots the caller allocated. The ETHTOOL_GRXCLSRLALL ioctl backing this path does not require CAP_NET_ADMIN, so any local user can trigger the write once an administrator has installed flow steering rules. A rule_cnt of zero leaves the buffer pointer NULL, and the walk dereferences it.
Critical Impact
Local users can trigger an out-of-bounds write or NULL pointer dereference in the kernel on hosts using nfp network adapters with flow steering rules configured.
Affected Products
- Linux kernel builds including the Netronome nfp Ethernet driver
- Systems with nfp NICs where ntuple flow steering rules have been installed
- Stable kernel branches prior to the fixing commits 82812583, a7e023c6, ecebfdaa, and f1986bf8
Discovery Timeline
- 2026-09-25 - CVE CVE-2026-98029 published to NVD
- 2026-09-25 - Last updated in NVD database
Technical Details for CVE-2026-98029
Vulnerability Analysis
The defect sits in nfp_net_get_fs_loc() in the Netronome Flow Processor Ethernet driver. The function iterates every entry of the driver's flow steering rule list nn->fs.list and writes the rule location into rule_locs[], which the ioctl handler allocates based on the userspace-supplied cmd->rule_cnt. Because the loop never checks the index against rule_cnt, the driver writes past the allocation whenever the installed rule count exceeds the caller's buffer.
The ioctl ETHTOOL_GRXCLSRLALL does not require CAP_NET_ADMIN. Any local, unprivileged user can request fewer slots than exist and trigger the overflow. If the caller passes rule_cnt = 0, the kernel allocates no buffer and the pointer remains NULL, so the first write dereferences a NULL kernel pointer. The upstream fix bails out with -EMSGSIZE when the buffer fills and reports the number of entries actually written, matching how other ntuple-capable drivers behave.
Root Cause
The root cause is missing bounds enforcement between the caller-provided buffer size and the driver's rule enumeration loop. The driver trusted its internal list length instead of the rule_cnt value that sized the destination array, producing a classic out-of-bounds write and, in the zero-count path, a NULL pointer dereference.
Attack Vector
Exploitation requires local access and a kernel that loads the nfp driver with ntuple rules installed by an administrator. The attacker issues an ETHTOOL_GRXCLSRLALL ioctl with a rule_cnt smaller than the number of installed rules, or with zero, through a standard ethtool-style syscall path. Successful exploitation can corrupt adjacent kernel memory or crash the host, enabling denial of service and potentially memory corruption-based privilege escalation.
No public proof-of-concept code is referenced in the available data. See the upstream commits 82812583, a7e023c6, ecebfdaa, and f1986bf8 for the authoritative fix.
Detection Methods for CVE-2026-98029
Indicators of Compromise
- Kernel oops or panic traces referencing nfp_net_get_fs_loc or NULL pointer dereferences inside the nfp driver.
- Repeated ETHTOOL_GRXCLSRLALL ioctl calls from non-administrative processes on hosts with nfp NICs.
- Slab corruption warnings (KASAN, slub_debug) implicating rule_locs allocations following ethtool activity.
Detection Strategies
- Enable KASAN on test kernels running the nfp driver to surface the out-of-bounds write deterministically.
- Audit ethtool ioctl invocations and correlate caller UID with the installed ntuple rule count on affected interfaces.
- Monitor kernel log pipelines for BUG: and Oops: signatures tied to Netronome driver symbols.
Monitoring Recommendations
- Centralize dmesg and /var/log/kern.log ingestion to catch crash signatures from nfp systems.
- Track installations of ntuple flow steering rules so defenders know when the vulnerable path becomes reachable.
- Alert on unexpected network interface resets or driver reload events on hosts with Netronome adapters.
How to Mitigate CVE-2026-98029
Immediate Actions Required
- Patch affected kernels to a stable release that includes commits 82812583, a7e023c6, ecebfdaa, or f1986bf8.
- Inventory hosts using Netronome nfp NICs and determine whether ntuple rules are configured.
- Restrict local shell access on affected hosts to trusted administrators until the kernel is updated.
Patch Information
The fix bounds the rule dump by the caller-supplied rule_cnt, returns -EMSGSIZE when the buffer fills, and reports how many entries were written. Backports are available in the stable tree via Linux Kernel Commit 82812583, Linux Kernel Commit a7e023c6, Linux Kernel Commit ecebfdaa, and Linux Kernel Commit f1986bf8.
Workarounds
- Remove installed ntuple flow steering rules on nfp interfaces to eliminate the reachable code path until patching is complete.
- Unload the nfp driver on hosts where Netronome NICs are not in use.
- Constrain local user access and avoid granting shell sessions on servers running vulnerable kernels with nfp hardware.
# Inspect and clear ntuple rules on an nfp interface until the kernel is patched
ethtool --show-ntuple <iface>
ethtool --config-ntuple <iface> delete <rule-id>
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

