# CVE-2026-43114: netfilter: nft_set_pipapo_avx2: don't return non-matching entry on expiry

- Severity: Critical 9.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-05-06T07:40:39.877Z
- Modified: 2026-11-11T21:10:00.200Z
- Weaknesses: CWE-20, CWE-480
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Linux

## Description

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.
When we process the last field, we should continue to process data
until the entire input size has been consumed to make sure no stale
bits remain in the map.

(As written by CVE List.)

## Affected

- Linux Linux: from 7400b063969bdca4a06cd97f1294d765c8eecbe1 before f8c39983fc9c1a978c82e6f2df7bfba8a8561587; from 7400b063969bdca4a06cd97f1294d765c8eecbe1 before c7babe2f28b507e17f28e9f753b7caec72d4857f; from 7400b063969bdca4a06cd97f1294d765c8eecbe1 before 1c43f0dd8691ddf8884793b481ddc7511cf593c3; from 7400b063969bdca4a06cd97f1294d765c8eecbe1 before fa4f1f52528c73989d820f32bfca06bec5afeece; from 7400b063969bdca4a06cd97f1294d765c8eecbe1 before 3d53f9aafd469ae1ea27051e00f5b96ca1b55d52; from 7400b063969bdca4a06cd97f1294d765c8eecbe1 before 07de44424bb7f17ef9357e8535df96d9e97c40cb; from 7400b063969bdca4a06cd97f1294d765c8eecbe1 before 0abbc43f71d99baadeeba6fa3fe1c80b676f57ed; from 7400b063969bdca4a06cd97f1294d765c8eecbe1 before d3c0037ffe1273fa1961e779ff6906234d6cf53c; 5.7 (not affected: before 5.7; from 5.10.258 up to 5.10.*; from 5.15.209 up to 5.15.*; from 6.1.175 up to 6.1.*; from 6.6.136 up to 6.6.*; from 6.12.83 up to 6.12.*; from 6.18.24 up to 6.18.*; from 6.19.14 up to 6.19.*; from 7.0 up to *)
- kpatch-patch: no versions given
- kernel: no versions given (not affected: from 0:6.12.0-55.103.1.el10_0 before *; from 0:5.14.0-687.42.1.el9_8 before *; from 0:5.14.0-284.191.1.el9_2 before *; from 0:5.14.0-427.149.1.el9_4 before *; from 0:5.14.0-570.138.1.el9_6 before *)
- kernel-rt: no versions given (not affected: from 0:5.14.0-284.191.1.rt14.476.el9_2 before *)
- rhcos: no versions given (not affected: from 4.20.9.6.202609092300-0 before *; from 4.21.9.6.202609090322-0 before *; from 4.22.9.8.202609020733-0 before *)
- libkrun: no versions given
- linux linux_kernel: from 5.7 before 6.6.136; from 6.7 before 6.12.83; from 6.13 before 6.18.24; from 6.19 before 6.19.14; 7.0

## Every score

- Linux: CVSS:3.1 9.4 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- redhat-SADP: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://git.kernel.org/stable/c/f8c39983fc9c1a978c82e6f2df7bfba8a8561587>
- <https://git.kernel.org/stable/c/c7babe2f28b507e17f28e9f753b7caec72d4857f>
- <https://git.kernel.org/stable/c/1c43f0dd8691ddf8884793b481ddc7511cf593c3>
- <https://git.kernel.org/stable/c/fa4f1f52528c73989d820f32bfca06bec5afeece> (patch)
- <https://git.kernel.org/stable/c/3d53f9aafd469ae1ea27051e00f5b96ca1b55d52> (patch)
- <https://git.kernel.org/stable/c/07de44424bb7f17ef9357e8535df96d9e97c40cb> (patch)
- <https://git.kernel.org/stable/c/0abbc43f71d99baadeeba6fa3fe1c80b676f57ed> (patch)
- <https://git.kernel.org/stable/c/d3c0037ffe1273fa1961e779ff6906234d6cf53c> (patch)
- <https://access.redhat.com/security/cve/CVE-2026-43114> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2466994> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43114.json>
- <https://access.redhat.com/errata/RHSA-2026:66370> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:66376> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:66351> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:63093> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:64767> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:67723> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:65712> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:62568> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:59723> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:62642> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:62638> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:62639> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:62641> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:62640> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:67721> (vendor-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

- CVE List: [CVE-2026-43114](https://www.cve.org/CVERecord?id=CVE-2026-43114), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-43114](https://nvd.nist.gov/vuln/detail/CVE-2026-43114), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-43114 · Whole record: https://cve.day/CVE-2026-43114.json · Rebuilt by cve.day 2026-11-25T22:59:20.680Z
