CVE-2024-57947netfilter: nf_set_pipapo: fix initial map fill
- 9.8CriticalCVSS base score
- 0.45%Exploitation in 30 daysEPSS · top 61% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 4 days later
· 4 days later
Published
- 19 months later
· 19 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.45% · top 61% of all CVEs (16 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
- affected 3c4287f62044a90e73a561aa05fc46e62da173da – < 77bf0c4ab928ca4c9a99311f4f70ba0c17fecba9
- affected 3c4287f62044a90e73a561aa05fc46e62da173da – < 957a4d1c4c5849e4515c9fb4db21bf85318103dc
- affected 3c4287f62044a90e73a561aa05fc46e62da173da – < 9625c46ce6fd4f922595a4b32b1de5066d70464f
- affected 3c4287f62044a90e73a561aa05fc46e62da173da – < 69b6a67f7052905e928d75a0c5871de50e686986
- affected 3c4287f62044a90e73a561aa05fc46e62da173da – < 8058c88ac0df21239daee54b5934d5c80ca9685f
- affected 3c4287f62044a90e73a561aa05fc46e62da173da – < 791a615b7ad2258c560f91852be54b0480837c93
- affected 5.6
- unaffected < 5.6
- unaffected 5.10.247 – ≤ 5.10.*
- unaffected 5.15.165 – ≤ 5.15.*
- unaffected 6.1.103 – ≤ 6.1.*
- unaffected 6.6.44 – ≤ 6.6.*
- unaffected 6.10.3 – ≤ 6.10.*
- unaffected 6.11 – ≤ *
References
References6
- https://git.kernel.org/stable/c/77bf0c4ab928ca4c9a99311f4f70ba0c17fecba9 (opens in a new tab)
- https://git.kernel.org/stable/c/957a4d1c4c5849e4515c9fb4db21bf85318103dc (opens in a new tab)
- https://git.kernel.org/stable/c/9625c46ce6fd4f922595a4b32b1de5066d70464f (opens in a new tab)
- https://git.kernel.org/stable/c/69b6a67f7052905e928d75a0c5871de50e686986 (opens in a new tab)
- https://git.kernel.org/stable/c/8058c88ac0df21239daee54b5934d5c80ca9685f (opens in a new tab)
- https://git.kernel.org/stable/c/791a615b7ad2258c560f91852be54b0480837c93 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-53850 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-57947)Record last updated .