Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-57947

published critical CVSS 3.1 · 9.8

netfilter: nf_set_pipapo: fix initial map fill

Published
23 Jan 2025, 13:54:20 UTC
Updated
05 Aug 2026, 11:47:01 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux3c4287f62044a90e73a561aa05fc46e62da173da to < 77bf0c4ab928ca4c9a99311f4f70ba0c17fecba9 · 3c4287f62044a90e73a561aa05fc46e62da173da to < 957a4d1c4c5849e4515c9fb4db21bf85318103dc · 3c4287f62044a90e73a561aa05fc46e62da173da to < 9625c46ce6fd4f922595a4b32b1de5066d70464f · 3c4287f62044a90e73a561aa05fc46e62da173da to < 69b6a67f7052905e928d75a0c5871de50e686986 · 3c4287f62044a90e73a561aa05fc46e62da173da to < 8058c88ac0df21239daee54b5934d5c80ca9685f · 3c4287f62044a90e73a561aa05fc46e62da173da to < 791a615b7ad2258c560f91852be54b0480837c93 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.6 (affected) · 0 to < 5.6 (unaffected · semver) · 5.10.247 through 5.10.* (unaffected · semver) · 5.15.165 through 5.15.* (unaffected · semver) · 6.1.103 through 6.1.* (unaffected · semver) · 6.6.44 through 6.6.* (unaffected · semver) · 6.10.3 through 6.10.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected; No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2025-065 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-864 Fixed Not stated Amazon Linux assessment
Debian bullseye linux Advisory build 5.10.247-1 DLA-4404-1
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.4.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 bpftoolppc64le Advisory build 7.4.0-503.22.1.el9_5 RHSA-2025:0578
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-9 bpftools390x Advisory build 7.4.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 bpftoolx86_64 Advisory build 7.4.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoaarch64 Advisory build 7.4.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoppc64le Advisory build 7.4.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfos390x Advisory build 7.4.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfox86_64 Advisory build 7.4.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernelaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernelppc64le Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernels390x Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernelsrc Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernelx86_64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-64kaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-64k-coreaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-64k-debugaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-coreaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-debuginfoaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-develaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-devel-matchedaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modulesaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-coreaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-extraaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-64k-debuginfoaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-64k-develaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-64k-devel-matchedaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-64k-modulesaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-coreaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-extraaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-abi-stablelistsnoarch Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-coreaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-coreppc64le Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-cores390x Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-corex86_64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debugaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debugppc64le Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debugs390x Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debugx86_64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreppc64le Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-cores390x Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-corex86_64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoppc64le Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfos390x Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfox86_64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-develaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-develppc64le Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-devels390x Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-develx86_64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedppc64le Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matcheds390x Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedx86_64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesppc64le Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-moduless390x Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesx86_64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreppc64le Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-cores390x Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-corex86_64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extraaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrappc64le Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extras390x Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrax86_64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debug-uki-virtx86_64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoppc64le Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debuginfos390x Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debuginfox86_64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-aarch64aarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-ppc64leppc64le Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-s390xs390x Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-x86_64x86_64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-develaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-develppc64le Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-devels390x Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-develx86_64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedppc64le Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-devel-matcheds390x Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedx86_64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-docnoarch Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-modulesaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-modulesppc64le Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-moduless390x Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-modulesx86_64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-modules-coreaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-modules-coreppc64le Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-modules-cores390x Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-modules-corex86_64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-modules-extraaarch64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrappc64le Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-modules-extras390x Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrax86_64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-rtx86_64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-rt-corex86_64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578
Red Hat Enterprise Linux RHEL-9 kernel-rt-debugx86_64 Advisory build 5.14.0-503.22.1.el9_5 RHSA-2025:0578

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_set_pipapo: fix initial map fill The initial buffer has to be inited to all-ones, but it must restrict it to the size of the first field, not the total field size. After each round in the map search step, the result and the fill map are swapped, so if we have a set where f->bsize of the first element is smaller than m->bsize_max, those one-bits are leaked into future rounds result map. This makes pipapo find an incorrect matching results for sets where first field size is not the largest. Followup patch adds a test case to nft_concat_range.sh selftest script. Thanks to Stefano Brivio for pointing out that we need to zero out the remainder explicitly, only correcting memset() argument isn't enough.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

