netfilter: nf_tables: skip expired catchall elements on insert and delete
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: skip expired catchall elements on insert and delete nft_setelem_catchall_insert() looks up duplicates with nft_set_elem_active() only, while nft_set_catchall_lookup() and the dump path additionally skip expired elements. Once a catchall element with a timeout expires, this predicate drift makes it invisible to userspace dumps, yet it still blocks re-insertion: with NLM_F_EXCL the request fails with -EEXIST, and without it the request reports success but silently inserts nothing. The stale entry only goes away when the (user-tunable) gc interval elapses, so the catchall rule may silently stop matching for an arbitrarily long time after its first expiration. The delete path shows the same drift: nft_setelem_catchall_deactivate() picks the first active-next entry in the catchall list, so with an expired entry still pending GC it retires the stale entry instead of the fresh one, and it deactivates an element that userspace no longer sees instead of failing with -ENOENT. Align both walks with the lookup and dump predicates: only an element that is active and not expired counts as a duplicate or delete candidate, using the per-netns timestamp taken at transaction start, in line with the set backend .insert/.deactivate and catchall GC sync paths.
CVE-2026-98484
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-98484
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": "aaa31047a6d25da0fa101da1ed544e1247949b40",
"lessThan": "5e20b39aa7844769a7a782484bc1a809ffbc513e",
"versionType": "git"
},
{
"status": "affected",
"version": "aaa31047a6d25da0fa101da1ed544e1247949b40",
"lessThan": "2f07da3881525f7cbfed1ced2796c71a201505b9",
"versionType": "git"
},
{
"status": "affected",
"version": "aaa31047a6d25da0fa101da1ed544e1247949b40",
"lessThan": "12cf803edfffef96f6415f0b5dbc7ec88842ea0f",
"versionType": "git"
},
{
"status": "affected",
"version": "aaa31047a6d25da0fa101da1ed544e1247949b40",
"lessThan": "4fb8b1ccc475651e480e509de126bb9ce7f3cff9",
"versionType": "git"
},
{
"status": "affected",
"version": "aaa31047a6d25da0fa101da1ed544e1247949b40",
"lessThan": "70194dc37670bd08e44b471389861cc01bd3a3c9",
"versionType": "git"
}
],
"programFiles": [
"net/netfilter/nf_tables_api.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.13"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.13",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.112",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.55",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.9",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/netfilter/nf_tables_api.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98484
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #48883 · Revision 1
- Added to Heist Feed
- Publisher date