CVE Catalog

CVE-2026-98028

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel, the nfp ethernet driver fails to drop a replaced rule from the list when reprogramming fails. nfp_net_fs_add() deletes the old rule from hardware and decrements nn->fs.count, but if nfp_net_fs_add_hw() fails the old entry stays on nn->fs.list, so the list is one longer than the counter and still advertises a rule whose hardware entry was already torn down.

Risk Assessment

The counter mismatch causes userspace to size its buffer one entry short, resulting in a permanent -EMSGSIZE error and incorrect reporting of flow steering rules.

Recommendation

Update the Linux kernel to a version with the fix that removes the replaced rule from the list on the reprogramming failure path as well.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS