Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-57947— netfilter: nf_set_pipapo: fix initial map fill

EPSS 0.02% · P4

Affected Version Matrix 14

VendorProductVersion RangeStatus
LinuxLinux3c4287f62044a90e73a561aa05fc46e62da173da< 77bf0c4ab928ca4c9a99311f4f70ba0c17fecba9affected
3c4287f62044a90e73a561aa05fc46e62da173da< 957a4d1c4c5849e4515c9fb4db21bf85318103dcaffected
3c4287f62044a90e73a561aa05fc46e62da173da< 9625c46ce6fd4f922595a4b32b1de5066d70464faffected
3c4287f62044a90e73a561aa05fc46e62da173da< 69b6a67f7052905e928d75a0c5871de50e686986affected
3c4287f62044a90e73a561aa05fc46e62da173da< 8058c88ac0df21239daee54b5934d5c80ca9685faffected
3c4287f62044a90e73a561aa05fc46e62da173da< 791a615b7ad2258c560f91852be54b0480837c93affected
5.6affected
< 5.6unaffected
… +6 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-57947

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
netfilter: nf_set_pipapo: fix initial map fill
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于netfilter的nf_set_pipapo功能中初始映射填充时处理不当,导致缓冲区初始化错误和后续匹配结果不正确。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux 3c4287f62044a90e73a561aa05fc46e62da173da ~ 77bf0c4ab928ca4c9a99311f4f70ba0c17fecba9 -
LinuxLinux 5.6 -

II. Public POCs for CVE-2024-57947

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-57947

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2024-57947

No comments yet


Leave a comment