CVE-2024-57947: netfilter: nf_set_pipapo: fix initial map fill
Vulnerability summary
CVE-2024-57947 is a critical (CVSS 9.8) vulnerability in linux. EPSS estimates a 0.45% chance of exploitation in the next 30 days, higher than 40.5% of scored vulnerabilities.
Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 32 · Related 30Timeline
- 23-01-2025PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.45%
Chance of exploitation in the next 30 days
Percentile
41%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.44% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu118 products
- linux< 5.15.0-125.135 | < 6.8.0-50.51
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.15.0-1072.78 | < 6.8.0-1020.22
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 3c4287f62044a90e73a561aa05fc46e62da173da, < 77bf0c4ab928ca4c9a99311f4f70ba0c17fecba9 | ≥ 3c4287f62044a90e73a561aa05fc46e62da173da, < 957a4d1c4c5849e4515c9fb4db21bf85318103dc | ≥ 3c4287f62044a90e73a561aa05fc46e62da173da, < 9625c46ce6fd4f922595a4b32b1de5066d70464f | ≥ 3c4287f62044a90e73a561aa05fc46e62da173da, < 69b6a67f7052905e928d75a0c5871de50e686986 | ≥ 3c4287f62044a90e73a561aa05fc46e62da173da, < 8058c88ac0df21239daee54b5934d5c80ca9685f | ≥ 3c4287f62044a90e73a561aa05fc46e62da173da, < 791a615b7ad2258c560f91852be54b0480837c93 | 5.6
- linux_kernel≥ 5.6, < 5.15.165 | ≥ 5.16, < 6.1.103 | ≥ 6.2, < 6.6.44 | ≥ 6.7, < 6.10.3
Debian1 product
- linux< 6.1.106-1 | < 6.10.3-1
3 vendors · 121 products