CVE-2026-72252

netfilter: nft_set_pipapo: don't leak bad clone into future transaction

State
Published
Severity
7.8 High
Published
Aug 15, 2026
Updated
Oct 16, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3c4287f62044a90e73a561aa05fc46e62da173da to before 0ab7b1802f63ca5b288ea59acb467830b83abd6bAffected
  • 3c4287f62044a90e73a561aa05fc46e62da173da to before cc53703f48558896295f565cd4f5e956d21b7af4Affected
  • 3c4287f62044a90e73a561aa05fc46e62da173da to before 047e813324eac2ac60cddfb58bcdbd0144eadb09Affected
  • 3c4287f62044a90e73a561aa05fc46e62da173da to before 610e3b73efaec3dd81a95dcda2421ad7d9795bd0Affected
  • 3c4287f62044a90e73a561aa05fc46e62da173da to before 02b6b0e892aea582590671796fd6eff5b93ea93fAffected
  • 3c4287f62044a90e73a561aa05fc46e62da173da to before e74f9680e1b64872a51cc7b5bda1edaaa08aa51fAffected
  • 3c4287f62044a90e73a561aa05fc46e62da173da to before 47e65eff50691f0a5b79d325e28d83ec1da43bcfAffected
LinuxLinux
  • 5.6Affected
  • before 5.6Not affected
  • 5.15.217 through 5.15.*Not affected
  • 6.1.184 through 6.1.*Not affected
  • 6.6.148 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.