netfilter: nft_set_pipapo_avx2: don't return non-matching entry on expiry
In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_set_pipapo_avx2: don't return non-matching entry on expiry New test case fails unexpectedly when avx2 matching functions are used. The test first loads a ranomly generated pipapo set with 'ipv4 . port' key, i.e. nft -f foo. This works. Then, it reloads the set after a flush: (echo flush set t s; cat foo) | nft -f - This is expected to work, because its the same set after all and it was already loaded once. But with avx2, this fails: nft reports a clashing element. The reported clash is of following form: We successfully re-inserted a . b c . d Then we try to insert a . d avx2 finds the already existing a . d, which (due to 'flush set') is marked as invalid in the new generation. It skips the element and moves to next. Due to incorrect masking, the skip-step finds the next matching element *only considering the first field*, i.e. we return the already reinserted "a . b", even though the last field is different and the entry should not have been matched. No such error is reported for the generic c implementation (no avx2) or when the last field has to use the 'nft_pipapo_avx2_lookup_slow' fallback. Bisection points to 7711f4bb4b36 ("netfilter: nft_set_pipapo: fix range overlap detection") but that fix merely uncovers this bug. Before this commit, the wrong element is returned, but erronously reported as a full, identical duplicate. The root-cause is too early return in the avx2 match functions. W
CVE-2026-43114
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-43114
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": "7400b063969bdca4a06cd97f1294d765c8eecbe1",
"lessThan": "f8c39983fc9c1a978c82e6f2df7bfba8a8561587",
"versionType": "git"
},
{
"status": "affected",
"version": "7400b063969bdca4a06cd97f1294d765c8eecbe1",
"lessThan": "c7babe2f28b507e17f28e9f753b7caec72d4857f",
"versionType": "git"
},
{
"status": "affected",
"version": "7400b063969bdca4a06cd97f1294d765c8eecbe1",
"lessThan": "1c43f0dd8691ddf8884793b481ddc7511cf593c3",
"versionType": "git"
},
{
"status": "affected",
"version": "7400b063969bdca4a06cd97f1294d765c8eecbe1",
"lessThan": "fa4f1f52528c73989d820f32bfca06bec5afeece",
"versionType": "git"
},
{
"status": "affected",
"version": "7400b063969bdca4a06cd97f1294d765c8eecbe1",
"lessThan": "3d53f9aafd469ae1ea27051e00f5b96ca1b55d52",
"versionType": "git"
},
{
"status": "affected",
"version": "7400b063969bdca4a06cd97f1294d765c8eecbe1",
"lessThan": "07de44424bb7f17ef9357e8535df96d9e97c40cb",
"versionType": "git"
},
{
"status": "affected",
"version": "7400b063969bdca4a06cd97f1294d765c8eecbe1",
"lessThan": "0abbc43f71d99baadeeba6fa3fe1c80b676f57ed",
"versionType": "git"
},
{
"status": "affected",
"version": "7400b063969bdca4a06cd97f1294d765c8eecbe1",
"lessThan": "d3c0037ffe1273fa1961e779ff6906234d6cf53c",
"versionType": "git"
}
],
"programFiles": [
"net/netfilter/nft_set_pipapo_avx2.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.7"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.7",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.10.258",
"versionType": "semver",
"lessThanOrEqual": "5.10.*"
},
{
"status": "unaffected",
"version": "5.15.209",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.175",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.136",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.83",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.24",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "6.19.14",
"versionType": "semver",
"lessThanOrEqual": "6.19.*"
},
{
"status": "unaffected",
"version": "7.0",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/netfilter/nft_set_pipapo_avx2.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-43114
Source reference:
/cveMetadata/cveId
Publisher severity
critical
Source reference: /containers/cna/metrics
- Event
- #40030 · Revision 1
- Added to Heist Feed
- Publisher date