CVE-2024-57947: Linux kernel · netfilter: nf_set_pipapo: fix initial map fill
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 25 Nov 2026, 04:13 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 23 Jan 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel. Users and administrators should apply the official kernel updates that include this patch to resolve the issue. Since this is a kernel-level vulnerability, running updated kernel versions is necessary to mitigate the risk. No additional mitigations are indicated beyond applying the patch.
Description
CVE-2024-57947 is a vulnerability in the Linux kernel's netfilter subsystem affecting the nf_set_pipapo function. The issue involves incorrect initialization of the initial buffer used in map filling, which leads to leaking one-bits into future rounds of map search when the first field size is smaller than the maximum field size. This causes incorrect matching results in certain set operations. The vulnerability has been fixed by correcting the initialization logic and adding explicit zeroing of the remainder buffer. A test case has been added to the nft_concat_range.sh selftest script to prevent regressions.
References
- nvd.nist.gov/vuln/detail/CVE-2024-57947 (opens in a new tab)
- git.kernel.org/stable/c/69b6a67f7052905e928d75a0c5871de50e686986 (opens in a new tab)
- git.kernel.org/stable/c/77bf0c4ab928ca4c9a99311f4f70ba0c17fecba9 (opens in a new tab)
- git.kernel.org/stable/c/791a615b7ad2258c560f91852be54b0480837c93 (opens in a new tab)
- git.kernel.org/stable/c/8058c88ac0df21239daee54b5934d5c80ca9685f (opens in a new tab)
- git.kernel.org/stable/c/957a4d1c4c5849e4515c9fb4db21bf85318103dc (opens in a new tab)
- git.kernel.org/stable/c/9625c46ce6fd4f922595a4b32b1de5066d70464f (opens in a new tab)