eth: nfp: drop the replaced rule from the list when reprogramming fails
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.
CVE-2026-98028
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-98028
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "9eb03bb1c035ff6e2c3a34046419446588253dda",
"lessThan": "603b70093f729f52a37544b48679903cad834856",
"versionType": "git"
},
{
"status": "affected",
"version": "9eb03bb1c035ff6e2c3a34046419446588253dda",
"lessThan": "edaec279f59f801a05b751df475ed71a0a68c88a",
"versionType": "git"
},
{
"status": "affected",
"version": "9eb03bb1c035ff6e2c3a34046419446588253dda",
"lessThan": "552e528a7d85cbe088b2ae4f78194713975b46cf",
"versionType": "git"
},
{
"status": "affected",
"version": "9eb03bb1c035ff6e2c3a34046419446588253dda",
"lessThan": "108bb2142e3a12c9ad625ad662973127a113ddc6",
"versionType": "git"
}
],
"programFiles": [
"drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.8"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.8",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.12.111",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.53",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.7",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98028
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #38153 · Revision 1
- Added to Heist Feed
- Publisher date