Skip to main content
Network Thinking Solutions Logo

CVE-2024-57947

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.

All CVEs
CVE-2024-57947Published 1/23/2025

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.

Vendor advisory
CVSS9.8Critical

Overview

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.

Published
1/23/2025
Last modified
8/4/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.6, < 5.15.165

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.103

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.44

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.10.3

Verify advisory

Source
Linux
Linux
≥ 3c4287f62044a90e73a561aa05fc46e62da173da, < 77bf0c4ab928ca4c9a99311f4f70ba0c17fecba9

Verify advisory

Source
Linux
Linux
≥ 3c4287f62044a90e73a561aa05fc46e62da173da, < 957a4d1c4c5849e4515c9fb4db21bf85318103dc

Verify advisory

Source
Linux
Linux
≥ 3c4287f62044a90e73a561aa05fc46e62da173da, < 9625c46ce6fd4f922595a4b32b1de5066d70464f

Verify advisory

Source
Linux
Linux
≥ 3c4287f62044a90e73a561aa05fc46e62da173da, < 69b6a67f7052905e928d75a0c5871de50e686986

Verify advisory

Source
Linux
Linux
≥ 3c4287f62044a90e73a561aa05fc46e62da173da, < 8058c88ac0df21239daee54b5934d5c80ca9685f

Verify advisory

Source
Linux
Linux
≥ 3c4287f62044a90e73a561aa05fc46e62da173da, < 791a615b7ad2258c560f91852be54b0480837c93

Verify advisory

Source
Linux
Linux
5.6

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 9.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.