37

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - The buggy `nft_pipapo_lookup()` is the per-packet set-matching op invoked from `nft_lookup_eval` on header fields (`ip saddr . tcp dport . meta l4proto`) taken directly from received packets, so a remote off-host attacker's traffic drives the defective classification. The generic C path is what runs on all non-x86_64 firewall/router deployments and on x86_64 via the `!irq_fpu_usable()` fallback. AC:L - Once a ruleset uses the common concat-range set layout where the first field expands to fewer rules than a later field, the wrong-match behavior is fully deterministic and repeatable — the attacker simply sends packets and can probe which header values are falsely accepted. No race, no memory-layout dependency, no unknown runtime state. PR:N - An unauthenticated, unprivileged remote host needs only to emit packets at the filtering system to reach the miscomputed lookup; no account, credential, or capability on the target is involved. (The control-plane variant via `pipapo_get()` needs only CAP_NET_ADMIN, itself obtainable unprivileged through `unshare -Urn`.) UI:N - Classification happens automatically in the packet path for every frame traversing the affected rule; no administrator or victim action is needed for the attacker's traffic to be misclassified. S:U - The defect and its consequences are contained in the kernel's netfilter/nf_tables engine within a single security authority, with no crossing of a VM, IOMMU, or sandbox boundary. C:H - The flaw defeats the packet filter itself: a source address/port/protocol tuple that policy denies falsely matches an allow-set entry, granting an unauthenticated remote attacker reach to services (management ports, databases, internal listeners) whose data the ruleset was configured to keep unreachable, and `map` sets can steer traffic to an unintended internal destination. I:H - The kernel silently enforces a falsified classification result, accepting traffic that must be dropped, and on the control plane `pipapo_get()` makes `nft get/add/delete element` operate on the wrong element, so a delete removes an unrelated entry and the enforced security policy is corrupted without any error being reported. A:H - The same systematic false-positive makes permitted traffic match drop/reject entries, persistently blackholing legitimate flows, while insert returning spurious `-EEXIST`/`-ENOTEMPTY` and deletes hitting the wrong element leave the administrator unable to repair the ruleset — a sustained loss of filtering and connectivity for the affected services.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 3c4287f62044a90e73a561aa05fc46e62da173da to < 77bf0c4ab928ca4c9a99311f4f70ba0c17fecba9 (affected · git)3c4287f62044a90e73a561aa05fc46e62da173da to < 957a4d1c4c5849e4515c9fb4db21bf85318103dc (affected · git)3c4287f62044a90e73a561aa05fc46e62da173da to < 9625c46ce6fd4f922595a4b32b1de5066d70464f (affected · git)3c4287f62044a90e73a561aa05fc46e62da173da to < 69b6a67f7052905e928d75a0c5871de50e686986 (affected · git)3c4287f62044a90e73a561aa05fc46e62da173da to < 8058c88ac0df21239daee54b5934d5c80ca9685f (affected · git)3c4287f62044a90e73a561aa05fc46e62da173da to < 791a615b7ad2258c560f91852be54b0480837c93 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.6 (affected)0 to < 5.6 (unaffected · semver)5.10.247 through 5.10.* (unaffected · semver)5.15.165 through 5.15.* (unaffected · semver)6.1.103 through 6.1.* (unaffected · semver)6.6.44 through 6.6.* (unaffected · semver)6.10.3 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

1

Linux · cna

netfilter: nf_set_pipapo: fix initial map fill

Provenance

Schema
5.2
Searchable
yes
Content hash
eb2471cc802c7e22a5aa1475e65908440eed8fa093563b8b548444f6aae34663
Ingested
23 Sep 2026, 08:32:14 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected