PoC Index85,100 CVEs with PoCs

CVE-2024-57947

netfilter: nf_set_pipapo: fix initial map fill

MEDIUM 5.5EPSS 0.4%

In the Linux kernel, the following vulnerability has been resolved:netfilter: nf_set_pipapo: fix initial map fillThe initial buffer has to be inited to all-ones, but it must restrictit 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 mapare swapped, so if we have a set where f->bsize of the first elementis smaller than m->bsize_max, those one-bits are leaked into futurerounds result map.This makes pipapo find an incorrect matching results for sets wherefirst 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 outthe remainder explicitly, only correcting memset() argument isn't enough.

Affected
Linux
CVSS v3.1 NVD
5.5 MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v3.1 CNA
9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.44% chance of exploitation in the next 30 days, 37th percentile
Published
2025-01-23
Updated
2026-08-05

Exploit collections (1)

Security advisories

References