# CVE-2026-98028: eth: nfp: drop the replaced rule from the list when reprogramming fails

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-09-25T10:23:45.737Z
- Modified: 2026-10-19T10:17:56.787Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

eth: nfp: drop the replaced rule from the list when reprogramming fails

nfp_net_fs_add() replaces an existing rule by deleting it from the
hardware, decrementing nn->fs.count and programming the new one.  If
nfp_net_fs_add_hw() fails the old entry stays on nn->fs.list - only the
success path reaches list_replace() - so the list is one longer than
nn->fs.count, and it advertises a rule whose hardware entry has already
been torn down.

nn->fs.count is what ETHTOOL_GRXCLSRLCNT reports, so userspace then sizes
its buffer one entry short of what the GRXCLSRLALL walk wants to write.
That used to overwrite one u32 past the allocation; since the walk is
bounded it is a permanent -EMSGSIZE instead, as nothing ever resyncs the
counter.

(As written by CVE List.)

## Affected

- Linux Linux: from 9eb03bb1c035ff6e2c3a34046419446588253dda before 603b70093f729f52a37544b48679903cad834856; from 9eb03bb1c035ff6e2c3a34046419446588253dda before edaec279f59f801a05b751df475ed71a0a68c88a; from 9eb03bb1c035ff6e2c3a34046419446588253dda before 552e528a7d85cbe088b2ae4f78194713975b46cf; from 9eb03bb1c035ff6e2c3a34046419446588253dda before 108bb2142e3a12c9ad625ad662973127a113ddc6; 6.8 (not affected: before 6.8; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/603b70093f729f52a37544b48679903cad834856>
- <https://git.kernel.org/stable/c/edaec279f59f801a05b751df475ed71a0a68c88a>
- <https://git.kernel.org/stable/c/552e528a7d85cbe088b2ae4f78194713975b46cf>
- <https://git.kernel.org/stable/c/108bb2142e3a12c9ad625ad662973127a113ddc6>

## Sources

- CVE List: [CVE-2026-98028](https://www.cve.org/CVERecord?id=CVE-2026-98028), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98028](https://nvd.nist.gov/vuln/detail/CVE-2026-98028), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98028 · Whole record: https://cve.day/CVE-2026-98028.json · Rebuilt by cve.day 2026-11-25T22:59:41.029Z
