{"id":"CVE-2026-98028","summary":"eth: nfp: drop the replaced rule from the list when reprogramming fails","details":"In the Linux kernel, the following vulnerability has been resolved:\n\neth: nfp: drop the replaced rule from the list when reprogramming fails\n\nnfp_net_fs_add() replaces an existing rule by deleting it from the\nhardware, decrementing nn-\u003efs.count and programming the new one.  If\nnfp_net_fs_add_hw() fails the old entry stays on nn-\u003efs.list - only the\nsuccess path reaches list_replace() - so the list is one longer than\nnn-\u003efs.count, and it advertises a rule whose hardware entry has already\nbeen torn down.\n\nnn-\u003efs.count is what ETHTOOL_GRXCLSRLCNT reports, so userspace then sizes\nits buffer one entry short of what the GRXCLSRLALL walk wants to write.\nThat used to overwrite one u32 past the allocation; since the walk is\nbounded it is a permanent -EMSGSIZE instead, as nothing ever resyncs the\ncounter.","modified":"2026-09-26T03:48:36.997750063Z","published":"2026-09-25T10:23:45.737Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98028.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/108bb2142e3a12c9ad625ad662973127a113ddc6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/552e528a7d85cbe088b2ae4f78194713975b46cf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/603b70093f729f52a37544b48679903cad834856"},{"type":"WEB","url":"https://git.kernel.org/stable/c/edaec279f59f801a05b751df475ed71a0a68c88a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98028.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98028"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9eb03bb1c035ff6e2c3a34046419446588253dda"},{"fixed":"603b70093f729f52a37544b48679903cad834856"},{"fixed":"edaec279f59f801a05b751df475ed71a0a68c88a"},{"fixed":"552e528a7d85cbe088b2ae4f78194713975b46cf"},{"fixed":"108bb2142e3a12c9ad625ad662973127a113ddc6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98028.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.8.0"},{"fixed":"6.12.111"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98028.json"}}],"schema_version":"1.9.0"}