CVE-2025-38201 netfilter: nft_set_pipapo: clamp maximum map bucket size to INT_MAX
A missing integer clamp in the Linux kernel netfilter module allows triggering a warning and potential denial of service during hashtable resizing.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-38201?
CVE-2025-38201 is a high-severity vulnerability in Linux kernel, published on 4 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nft_set_pipapo: clamp maximum map bucket size to INT_MAX
Otherwise, it is possible to hit WARN_ON_ONCE in __kvmalloc_node_noprof() when resizing hashtable because __GFP_NOWARN is unset.
Similar to:
b541ba7d1f5a ("netfilter: conntrack: clamp maximum hashtable size to INT_MAX")
Which versions are affected by CVE-2025-38201?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-38201?
Apply the vendor's patch.
Is CVE-2025-38201 being exploited?
There is no known exploitation of CVE-2025-38201 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-64716, AZL-70418, BELL-CVE-2025-38201, DEBIAN-CVE-2025-38201, GHSA-hvc5-q4hr-frqx, ROOT-OS-DEBIAN-11-CVE-2025-38201 and 4 more.