netfilter: nft_set_pipapo: don't leak bad clone into future transaction
In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_set_pipapo: don't leak bad clone into future transaction On memory allocation failure the cloned nft_pipapo_match can enter a bad state: - some fields can have their lookup tables resized while others did not - bits might have been toggled - scratch map can be undersized which also means m->bsize_max can be lower than what is required This means that the next insertion in the same batch can trigger out-of-bounds writes. Furthermore, a failure in the first can result in the bad clone to leak into the next transaction because the abort callback is never executed in this case (the upper layer saw an error and no attempt to allocate a transactional request was made). Record a state for the nft_pipapo_match structure: - NEW (pristine clone) - MOD (modified clone with good state) - ERR (potentially bogus content) Then make it so that deletes and insertions fail when the clone entered ERR state. In case the very first insert attempt results in an error, free the clone right away.
CVE-2026-72252
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-72252
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": "3c4287f62044a90e73a561aa05fc46e62da173da",
"lessThan": "0ab7b1802f63ca5b288ea59acb467830b83abd6b",
"versionType": "git"
},
{
"status": "affected",
"version": "3c4287f62044a90e73a561aa05fc46e62da173da",
"lessThan": "cc53703f48558896295f565cd4f5e956d21b7af4",
"versionType": "git"
},
{
"status": "affected",
"version": "3c4287f62044a90e73a561aa05fc46e62da173da",
"lessThan": "047e813324eac2ac60cddfb58bcdbd0144eadb09",
"versionType": "git"
},
{
"status": "affected",
"version": "3c4287f62044a90e73a561aa05fc46e62da173da",
"lessThan": "610e3b73efaec3dd81a95dcda2421ad7d9795bd0",
"versionType": "git"
},
{
"status": "affected",
"version": "3c4287f62044a90e73a561aa05fc46e62da173da",
"lessThan": "02b6b0e892aea582590671796fd6eff5b93ea93f",
"versionType": "git"
},
{
"status": "affected",
"version": "3c4287f62044a90e73a561aa05fc46e62da173da",
"lessThan": "e74f9680e1b64872a51cc7b5bda1edaaa08aa51f",
"versionType": "git"
},
{
"status": "affected",
"version": "3c4287f62044a90e73a561aa05fc46e62da173da",
"lessThan": "47e65eff50691f0a5b79d325e28d83ec1da43bcf",
"versionType": "git"
}
],
"programFiles": [
"net/netfilter/nft_set_pipapo.c",
"net/netfilter/nft_set_pipapo.h"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.6"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.6",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.15.217",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.184",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.148",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.97",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.40",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.1.5",
"versionType": "semver",
"lessThanOrEqual": "7.1.*"
},
{
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/netfilter/nft_set_pipapo.c",
"net/netfilter/nft_set_pipapo.h"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-72252
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #32996 · Revision 1
- Added to Heist Feed
- Publisher date