CVE-2026-98028

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

State
Published
Severity
Not scored
Published
Sep 25, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 9eb03bb1c035ff6e2c3a34046419446588253dda to before 603b70093f729f52a37544b48679903cad834856Affected
  • 9eb03bb1c035ff6e2c3a34046419446588253dda to before edaec279f59f801a05b751df475ed71a0a68c88aAffected
  • 9eb03bb1c035ff6e2c3a34046419446588253dda to before 552e528a7d85cbe088b2ae4f78194713975b46cfAffected
  • 9eb03bb1c035ff6e2c3a34046419446588253dda to before 108bb2142e3a12c9ad625ad662973127a113ddc6Affected
LinuxLinux
  • 6.8Affected
  • before 6.8Not affected
  • 6.12.111 through 6.12.*Not affected
  • 6.18.53 through 6.18.*Not affected
  • 7.2.7 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.